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

« back to all changes in this revision

Viewing changes to Code/BasicFilters/json/VectorIndexSelectionCastImageFilter.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" : "VectorIndexSelectionCastImageFilter",
 
3
  "template_code_filename" : "DualImageFilter",
 
4
  "template_test_filename" : "ImageFilter",
 
5
  "number_of_inputs" : 1,
 
6
  "doc" : "",
 
7
  "pixel_types" : "VectorPixelIDTypeList",
 
8
  "pixel_types2" : "typelist::Append<BasicPixelIDTypeList,VectorPixelIDTypeList>::Type",
 
9
  "custom_type2" : "const PixelIDValueEnum type2 = (m_OutputPixelType != sitkUnknown) ? m_OutputPixelType : type1;",
 
10
  "output_pixel_type" : "typename InputImageType2::InternalPixelType",
 
11
  "members" : [
 
12
    {
 
13
      "name" : "Index",
 
14
      "type" : "unsigned int",
 
15
      "default" : "0u",
 
16
      "doc" : "",
 
17
      "briefdescriptionSet" : "",
 
18
      "detaileddescriptionSet" : "Get/Set methods for the index",
 
19
      "briefdescriptionGet" : "",
 
20
      "detaileddescriptionGet" : ""
 
21
    },
 
22
    {
 
23
      "name" : "OutputPixelType",
 
24
      "type" : "PixelIDValueEnum",
 
25
      "default" : "itk::simple::sitkUnknown",
 
26
      "custom_itk_cast" : "",
 
27
      "briefdescriptionSet" : "Set the output pixel type of the scalar component to extract.",
 
28
      "briefdescriptionGet" : "Get the ouput pixel type."
 
29
    }
 
30
  ],
 
31
  "tests" : [
 
32
    {
 
33
      "tag" : "blue",
 
34
      "description" : "Extract blue from VH slice",
 
35
      "settings" : [
 
36
        {
 
37
          "parameter" : "Index",
 
38
          "cxx_value" : "2u",
 
39
          "value" : "2"
 
40
        }
 
41
      ],
 
42
      "md5hash" : "da3f74fce21be8b788da331377f7f361",
 
43
      "inputs" : [
 
44
        "Input/VM1111Shrink-RGBFloat.nrrd"
 
45
      ]
 
46
    }
 
47
  ],
 
48
  "briefdescription" : "Extracts the selected index of the vector that is the input pixel type.",
 
49
  "detaileddescription" : "This filter is templated over the input image type and output image type.\n\nThe filter expect the input image pixel type to be a vector and the output image pixel type to be a scalar. The only requirement on the type used for representing the vector is that it must provide an operator[].\n\n\\see ComposeImageFilter \n\n\\par Wiki Examples:\n\n\\li All Examples \n\n\\li Extract a component/channel of a vector image",
 
50
  "itk_module" : "ITKImageIntensity",
 
51
  "itk_group" : "ImageIntensity"
 
52
}
 
 
b'\\ No newline at end of file'