{
  "name" : "SimpleContourExtractorImageFilter",
  "template_code_filename" : "ImageFilter",
  "template_test_filename" : "ImageFilter",
  "number_of_inputs" : 1,
  "doc" : "",
  "pixel_types" : "BasicPixelIDTypeList",
  "output_pixel_type" : "uint8_t",
  "members" : [
    {
      "name" : "InputForegroundValue",
      "type" : "double",
      "default" : "1.0",
      "pixeltype" : "Input",
      "briefdescriptionSet" : "",
      "detaileddescriptionSet" : "Set the foreground value used in order to identify a foreground pixel in the input image.",
      "briefdescriptionGet" : "",
      "detaileddescriptionGet" : "Get the foreground value used in order to identify a foreground pixel in the input image."
    },
    {
      "name" : "InputBackgroundValue",
      "type" : "double",
      "default" : "0.0",
      "pixeltype" : "Input",
      "briefdescriptionSet" : "",
      "detaileddescriptionSet" : "Set the background value used in order to identify a background pixel in the input image.",
      "briefdescriptionGet" : "",
      "detaileddescriptionGet" : "Get the background value used in order to identify a background pixel in the input image."
    },
    {
      "name" : "Radius",
      "type" : "unsigned int",
      "default" : "std::vector<unsigned int>(3, 1)",
      "dim_vec" : 1,
      "set_as_scalar" : 1,
      "doc" : "",
      "itk_type" : "typename FilterType::RadiusType"
    },
    {
      "name" : "OutputForegroundValue",
      "type" : "double",
      "default" : "1.0",
      "pixeltype" : "Output",
      "briefdescriptionSet" : "",
      "detaileddescriptionSet" : "Set the foreground value used in order to identify a foreground pixel in the output image.",
      "briefdescriptionGet" : "",
      "detaileddescriptionGet" : "Get the foreground value used in order to identify a foreground pixel in the output image."
    },
    {
      "name" : "OutputBackgroundValue",
      "type" : "double",
      "default" : "0.0",
      "pixeltype" : "Output",
      "briefdescriptionSet" : "",
      "detaileddescriptionSet" : "Set the background value used in order to identify a background pixel in the output image.",
      "briefdescriptionGet" : "",
      "detaileddescriptionGet" : "Get the background value used in order to identify a background pixel in the output image."
    }
  ],
  "tests" : [
    {
      "tag" : "default",
      "description" : "Simply run with default settings",
      "md5hash" : "adea3837e7c950b32855e99769d4d04a",
      "settings" : [
        {
          "parameter" : "InputForegroundValue",
          "value" : "255.0"
        }
      ],
      "inputs" : [
        "Input/WhiteDots.png"
      ]
    },
    {
      "tag" : "custom",
      "description" : "Run binary mask on a single label",
      "md5hash" : "0694f4cc0e85cba1f0b954f521caae2e",
      "settings" : [
        {
          "parameter" : "InputForegroundValue",
          "value" : "100"
        }
      ],
      "inputs" : [
        "Input/2th_cthead1.png"
      ]
    }
  ],
  "briefdescription" : "Computes an image of contours which will be the contour of the first image.",
  "detaileddescription" : "A pixel of the source image is considered to belong to the contour if its pixel value is equal to the input foreground value and it has in its neighborhood at least one pixel which its pixel value is equal to the input background value. The output image will have pixels which will be set to the output foreground value if they belong to the contour, otherwise they will be set to the output background value.\n\nThe neighborhood \"radius\" is set thanks to the radius params. \\see Image \n\n\n\\see Neighborhood \n\n\n\\see NeighborhoodOperator \n\n\n\\see NeighborhoodIterator",
  "itk_module" : "ITKImageFeature",
  "itk_group" : "ImageFeature",
  "in_place" : false
}
