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

« back to all changes in this revision

Viewing changes to Code/BasicFilters/json/BinaryDilateImageFilter.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" : "BinaryDilateImageFilter",
 
3
  "template_code_filename" : "KernelImageFilter",
 
4
  "template_test_filename" : "ImageFilter",
 
5
  "number_of_inputs" : 1,
 
6
  "doc" : "Performs Dilation 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" : "false",
 
27
      "doc" : ""
 
28
    }
 
29
  ],
 
30
  "custom_methods" : [],
 
31
  "tests" : [
 
32
    {
 
33
      "tag" : "BinaryDilate",
 
34
      "description" : "Test binary dilation",
 
35
      "settings" : [
 
36
        {
 
37
          "parameter" : "KernelRadius",
 
38
          "no_get_method" : 1,
 
39
          "value" : 1
 
40
        },
 
41
        {
 
42
          "parameter" : "KernelType",
 
43
          "value" : "itk::simple::sitkBall",
 
44
          "lua_value" : "SimpleITK.sitkBall",
 
45
          "python_value" : "SimpleITK.sitkBall",
 
46
          "ruby_value" : "Simpleitk::SitkBall",
 
47
          "java_value" : "KernelEnum.sitkBall",
 
48
          "tcl_value" : "$$sitkBall",
 
49
          "csharp_value" : "KernelEnum.sitkBall",
 
50
          "R_value" : "'sitkBall'"
 
51
        },
 
52
        {
 
53
          "parameter" : "ForegroundValue",
 
54
          "value" : "255.0"
 
55
        }
 
56
      ],
 
57
      "md5hash" : "9eef659f21dab5eb49e0f715a5d9a21b",
 
58
      "inputs" : [
 
59
        "Input/STAPLE1.png"
 
60
      ]
 
61
    },
 
62
    {
 
63
      "tag" : "BinaryDilateVectorRadius",
 
64
      "description" : "Test binary dilation with vector radius",
 
65
      "settings" : [
 
66
        {
 
67
          "parameter" : "KernelRadius",
 
68
          "type" : "uint32_t",
 
69
          "dim_vec" : 1,
 
70
          "value" : [
 
71
            20,
 
72
            1
 
73
          ]
 
74
        },
 
75
        {
 
76
          "parameter" : "KernelType",
 
77
          "value" : "itk::simple::sitkBox",
 
78
          "lua_value" : "SimpleITK.sitkBox",
 
79
          "python_value" : "SimpleITK.sitkBox",
 
80
          "ruby_value" : "Simpleitk::SitkBox",
 
81
          "java_value" : "KernelEnum.sitkBox",
 
82
          "tcl_value" : "$$sitkBox",
 
83
          "csharp_value" : "KernelEnum.sitkBox",
 
84
          "R_value" : "'sitkBox'"
 
85
        },
 
86
        {
 
87
          "parameter" : "ForegroundValue",
 
88
          "value" : "255"
 
89
        }
 
90
      ],
 
91
      "md5hash" : "99108c735fe9727bca09ca28a42827d3",
 
92
      "inputs" : [
 
93
        "Input/STAPLE1.png"
 
94
      ]
 
95
    }
 
96
  ],
 
97
  "briefdescription" : "Fast binary dilation.",
 
98
  "detaileddescription" : "BinaryDilateImageFilter is a binary dilation 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 \"DilateValue\". Pixel values matching the dilate 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. DilateValue defaults to the maximum possible value of the PixelType.\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 BinaryErodeImageFilter BinaryMorphologyImageFilter \n\n\\par Wiki Examples:\n\n\\li All Examples \n\n\\li Dilate a binary image",
 
99
  "itk_module" : "ITKBinaryMathematicalMorphology",
 
100
  "itk_group" : "BinaryMathematicalMorphology"
 
101
}
 
 
b'\\ No newline at end of file'