{
  "name" : "GrayscaleFillholeImageFilter",
  "template_code_filename" : "ImageFilter",
  "template_test_filename" : "ImageFilter",
  "number_of_inputs" : 1,
  "doc" : "",
  "pixel_types" : "BasicPixelIDTypeList",
  "filter_type" : "itk::GrayscaleFillholeImageFilter<InputImageType, OutputImageType>",
  "members" : [
    {
      "name" : "FullyConnected",
      "type" : "bool",
      "default" : "false",
      "doc" : "",
      "briefdescriptionSet" : "",
      "detaileddescriptionSet" : "Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.",
      "briefdescriptionGet" : "",
      "detaileddescriptionGet" : "Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn."
    }
  ],
  "custom_methods" : [],
  "tests" : [
    {
      "tag" : "GrayscaleFillhole1",
      "description" : "Test grayscale fillhole",
      "md5hash" : "e2c49e979bd4c64f0efff67b196b1950",
      "settings" : [],
      "inputs" : [
        "Input/RA-Short.nrrd"
      ]
    },
    {
      "tag" : "GrayscaleFillhole2",
      "description" : "Test grayscale fillhole 2D",
      "md5hash" : "e3cd61348a7824d191e83632bf92baae",
      "settings" : [],
      "inputs" : [
        "Input/RA-Slice-Short.png"
      ]
    }
  ],
  "briefdescription" : "Remove local minima not connected to the boundary of the image.",
  "detaileddescription" : "GrayscaleFillholeImageFilter fills holes in a grayscale image. Holes are local minima in the grayscale topography that are not connected to boundaries of the image. Gray level values adjacent to a hole are extrapolated across the hole.\n\nThis filter is used to smooth over local minima without affecting the values of local maxima. If you take the difference between the output of this filter and the original image (and perhaps threshold the difference above a small value), you'll obtain a map of the local minima.\n\nThis filter uses the ReconstructionByErosionImageFilter . It provides its own input as the \"mask\" input to the geodesic erosion. The \"marker\" image for the geodesic erosion is constructed such that boundary pixels match the boundary pixels of the input image and the interior pixels are set to the maximum pixel value in the input image.\n\nGeodesic morphology and the Fillhole algorithm is described in Chapter 6 of Pierre Soille's book \"Morphological Image Analysis:\nPrinciples and Applications\", Second Edition, Springer, 2003.\n\n\\see ReconstructionByErosionImageFilter \n\n\n\\see MorphologyImageFilter , GrayscaleErodeImageFilter , GrayscaleFunctionErodeImageFilter , BinaryErodeImageFilter",
  "itk_module" : "ITKMathematicalMorphology",
  "itk_group" : "MathematicalMorphology"
}
