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

« back to all changes in this revision

Viewing changes to Code/BasicFilters/json/GridImageSource.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" : "GridImageSource",
 
3
  "template_code_filename" : "ImageSource",
 
4
  "template_test_filename" : "ImageFilter",
 
5
  "doc" : "",
 
6
  "number_of_inputs" : 0,
 
7
  "pixel_types" : "BasicPixelIDTypeList",
 
8
  "output_image_type" : "TImageType",
 
9
  "filter_type" : "itk::GridImageSource<OutputImageType>",
 
10
  "members" : [
 
11
    {
 
12
      "name" : "OutputPixelType",
 
13
      "type" : "PixelIDValueEnum",
 
14
      "default" : "itk::simple::sitkFloat32",
 
15
      "custom_itk_cast" : ""
 
16
    },
 
17
    {
 
18
      "name" : "Size",
 
19
      "type" : "unsigned int",
 
20
      "dim_vec" : 1,
 
21
      "default" : "std::vector<unsigned int>(3, 64)",
 
22
      "itk_type" : "typename FilterType::SizeType"
 
23
    },
 
24
    {
 
25
      "name" : "Sigma",
 
26
      "type" : "double",
 
27
      "dim_vec" : 1,
 
28
      "set_as_scalar" : 1,
 
29
      "default" : "std::vector<double>(3, 0.5)",
 
30
      "itk_type" : "typename FilterType::ArrayType",
 
31
      "briefdescriptionSet" : "",
 
32
      "detaileddescriptionSet" : "Set/Get the standard deviation of the Gaussians or width of the box functions.",
 
33
      "briefdescriptionGet" : "",
 
34
      "detaileddescriptionGet" : "Set/Get the standard deviation of the Gaussians or width of the box functions."
 
35
    },
 
36
    {
 
37
      "name" : "GridSpacing",
 
38
      "type" : "double",
 
39
      "dim_vec" : 1,
 
40
      "default" : "std::vector<double>(3, 4.0)",
 
41
      "itk_type" : "typename FilterType::ArrayType",
 
42
      "briefdescriptionSet" : "",
 
43
      "detaileddescriptionSet" : "Set/Get the grid spacing of the peaks.",
 
44
      "briefdescriptionGet" : "",
 
45
      "detaileddescriptionGet" : "Set/Get the grid spacing of the peaks."
 
46
    },
 
47
    {
 
48
      "name" : "GridOffset",
 
49
      "type" : "double",
 
50
      "dim_vec" : 1,
 
51
      "default" : "std::vector<double>(3, 0.0)",
 
52
      "itk_type" : "typename FilterType::ArrayType",
 
53
      "briefdescriptionSet" : "",
 
54
      "detaileddescriptionSet" : "Set/Get the grid offset.",
 
55
      "briefdescriptionGet" : "",
 
56
      "detaileddescriptionGet" : "Set/Get the grid offset."
 
57
    },
 
58
    {
 
59
      "name" : "Scale",
 
60
      "type" : "double",
 
61
      "default" : "255.0",
 
62
      "briefdescriptionSet" : "",
 
63
      "detaileddescriptionSet" : "Set/Get the scale factor to multiply the true value of the grid.",
 
64
      "briefdescriptionGet" : "",
 
65
      "detaileddescriptionGet" : "Set/Get the scale factor to multiply the true value of the grid."
 
66
    },
 
67
    {
 
68
      "name" : "Origin",
 
69
      "type" : "double",
 
70
      "dim_vec" : 1,
 
71
      "default" : "std::vector<double>(3, 0.0)",
 
72
      "itk_type" : "typename FilterType::PointType"
 
73
    },
 
74
    {
 
75
      "name" : "Spacing",
 
76
      "type" : "double",
 
77
      "dim_vec" : 1,
 
78
      "default" : "std::vector<double>(3, 1.0)",
 
79
      "itk_type" : "typename FilterType::SpacingType"
 
80
    },
 
81
    {
 
82
      "name" : "Direction",
 
83
      "type" : "std::vector<double>",
 
84
      "default" : "std::vector<double>()",
 
85
      "doc" : "Passing a zero sized array, defaults to identiy matrix. The size of the array must exactly match the direction matrix for the dimension of the image.",
 
86
      "custom_itk_cast" : "filter->SetDirection( sitkSTLToITKDirection<typename FilterType::DirectionType>( this->m_Direction ) );"
 
87
    }
 
88
  ],
 
89
  "tests" : [
 
90
    {
 
91
      "tag" : "default",
 
92
      "description" : "Simply run with default settings",
 
93
      "settings" : [],
 
94
      "tolerance" : 1e-05,
 
95
      "inputs" : []
 
96
    }
 
97
  ],
 
98
  "briefdescription" : "Generate an n-dimensional image of a grid.",
 
99
  "detaileddescription" : "GridImageSource generates an image of a grid. From the abstract... \"Certain classes of images find disparate use amongst members of the ITK community for such purposes as visualization, simulation, testing, etc. Currently there exists two derived classes from the ImageSource class used for generating specific images for various applications, viz. RandomImageSource and GaussianImageSource . We propose to add to this set with the class GridImageSource which, obviously enough, produces a grid image. Such images are useful for visualizing deformation when used in conjunction with the WarpImageFilter , simulating magnetic resonance tagging images, or creating optical illusions with which to amaze your friends.\"\n\nThe output image may be of any dimension.\n\n\\author Tustison N., Avants B., Gee J. University of Pennsylvania\n\nThis implementation was taken from the Insight Journal paper: https://hdl.handle.net/1926/475",
 
100
  "itk_module" : "ITKImageSources",
 
101
  "itk_group" : "ImageSources"
 
102
}
 
 
b'\\ No newline at end of file'