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

« back to all changes in this revision

Viewing changes to Code/BasicFilters/json/SignedMaurerDistanceMapImageFilter.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" : "SignedMaurerDistanceMapImageFilter",
 
3
  "template_code_filename" : "ImageFilter",
 
4
  "template_test_filename" : "ImageFilter",
 
5
  "doc" : "Docs",
 
6
  "number_of_inputs" : 1,
 
7
  "pixel_types" : "IntegerPixelIDTypeList",
 
8
  "output_pixel_type" : "float",
 
9
  "members" : [
 
10
    {
 
11
      "name" : "InsideIsPositive",
 
12
      "type" : "bool",
 
13
      "default" : "false",
 
14
      "briefdescriptionSet" : "",
 
15
      "detaileddescriptionSet" : "Set if the inside represents positive values in the signed distance map. By convention ON pixels are treated as inside pixels.",
 
16
      "briefdescriptionGet" : "",
 
17
      "detaileddescriptionGet" : "Get if the inside represents positive values in the signed distance map. \\see GetInsideIsPositive()"
 
18
    },
 
19
    {
 
20
      "name" : "SquaredDistance",
 
21
      "type" : "bool",
 
22
      "default" : "true",
 
23
      "briefdescriptionSet" : "",
 
24
      "detaileddescriptionSet" : "Set if the distance should be squared.",
 
25
      "briefdescriptionGet" : "",
 
26
      "detaileddescriptionGet" : "Get the distance squared."
 
27
    },
 
28
    {
 
29
      "name" : "UseImageSpacing",
 
30
      "type" : "bool",
 
31
      "default" : "false",
 
32
      "briefdescriptionSet" : "",
 
33
      "detaileddescriptionSet" : "Set if image spacing should be used in computing distances.",
 
34
      "briefdescriptionGet" : "",
 
35
      "detaileddescriptionGet" : "Get whether spacing is used."
 
36
    }
 
37
  ],
 
38
  "tests" : [
 
39
    {
 
40
      "tag" : "default",
 
41
      "description" : "Default parameter settings",
 
42
      "tolerance" : "0.01",
 
43
      "settings" : [],
 
44
      "inputs" : [
 
45
        "Input/2th_cthead1.png"
 
46
      ]
 
47
    }
 
48
  ],
 
49
  "briefdescription" : "This filter calculates the Euclidean distance transform of a binary image in linear time for arbitrary dimensions.",
 
50
  "detaileddescription" : "\\par Inputs and Outputs\nThis is an image-to-image filter. The dimensionality is arbitrary. The only dimensionality constraint is that the input and output images be of the same dimensions and size. To maintain integer arithmetic within the filter, the default output is the signed squared distance. This implies that the input image should be of type \"unsigned int\" or \"int\" whereas the output image is of type \"int\". Obviously, if the user wishes to utilize the image spacing or to have a filter with the Euclidean distance (as opposed to the squared distance), output image types of float or double should be used.\n\nThe inside is considered as having negative distances. Outside is treated as having positive distances. To change the convention, use the InsideIsPositive(bool) function.\n\n\\par Parameters\nSet/GetBackgroundValue specifies the background of the value of the input binary image. Normally this is zero and, as such, zero is the default value. Other than that, the usage is completely analogous to the itk::DanielssonDistanceImageFilter class except it does not return the Voronoi map.\n\nReference: C. R. Maurer, Jr., R. Qi, and V. Raghavan, \"A Linear Time Algorithm for Computing Exact Euclidean Distance Transforms of Binary Images in Arbitrary Dimensions\", IEEE - Transactions on Pattern Analysis and Machine Intelligence, 25(2): 265-270, 2003.",
 
51
  "itk_module" : "ITKDistanceMap",
 
52
  "itk_group" : "DistanceMap"
 
53
}
 
 
b'\\ No newline at end of file'