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

« back to all changes in this revision

Viewing changes to Code/BasicFilters/json/CropImageFilter.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" : "CropImageFilter",
 
3
  "template_code_filename" : "ImageFilter",
 
4
  "template_test_filename" : "ImageFilter",
 
5
  "number_of_inputs" : 1,
 
6
  "doc" : "",
 
7
  "pixel_types" : "NonLabelPixelIDTypeList",
 
8
  "members" : [
 
9
    {
 
10
      "name" : "LowerBoundaryCropSize",
 
11
      "type" : "unsigned int",
 
12
      "default" : "std::vector<unsigned int>(3, 0)",
 
13
      "doc" : "\todo what does this itk_type attribute do?",
 
14
      "dim_vec" : 1,
 
15
      "itk_type" : "typename InputImageType::SizeType",
 
16
      "briefdescriptionSet" : "",
 
17
      "detaileddescriptionSet" : "Set/Get the cropping sizes for the upper and lower boundaries.",
 
18
      "briefdescriptionGet" : "",
 
19
      "detaileddescriptionGet" : "Set/Get the cropping sizes for the upper and lower boundaries."
 
20
    },
 
21
    {
 
22
      "name" : "UpperBoundaryCropSize",
 
23
      "type" : "unsigned int",
 
24
      "default" : "std::vector<unsigned int>(3, 0)",
 
25
      "doc" : "\todo what does this itk_type attribute do?",
 
26
      "dim_vec" : 1,
 
27
      "itk_type" : "typename InputImageType::SizeType",
 
28
      "briefdescriptionSet" : "",
 
29
      "detaileddescriptionSet" : "Set/Get the cropping sizes for the upper and lower boundaries.",
 
30
      "briefdescriptionGet" : "",
 
31
      "detaileddescriptionGet" : "Set/Get the cropping sizes for the upper and lower boundaries."
 
32
    }
 
33
  ],
 
34
  "tests" : [
 
35
    {
 
36
      "tag" : "defaults",
 
37
      "description" : "use the defaults which sets a 0 size image",
 
38
      "md5hash" : "3ccccde44efaa3d688a86e94335c1f16",
 
39
      "settings" : [],
 
40
      "inputs" : [
 
41
        "Input/RA-Float.nrrd"
 
42
      ]
 
43
    },
 
44
    {
 
45
      "tag" : "more",
 
46
      "description" : "croping",
 
47
      "md5hash" : "75a7d1202971ddd01497a4d7b61e655e",
 
48
      "settings" : [
 
49
        {
 
50
          "parameter" : "LowerBoundaryCropSize",
 
51
          "type" : "unsigned int",
 
52
          "dim_vec" : 1,
 
53
          "value" : [
 
54
            100,
 
55
            100
 
56
          ]
 
57
        },
 
58
        {
 
59
          "parameter" : "UpperBoundaryCropSize",
 
60
          "type" : "unsigned int",
 
61
          "dim_vec" : 1,
 
62
          "value" : [
 
63
            167,
 
64
            151
 
65
          ]
 
66
        }
 
67
      ],
 
68
      "inputs" : [
 
69
        "Input/VM1111Shrink-RGB.png"
 
70
      ]
 
71
    }
 
72
  ],
 
73
  "briefdescription" : "Decrease the image size by cropping the image by an itk::Size at both the upper and lower bounds of the largest possible region.",
 
74
  "detaileddescription" : "CropImageFilter changes the image boundary of an image by removing pixels outside the target region. The target region is not specified in advance, but calculated in BeforeThreadedGenerateData() .\n\nThis filter uses ExtractImageFilter to perform the cropping.\n\n\\par Wiki Examples:\n\n\\li All Examples \n\n\\li Crop an image by specifying the region to throw away",
 
75
  "itk_module" : "ITKImageGrid",
 
76
  "itk_group" : "ImageGrid"
 
77
}
 
 
b'\\ No newline at end of file'