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

« back to all changes in this revision

Viewing changes to Code/BasicFilters/json/SquaredDifferenceImageFilter.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" : "SquaredDifferenceImageFilter",
 
3
  "template_code_filename" : "BinaryFunctorFilter",
 
4
  "template_test_filename" : "ImageFilter",
 
5
  "constant_type" : "double",
 
6
  "number_of_inputs" : 2,
 
7
  "doc" : "Some global documentation",
 
8
  "pixel_types" : "BasicPixelIDTypeList",
 
9
  "members" : [],
 
10
  "tests" : [
 
11
    {
 
12
      "tag" : "2DStapleImages",
 
13
      "description" : "Default parameter settings",
 
14
      "settings" : [],
 
15
      "tolerance" : "1e-8",
 
16
      "inputA_cast" : "sitkUInt16",
 
17
      "inputB_cast" : "sitkUInt16",
 
18
      "inputs" : [
 
19
        "Input/STAPLE1.png",
 
20
        "Input/STAPLE2.png"
 
21
      ]
 
22
    },
 
23
    {
 
24
      "tag" : "Ramp_Short1",
 
25
      "description" : "Ramp",
 
26
      "settings" : [],
 
27
      "tolerance" : "1e-8",
 
28
      "inputs" : [
 
29
        "Input/Ramp-Zero-One-Float.nrrd",
 
30
        "Input/Ramp-One-Zero-Float.nrrd"
 
31
      ]
 
32
    },
 
33
    {
 
34
      "tag" : "Ramp_Short2",
 
35
      "description" : "Ramp",
 
36
      "settings" : [],
 
37
      "tolerance" : "1e-8",
 
38
      "inputA_cast" : "sitkUInt32",
 
39
      "inputB_cast" : "sitkUInt32",
 
40
      "inputs" : [
 
41
        "Input/Ramp-Up-Short.nrrd",
 
42
        "Input/Ramp-Down-Short.nrrd"
 
43
      ]
 
44
    }
 
45
  ],
 
46
  "briefdescription" : "Implements pixel-wise the computation of squared difference.",
 
47
  "detaileddescription" : "This filter is parametrized over the types of the two input images and the type of the output image.\n\nNumeric conversions (castings) are done by the C++ defaults.\n\nThe filter will walk over all the pixels in the two input images, and for each one of them it will do the following:\n\n\n\\li cast the input 1 pixel value to double \n\n\\li cast the input 2 pixel value to double \n\n\\li compute the difference of the two pixel values\n\n\\li compute the square of the difference\n\n\\li cast the double value resulting from sqr() to the pixel type of the output image\n\n\\li store the casted value into the output image.\n\n\n\nThe filter expect all images to have the same dimension (e.g. all 2D, or all 3D, or all ND)\n\n\\par Wiki Examples:\n\n\\li All Examples \n\n\\li Compute the squared difference of corresponding pixels in two images",
 
48
  "itk_module" : "ITKImageCompare",
 
49
  "itk_group" : "ImageCompare"
 
50
}
 
 
b'\\ No newline at end of file'