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

« back to all changes in this revision

Viewing changes to Code/BasicFilters/json/LessImageFilter.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" : "LessImageFilter",
 
3
  "itk_name" : "BinaryFunctorImageFilter",
 
4
  "template_code_filename" : "BinaryFunctorFilter",
 
5
  "template_test_filename" : "ImageFilter",
 
6
  "constant_type" : "double",
 
7
  "number_of_inputs" : 2,
 
8
  "doc" : "Some global documentation",
 
9
  "pixel_types" : "BasicPixelIDTypeList",
 
10
  "output_pixel_type" : "uint8_t",
 
11
  "filter_type" : "itk::BinaryFunctorImageFilter<InputImageType,InputImageType2,OutputImageType, itk::Functor::Less< typename InputImageType::PixelType, typename InputImageType2::PixelType, typename OutputImageType::PixelType> >",
 
12
  "include_files" : [
 
13
    "itkLogicOpsFunctors.h"
 
14
  ],
 
15
  "members" : [
 
16
    {
 
17
      "name" : "BackgroundValue",
 
18
      "type" : "uint8_t",
 
19
      "default" : "0u",
 
20
      "custom_itk_cast" : "filter->GetFunctor().SetBackgroundValue( static_cast<typename OutputImageType::PixelType>( this->m_BackgroundValue ) );",
 
21
      "briefdescriptionSet" : "",
 
22
      "detaileddescriptionSet" : "Set/Get the value used to mark the false pixels of the operator.\n",
 
23
      "briefdescriptionGet" : "",
 
24
      "detaileddescriptionGet" : "Set/Get the value used to mark the false pixels of the operator.\n"
 
25
    },
 
26
    {
 
27
      "name" : "ForegroundValue",
 
28
      "type" : "uint8_t",
 
29
      "default" : "1u",
 
30
      "custom_itk_cast" : "filter->GetFunctor().SetForegroundValue( static_cast<typename OutputImageType::PixelType>( this->m_ForegroundValue ) );",
 
31
      "briefdescriptionSet" : "",
 
32
      "detaileddescriptionSet" : "Set/Get the value used to mark the true pixels of the operator.\n",
 
33
      "briefdescriptionGet" : "",
 
34
      "detaileddescriptionGet" : "Set/Get the value used to mark the true pixels of the operator.\n"
 
35
    }
 
36
  ],
 
37
  "tests" : [
 
38
    {
 
39
      "tag" : "default",
 
40
      "description" : "same images",
 
41
      "settings" : [],
 
42
      "md5hash" : "fcd6bcb56c1689fcef28b57c22475bad",
 
43
      "inputs" : [
 
44
        "Input/cthead1.png",
 
45
        "Input/cthead1.png"
 
46
      ]
 
47
    },
 
48
    {
 
49
      "tag" : "rampVramp",
 
50
      "description" : "2D",
 
51
      "settings" : [],
 
52
      "md5hash" : "c23ac004a9de8cfc66224a9a7ddb9b25",
 
53
      "inputs" : [
 
54
        "Input/Ramp-Up-Short.nrrd",
 
55
        "Input/Ramp-Down-Short.nrrd"
 
56
      ]
 
57
    }
 
58
  ],
 
59
  "briefdescription" : "Implements pixel-wise generic operation of two images, or of an image and a constant.",
 
60
  "detaileddescription" : "This class is parameterized over the types of the two input images and the type of the output image. It is also parameterized by the operation to be applied. A Functor style is used.\n\nThe constant must be of the same type than the pixel type of the corresponding image. It is wrapped in a SimpleDataObjectDecorator so it can be updated through the pipeline. The SetConstant() and GetConstant() methods are provided as shortcuts to set or get the constant value without manipulating the decorator.\n\n\\see UnaryFunctorImageFilter TernaryFunctorImageFilter \n\n\\par Wiki Examples:\n\n\\li All Examples \n\n\\li Apply a predefined operation to corresponding pixels in two images \n\n\\li Apply a custom operation to corresponding pixels in two images",
 
61
  "itk_module" : "ITKImageFilterBase",
 
62
  "itk_group" : "ImageFilterBase"
 
63
}
 
 
b'\\ No newline at end of file'