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

« back to all changes in this revision

Viewing changes to Code/BasicFilters/json/MirrorPadImageFilter.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" : "MirrorPadImageFilter",
 
3
  "template_code_filename" : "ImageFilter",
 
4
  "template_test_filename" : "ImageFilter",
 
5
  "number_of_inputs" : 1,
 
6
  "doc" : "\todo add SetBound member function to set both properties",
 
7
  "pixel_types" : "NonLabelPixelIDTypeList",
 
8
  "members" : [
 
9
    {
 
10
      "name" : "PadLowerBound",
 
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
    },
 
17
    {
 
18
      "name" : "PadUpperBound",
 
19
      "type" : "unsigned int",
 
20
      "default" : "std::vector<unsigned int>(3, 0)",
 
21
      "doc" : "\todo what does this itk_type attribute do?",
 
22
      "dim_vec" : 1,
 
23
      "itk_type" : "typename InputImageType::SizeType"
 
24
    }
 
25
  ],
 
26
  "tests" : [
 
27
    {
 
28
      "tag" : "defaults",
 
29
      "description" : "Test MirrorPad with default parameters",
 
30
      "md5hash" : "a9a0207c759cb8d9e0507414992905d6",
 
31
      "settings" : [],
 
32
      "inputs" : [
 
33
        "Input/RA-Slice-Short.png"
 
34
      ]
 
35
    },
 
36
    {
 
37
      "tag" : "more",
 
38
      "description" : "Test MirrorPad reasonable padding",
 
39
      "md5hash" : "e08b5df5d43b6f3704ab48e8291928cd",
 
40
      "settings" : [
 
41
        {
 
42
          "parameter" : "PadLowerBound",
 
43
          "type" : "unsigned int",
 
44
          "dim_vec" : 1,
 
45
          "value" : [
 
46
            5,
 
47
            10,
 
48
            15
 
49
          ]
 
50
        },
 
51
        {
 
52
          "parameter" : "PadUpperBound",
 
53
          "type" : "unsigned int",
 
54
          "dim_vec" : 1,
 
55
          "value" : [
 
56
            3,
 
57
            6,
 
58
            9
 
59
          ]
 
60
        }
 
61
      ],
 
62
      "inputs" : [
 
63
        "Input/Ramp-Down-Short.nrrd"
 
64
      ]
 
65
    }
 
66
  ],
 
67
  "briefdescription" : "Increase the image size by padding with replicants of the input image value.",
 
68
  "detaileddescription" : "MirrorPadImageFilter changes the image bounds of an image. Any added pixels are filled in with a mirrored replica of the input image. For instance, if the output image needs a pixel that is two pixels to the left of the LargestPossibleRegion of the input image, the value assigned will be from the pixel two pixels inside the left boundary of the LargestPossibleRegion. The image bounds of the output must be specified.\n\nVisual explanation of padding regions.\n This filter is implemented as a multithreaded filter. It provides a ThreadedGenerateData() method for its implementation.\n\n\\see WrapPadImageFilter , ConstantPadImageFilter \n\n\\par Wiki Examples:\n\n\\li All Examples \n\n\\li Pad an image using mirroring over the boundaries",
 
69
  "itk_module" : "ITKImageGrid",
 
70
  "itk_group" : "ImageGrid"
 
71
}
 
 
b'\\ No newline at end of file'