~ubuntu-branches/debian/sid/simpleitk/sid

« back to all changes in this revision

Viewing changes to Code/BasicFilters/json/BinaryErodeImageFilter.json

  • Committer: Package Import Robot
  • Author(s): Ghislain Antony Vaillant
  • Date: 2017-11-02 08:49:18 UTC
  • Revision ID: package-import@ubuntu.com-20171102084918-7hs09ih668xq87ej
Tags: upstream-1.0.1
ImportĀ upstreamĀ versionĀ 1.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{
 
2
  "name" : "BinaryErodeImageFilter",
 
3
  "template_code_filename" : "KernelImageFilter",
 
4
  "template_test_filename" : "ImageFilter",
 
5
  "number_of_inputs" : 1,
 
6
  "doc" : "Performs Erosion in a binary image.",
 
7
  "pixel_types" : "IntegerPixelIDTypeList",
 
8
  "members" : [
 
9
    {
 
10
      "name" : "BackgroundValue",
 
11
      "type" : "double",
 
12
      "default" : "0.0",
 
13
      "pixeltype" : "Input",
 
14
      "doc" : ""
 
15
    },
 
16
    {
 
17
      "name" : "ForegroundValue",
 
18
      "type" : "double",
 
19
      "default" : "1.0",
 
20
      "pixeltype" : "Input",
 
21
      "doc" : ""
 
22
    },
 
23
    {
 
24
      "name" : "BoundaryToForeground",
 
25
      "type" : "bool",
 
26
      "default" : "true",
 
27
      "doc" : ""
 
28
    }
 
29
  ],
 
30
  "custom_methods" : [],
 
31
  "tests" : [
 
32
    {
 
33
      "tag" : "BinaryErode",
 
34
      "description" : "Test binary erosion",
 
35
      "md5hash" : "9e37516c795d7f25847851666ef53ef9",
 
36
      "settings" : [
 
37
        {
 
38
          "parameter" : "KernelRadius",
 
39
          "no_get_method" : 1,
 
40
          "value" : 1
 
41
        },
 
42
        {
 
43
          "parameter" : "KernelType",
 
44
          "value" : "itk::simple::sitkBall",
 
45
          "lua_value" : "SimpleITK.sitkBall",
 
46
          "python_value" : "SimpleITK.sitkBall",
 
47
          "ruby_value" : "Simpleitk::SitkBall",
 
48
          "java_value" : "KernelEnum.sitkBall",
 
49
          "tcl_value" : "$$sitkBall",
 
50
          "csharp_value" : "KernelEnum.sitkBall",
 
51
          "R_value" : "'sitkBall'"
 
52
        },
 
53
        {
 
54
          "parameter" : "ForegroundValue",
 
55
          "value" : "255"
 
56
        }
 
57
      ],
 
58
      "inputs" : [
 
59
        "Input/STAPLE1.png"
 
60
      ]
 
61
    }
 
62
  ],
 
63
  "briefdescription" : "Fast binary erosion.",
 
64
  "detaileddescription" : "BinaryErodeImageFilter is a binary erosion morphologic operation. This implementation is based on the papers:\n\nL.Vincent \"Morphological transformations of binary images with\narbitrary structuring elements\", and\n\nN.Nikopoulos et al. \"An efficient algorithm for 3d binary morphological transformations with 3d structuring elements for arbitrary size and shape\". IEEE Transactions on Image Processing. Vol. 9. No. 3. 2000. pp. 283-286.\n\nGray scale images can be processed as binary images by selecting a \"ErodeValue\". Pixel values matching the erode value are considered the \"foreground\" and all other pixels are \"background\". This is useful in processing segmented images where all pixels in segment #1 have value 1 and pixels in segment #2 have value 2, etc. A particular \"segment number\" can be processed. ErodeValue defaults to the maximum possible value of the PixelType. The eroded pixels will receive the BackgroundValue (defaults to 0).\n\nThe structuring element is assumed to be composed of binary values (zero or one). Only elements of the structuring element having values > 0 are candidates for affecting the center pixel. A reasonable choice of structuring element is itk::BinaryBallStructuringElement .\n\n\\see ImageToImageFilter BinaryDilateImageFilter BinaryMorphologyImageFilter \n\n\\par Wiki Examples:\n\n\\li All Examples \n\n\\li Erode a binary image",
 
65
  "itk_module" : "ITKBinaryMathematicalMorphology",
 
66
  "itk_group" : "BinaryMathematicalMorphology"
 
67
}
 
 
b'\\ No newline at end of file'