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

« back to all changes in this revision

Viewing changes to Code/BasicFilters/json/ZeroFluxNeumannPadImageFilter.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" : "ZeroFluxNeumannPadImageFilter",
 
3
  "template_code_filename" : "ImageFilter",
 
4
  "template_test_filename" : "ImageFilter",
 
5
  "number_of_inputs" : 1,
 
6
  "pixel_types" : "NonLabelPixelIDTypeList",
 
7
  "members" : [
 
8
    {
 
9
      "name" : "PadLowerBound",
 
10
      "type" : "unsigned int",
 
11
      "default" : "std::vector<unsigned int>(3, 0)",
 
12
      "dim_vec" : 1,
 
13
      "itk_type" : "typename InputImageType::SizeType"
 
14
    },
 
15
    {
 
16
      "name" : "PadUpperBound",
 
17
      "type" : "unsigned int",
 
18
      "default" : "std::vector<unsigned int>(3, 0)",
 
19
      "dim_vec" : 1,
 
20
      "itk_type" : "typename InputImageType::SizeType"
 
21
    }
 
22
  ],
 
23
  "tests" : [
 
24
    {
 
25
      "tag" : "defaults",
 
26
      "description" : "Test Pad with default parameters",
 
27
      "md5hash" : "a9a0207c759cb8d9e0507414992905d6",
 
28
      "settings" : [],
 
29
      "inputs" : [
 
30
        "Input/RA-Slice-Short.png"
 
31
      ]
 
32
    },
 
33
    {
 
34
      "tag" : "more",
 
35
      "description" : "Test Pad reasonable padding",
 
36
      "md5hash" : "e75385e0e2c67ff47a8b2d0a1ee87017",
 
37
      "settings" : [
 
38
        {
 
39
          "parameter" : "PadLowerBound",
 
40
          "type" : "unsigned int",
 
41
          "dim_vec" : 1,
 
42
          "value" : [
 
43
            5,
 
44
            10,
 
45
            15
 
46
          ]
 
47
        },
 
48
        {
 
49
          "parameter" : "PadUpperBound",
 
50
          "type" : "unsigned int",
 
51
          "dim_vec" : 1,
 
52
          "value" : [
 
53
            3,
 
54
            6,
 
55
            9
 
56
          ]
 
57
        }
 
58
      ],
 
59
      "inputs" : [
 
60
        "Input/Ramp-Down-Short.nrrd"
 
61
      ]
 
62
    }
 
63
  ],
 
64
  "briefdescription" : "Increase the image size by padding according to the zero-flux Neumann boundary condition.",
 
65
  "detaileddescription" : "A filter which extends the image size and fill the missing pixels according to a Neumann boundary condition where first, upwind derivatives on the boundary are zero. This is a useful condition in solving some classes of differential equations.\n\nFor example, invoking this filter on an image with a corner like: \\code\n* * * * * * * *\n\n* * * * * * * *\n\n* * * 1 2 3 4 5 (where * denotes pixels that lie\n\n* * * 3 3 5 5 6 outside of the image boundary)\n\n* * * 4 4 6 7 8\n\n* \n\n\\endcode\n returns the following padded image: \\code\n* 1 1 1 2 3 4 5\n\n* 1 1 1 2 3 4 5\n\n* 1 1 1 2 3 4 5\n\n* 3 3 3 3 5 5 6 (note the corner values)\n\n* 4 4 4 4 6 7 8\n\n* \n\n\\endcode\n\n\\author Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France.\n\n\\see WrapPadImageFilter , MirrorPadImageFilter , ConstantPadImageFilter , ZeroFluxNeumannBoundaryCondition",
 
66
  "itk_module" : "ITKImageGrid",
 
67
  "itk_group" : "ImageGrid"
 
68
}
 
 
b'\\ No newline at end of file'