2
"name" : "LabelShapeStatisticsImageFilter",
3
"itk_name" : "LabelImageToShapeLabelMapFilter",
4
"template_code_filename" : "ImageFilter",
5
"template_test_filename" : "ImageFilter",
6
"number_of_inputs" : 1,
8
"pixel_types" : "IntegerPixelIDTypeList",
9
"filter_type" : "itk::LabelImageToShapeLabelMapFilter<InputImageType, itk::LabelMap< itk::ShapeLabelObject< int64_t, InputImageType::ImageDimension > > >",
10
"no_procedure" : true,
11
"no_return_image" : true,
13
"itkShapeLabelObject.h"
17
"name" : "BackgroundValue",
21
"pixeltype" : "Output",
22
"briefdescriptionSet" : "",
23
"detaileddescriptionSet" : "Set/Get the value used as \"background\" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin() .",
24
"briefdescriptionGet" : "",
25
"detaileddescriptionGet" : "Set/Get the value used as \"background\" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin() ."
28
"name" : "ComputeFeretDiameter",
31
"briefdescriptionSet" : "",
32
"detaileddescriptionSet" : "Set/Get whether the maximum Feret diameter should be computed or not. Default value is false, because of the high computation time required.",
33
"briefdescriptionGet" : "",
34
"detaileddescriptionGet" : "Set/Get whether the maximum Feret diameter should be computed or not. Default value is false, because of the high computation time required."
37
"name" : "ComputePerimeter",
40
"briefdescriptionSet" : "",
41
"detaileddescriptionSet" : "Set/Get whether the perimeter should be computed or not. Default value is false, because of the high computation time required.",
42
"briefdescriptionGet" : "",
43
"detaileddescriptionGet" : "Set/Get whether the perimeter should be computed or not. Default value is false, because of the high computation time required."
49
"doc" : "Does the specified label exist? Can only be called after a call a call to Update().",
50
"return_type" : "double",
57
"body" : "return std::find(m_Labels.begin(),m_Labels.end(), label) != m_Labels.end();"
60
"name" : "GetNumberOfLabels",
61
"doc" : "Return the number of labels after execution.",
62
"return_type" : "uint64_t",
63
"body" : "return m_Labels.size();"
68
"name" : "BoundingBox",
69
"type" : "std::vector<unsigned int>",
78
"custom_cast" : "sitkITKImageRegionToSTL(value)",
83
"type" : "std::vector<double>",
92
"custom_cast" : "sitkITKVectorToSTL<double>(value)",
96
"name" : "Elongation",
109
"name" : "EquivalentEllipsoidDiameter",
110
"type" : "std::vector<double>",
119
"custom_cast" : "sitkITKVectorToSTL<double>(value)",
123
"name" : "EquivalentSphericalPerimeter",
136
"name" : "EquivalentSphericalRadius",
149
"name" : "FeretDiameter",
176
"type" : "std::vector<int64_t>",
177
"custom_itk_cast" : "const std::vector<typename FilterType::OutputImageType::LabelType> tempLabels = filter->GetOutput()->GetLabels();\n this->m_Labels = std::vector<int64_t>(tempLabels.begin(), tempLabels.end());",
178
"default" : "std::vector<int64_t>()"
181
"name" : "NumberOfPixels",
194
"name" : "NumberOfPixelsOnBorder",
207
"name" : "Perimeter",
220
"name" : "PerimeterOnBorder",
233
"name" : "PerimeterOnBorderRatio",
246
"name" : "PhysicalSize",
259
"name" : "PrincipalAxes",
260
"type" : "std::vector<double>",
269
"custom_cast" : "std::vector<double>(value[0], value[T::RowDimensions-1]+T::ColumnDimensions)",
273
"name" : "PrincipalMoments",
274
"type" : "std::vector<double>",
283
"custom_cast" : "sitkITKVectorToSTL<double>(value)",
287
"name" : "Roundness",
302
"tag" : "SimpleLabelB",
303
"description" : "with defaults ",
305
"measurements_results" : [
307
"name" : "Elongation",
308
"value" : 1.8257418583505538,
315
"name" : "EquivalentSphericalPerimeter",
316
"value" : 81.37860476665404,
323
"name" : "EquivalentSphericalRadius",
324
"value" : 12.951807210534664,
331
"name" : "FeretDiameter",
339
"value" : 1.8257418583505538,
346
"name" : "NumberOfLabels",
350
"name" : "NumberOfPixels",
357
"name" : "NumberOfPixelsOnBorder",
364
"name" : "Perimeter",
365
"value" : 89.90298636643831,
372
"name" : "PerimeterOnBorder",
379
"name" : "PerimeterOnBorderRatio",
386
"name" : "PhysicalSize",
393
"name" : "Roundness",
394
"value" : 0.905182442271278,
402
"Input/simple-label-b.png"
406
"briefdescription" : "Converts a label image to a label map and valuates the shape attributes.",
407
"detaileddescription" : "A convenient class that converts a label image to a label map and valuates the shape attribute at once.\n\nThis implementation was taken from the Insight Journal paper:\n\nhttps://hdl.handle.net/1926/584 or http://www.insight-journal.org/browse/publication/176 \n\n\\author Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France.\n\n\\see ShapeLabelObject , LabelShapeOpeningImageFilter , LabelStatisticsOpeningImageFilter \n\n\\par Wiki Examples:\n\n\\li All Examples \n\n\\li Convert an itk::Image consisting of labeled regions to a ShapeLabelMap",
408
"itk_module" : "ITKLabelMap",
409
"itk_group" : "LabelMap"
b'\\ No newline at end of file'