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

« back to all changes in this revision

Viewing changes to Code/BasicFilters/json/YenThresholdImageFilter.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" : "YenThresholdImageFilter",
 
3
  "template_code_filename" : "ImageFilter",
 
4
  "template_test_filename" : "ImageFilter",
 
5
  "doc" : "Docs",
 
6
  "number_of_inputs" : 0,
 
7
  "pixel_types" : "BasicPixelIDTypeList",
 
8
  "output_image_type" : "itk::Image< uint8_t, TImageType::ImageDimension>",
 
9
  "filter_type" : "itk::YenThresholdImageFilter< TImageType, OutputImageType, OutputImageType >",
 
10
  "inputs" : [
 
11
    {
 
12
      "name" : "Image",
 
13
      "type" : "Image"
 
14
    },
 
15
    {
 
16
      "name" : "MaskImage",
 
17
      "type" : "Image",
 
18
      "optional" : true
 
19
    }
 
20
  ],
 
21
  "members" : [
 
22
    {
 
23
      "name" : "InsideValue",
 
24
      "type" : "uint8_t",
 
25
      "default" : "1u",
 
26
      "pixeltype" : "Output",
 
27
      "briefdescriptionSet" : "",
 
28
      "detaileddescriptionSet" : "Set the \"inside\" pixel value.\n",
 
29
      "briefdescriptionGet" : "",
 
30
      "detaileddescriptionGet" : "Get the \"inside\" pixel value.\n"
 
31
    },
 
32
    {
 
33
      "name" : "OutsideValue",
 
34
      "type" : "uint8_t",
 
35
      "default" : "0u",
 
36
      "pixeltype" : "Output",
 
37
      "briefdescriptionSet" : "",
 
38
      "detaileddescriptionSet" : "Set the \"outside\" pixel value. The default value NumericTraits<OutputPixelType>::Zero.\n",
 
39
      "briefdescriptionGet" : "",
 
40
      "detaileddescriptionGet" : "Get the \"outside\" pixel value.\n"
 
41
    },
 
42
    {
 
43
      "name" : "NumberOfHistogramBins",
 
44
      "type" : "uint32_t",
 
45
      "default" : "256u",
 
46
      "briefdescriptionSet" : "",
 
47
      "detaileddescriptionSet" : "Set/Get the number of histogram bins.\n",
 
48
      "briefdescriptionGet" : "",
 
49
      "detaileddescriptionGet" : ""
 
50
    },
 
51
    {
 
52
      "name" : "MaskOutput",
 
53
      "type" : "bool",
 
54
      "default" : "true",
 
55
      "briefdescriptionSet" : "",
 
56
      "detaileddescriptionSet" : "Do you want the output to be masked by the mask used in histogram construction. Only relevant if masking is in use.",
 
57
      "briefdescriptionGet" : "",
 
58
      "detaileddescriptionGet" : ""
 
59
    },
 
60
    {
 
61
      "name" : "MaskValue",
 
62
      "type" : "uint8_t",
 
63
      "default" : "255u",
 
64
      "pixeltype" : "Output",
 
65
      "briefdescriptionSet" : "",
 
66
      "detaileddescriptionSet" : "The value in the mask image, if used, indicating voxels that should be included. Default is the max of pixel type, as in the MaskedImageToHistogramFilter",
 
67
      "briefdescriptionGet" : "",
 
68
      "detaileddescriptionGet" : ""
 
69
    }
 
70
  ],
 
71
  "measurements" : [
 
72
    {
 
73
      "name" : "Threshold",
 
74
      "type" : "double",
 
75
      "default" : 0.0,
 
76
      "briefdescriptionGet" : "Get the computed threshold."
 
77
    }
 
78
  ],
 
79
  "tests" : [
 
80
    {
 
81
      "tag" : "default",
 
82
      "description" : "Default parameter settings",
 
83
      "settings" : [],
 
84
      "md5hash" : "b3a9d15b0065800592149925da59ea65",
 
85
      "inputs" : [
 
86
        "Input/RA-Short.nrrd"
 
87
      ],
 
88
      "measurements_results" : [
 
89
        {
 
90
          "name" : "Threshold",
 
91
          "value" : 18924.0
 
92
        }
 
93
      ]
 
94
    },
 
95
    {
 
96
      "tag" : "cthead1_with_mask",
 
97
      "description" : "CT Head with mask",
 
98
      "settings" : [],
 
99
      "md5hash" : "eb4a007a500ea77fa0ed73df24cad1e3",
 
100
      "inputs" : [
 
101
        "Input/cthead1.png",
 
102
        "Input/cthead1-mask.png"
 
103
      ],
 
104
      "measurements_results" : [
 
105
        {
 
106
          "name" : "Threshold",
 
107
          "value" : 118.0
 
108
        }
 
109
      ]
 
110
    },
 
111
    {
 
112
      "tag" : "default_on_float",
 
113
      "description" : "Default parameter settings",
 
114
      "settings" : [],
 
115
      "md5hash" : "d749a8ef5a2049837518618938945cce",
 
116
      "inputs" : [
 
117
        "Input/Ramp-Zero-One-Float.nrrd"
 
118
      ],
 
119
      "measurements_results" : [
 
120
        {
 
121
          "name" : "Threshold",
 
122
          "value" : 0.498051,
 
123
          "tolerance" : 1e-05
 
124
        }
 
125
      ]
 
126
    }
 
127
  ],
 
128
  "briefdescription" : "Threshold an image using the Yen Threshold.",
 
129
  "detaileddescription" : "This filter creates a binary thresholded image that separates an image into foreground and background components. The filter computes the threshold using the YenThresholdCalculator and applies that threshold to the input image using the BinaryThresholdImageFilter .\n\n\\author Richard Beare \n\nGaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France.\n\nThis implementation was taken from the Insight Journal paper: https://hdl.handle.net/10380/3279 or http://www.insight-journal.org/browse/publication/811 \n\n\\see HistogramThresholdImageFilter",
 
130
  "itk_module" : "ITKThresholding",
 
131
  "itk_group" : "Thresholding"
 
132
}
 
 
b'\\ No newline at end of file'