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

« back to all changes in this revision

Viewing changes to Code/BasicFilters/json/DilateObjectMorphologyImageFilter.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" : "DilateObjectMorphologyImageFilter",
 
3
  "template_code_filename" : "KernelImageFilter",
 
4
  "template_test_filename" : "ImageFilter",
 
5
  "number_of_inputs" : 1,
 
6
  "doc" : "Performs Erosion of an object.\n\\todo This filter is redundent with binary erode and fg/bg options",
 
7
  "pixel_types" : "BasicPixelIDTypeList",
 
8
  "members" : [
 
9
    {
 
10
      "name" : "ObjectValue",
 
11
      "type" : "double",
 
12
      "default" : 1,
 
13
      "doc" : "Value to assign to object pixels",
 
14
      "custom_itk_cast" : "filter->SetObjectValue(static_cast<typename FilterType::PixelType>(this->GetObjectValue()) );"
 
15
    }
 
16
  ],
 
17
  "tests" : [
 
18
    {
 
19
      "tag" : "float",
 
20
      "description" : "Dilate a float image",
 
21
      "tolerance" : 0.01,
 
22
      "settings" : [
 
23
        {
 
24
          "parameter" : "KernelRadius",
 
25
          "no_get_method" : 1,
 
26
          "value" : 1
 
27
        },
 
28
        {
 
29
          "parameter" : "KernelType",
 
30
          "value" : "itk::simple::sitkBall",
 
31
          "lua_value" : "SimpleITK.sitkBall",
 
32
          "python_value" : "SimpleITK.sitkBall",
 
33
          "ruby_value" : "Simpleitk::SitkBall",
 
34
          "java_value" : "KernelEnum.sitkBall",
 
35
          "tcl_value" : "$$sitkBall",
 
36
          "csharp_value" : "KernelEnum.sitkBall",
 
37
          "R_value" : "'sitkBall'"
 
38
        }
 
39
      ],
 
40
      "inputs" : [
 
41
        "Input/RA-Slice-Float.nrrd"
 
42
      ]
 
43
    },
 
44
    {
 
45
      "tag" : "short",
 
46
      "description" : "Dilate a short image",
 
47
      "tolerance" : 0.01,
 
48
      "settings" : [
 
49
        {
 
50
          "parameter" : "KernelRadius",
 
51
          "no_get_method" : 1,
 
52
          "value" : 1
 
53
        },
 
54
        {
 
55
          "parameter" : "KernelType",
 
56
          "value" : "itk::simple::sitkBall",
 
57
          "lua_value" : "SimpleITK.sitkBall",
 
58
          "python_value" : "SimpleITK.sitkBall",
 
59
          "ruby_value" : "Simpleitk::SitkBall",
 
60
          "java_value" : "KernelEnum.sitkBall",
 
61
          "tcl_value" : "$$sitkBall",
 
62
          "csharp_value" : "KernelEnum.sitkBall",
 
63
          "R_value" : "'sitkBall'"
 
64
        }
 
65
      ],
 
66
      "inputs" : [
 
67
        "Input/RA-Slice-Short.nrrd"
 
68
      ]
 
69
    }
 
70
  ],
 
71
  "briefdescription" : "dilation of an object in an image",
 
72
  "detaileddescription" : "Dilate an image using binary morphology. Pixel values matching the object value are considered the \"foreground\" and all other pixels are \"background\". This is useful in processing mask images containing only one object.\n\nIf a pixel's value is equal to the object value and the pixel is adjacent to a non-object valued pixel, then the kernel is centered on the object-value pixel and neighboring pixels covered by the kernel are assigned the object value. The structuring element is assumed to be composed of binary values (zero or one).\n\n\\see ObjectMorphologyImageFilter , ErodeObjectMorphologyImageFilter \n\n\\see BinaryDilateImageFilter",
 
73
  "itk_module" : "ITKBinaryMathematicalMorphology",
 
74
  "itk_group" : "BinaryMathematicalMorphology"
 
75
}
 
 
b'\\ No newline at end of file'