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

« back to all changes in this revision

Viewing changes to Code/BasicFilters/json/BinaryMedianImageFilter.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" : "BinaryMedianImageFilter",
 
3
  "template_code_filename" : "ImageFilter",
 
4
  "template_test_filename" : "ImageFilter",
 
5
  "number_of_inputs" : 1,
 
6
  "doc" : "",
 
7
  "pixel_types" : "IntegerPixelIDTypeList",
 
8
  "members" : [
 
9
    {
 
10
      "name" : "Radius",
 
11
      "type" : "unsigned int",
 
12
      "default" : "std::vector<unsigned int>(3, 1)",
 
13
      "dim_vec" : 1,
 
14
      "set_as_scalar" : 1,
 
15
      "doc" : "",
 
16
      "itk_type" : "typename FilterType::InputSizeType",
 
17
      "briefdescriptionSet" : "",
 
18
      "detaileddescriptionSet" : "Set the radius of the neighborhood used to compute the median.",
 
19
      "briefdescriptionGet" : "",
 
20
      "detaileddescriptionGet" : "Get the radius of the neighborhood used to compute the median"
 
21
    },
 
22
    {
 
23
      "name" : "ForegroundValue",
 
24
      "type" : "double",
 
25
      "default" : "1.0",
 
26
      "pixeltype" : "Input",
 
27
      "briefdescriptionSet" : "",
 
28
      "detaileddescriptionSet" : "Set the value associated with the Foreground (or the object) on the binary input image and the Background .",
 
29
      "briefdescriptionGet" : "",
 
30
      "detaileddescriptionGet" : "Get the value associated with the Foreground (or the object) on the binary input image and the Background ."
 
31
    },
 
32
    {
 
33
      "name" : "BackgroundValue",
 
34
      "type" : "double",
 
35
      "default" : "0.0",
 
36
      "pixeltype" : "Input",
 
37
      "briefdescriptionSet" : "",
 
38
      "detaileddescriptionSet" : "Set the value associated with the Foreground (or the object) on the binary input image and the Background .",
 
39
      "briefdescriptionGet" : "",
 
40
      "detaileddescriptionGet" : "Get the value associated with the Foreground (or the object) on the binary input image and the Background ."
 
41
    }
 
42
  ],
 
43
  "tests" : [
 
44
    {
 
45
      "tag" : "defaults",
 
46
      "description" : "Basic voting",
 
47
      "settings" : [
 
48
        {
 
49
          "parameter" : "Radius",
 
50
          "no_get_method" : 1,
 
51
          "value" : 3
 
52
        },
 
53
        {
 
54
          "parameter" : "ForegroundValue",
 
55
          "value" : "255.0"
 
56
        }
 
57
      ],
 
58
      "md5hash" : "55dd7a167222849c7afb0c5c4f6e096b",
 
59
      "inputs" : [
 
60
        "Input/BlackDots.png"
 
61
      ]
 
62
    }
 
63
  ],
 
64
  "briefdescription" : "Applies a version of the median filter optimized for binary images.",
 
65
  "detaileddescription" : "This filter was contributed by Bjorn Hanch Sollie after identifying that the generic Median filter performed unnecessary operations when the input image is binary.\n\nThis filter computes an image where a given pixel is the median value of the pixels in a neighborhood about the corresponding input pixel. For the case of binary images the median can be obtained by simply counting the neighbors that are foreground.\n\nA median filter is one of the family of nonlinear filters. It is used to smooth an image without being biased by outliers or shot noise.\n\n\\see Image \n\n\\see Neighborhood \n\n\\see NeighborhoodOperator \n\n\\see NeighborhoodIterator",
 
66
  "itk_module" : "ITKLabelVoting",
 
67
  "itk_group" : "LabelVoting"
 
68
}
 
 
b'\\ No newline at end of file'