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

« back to all changes in this revision

Viewing changes to Code/BasicFilters/json/CosImageFilter.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" : "CosImageFilter",
 
3
  "template_code_filename" : "ImageFilter",
 
4
  "template_test_filename" : "ImageFilter",
 
5
  "number_of_inputs" : 1,
 
6
  "doc" : "Some global documentation",
 
7
  "pixel_types" : "BasicPixelIDTypeList",
 
8
  "vector_pixel_types_by_component" : "VectorPixelIDTypeList",
 
9
  "members" : [],
 
10
  "tests" : [
 
11
    {
 
12
      "tag" : "float",
 
13
      "description" : "Cosine of an image",
 
14
      "tolerance" : 0.01,
 
15
      "settings" : [],
 
16
      "inputs" : [
 
17
        "Input/RA-Slice-Float.nrrd"
 
18
      ]
 
19
    },
 
20
    {
 
21
      "tag" : "short",
 
22
      "description" : "Cosine of an image",
 
23
      "tolerance" : 0.01,
 
24
      "settings" : [],
 
25
      "inputs" : [
 
26
        "Input/RA-Slice-Short.nrrd"
 
27
      ]
 
28
    }
 
29
  ],
 
30
  "briefdescription" : "Computes the cosine of each pixel.",
 
31
  "detaileddescription" : "This filter is templated over the pixel type of the input image and the pixel type of the output image.\n\nThe filter walks over all of the pixels in the input image, and for each pixel does the following:\n\n\n\\li cast the pixel value to double , \n\n\\li apply the std::cos() function to the double value, \n\n\\li cast the double value resulting from std::cos() to the pixel type of the output image, \n\n\\li store the cast value into the output image.\n\n\nThe filter expects both images to have the same dimension (e.g. both 2D, or both 3D, or both ND)",
 
32
  "itk_module" : "ITKImageIntensity",
 
33
  "itk_group" : "ImageIntensity"
 
34
}
 
 
b'\\ No newline at end of file'