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

« back to all changes in this revision

Viewing changes to Code/BasicFilters/json/FFTConvolutionImageFilter.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" : "FFTConvolutionImageFilter",
 
3
  "template_code_filename" : "ImageFilter",
 
4
  "template_test_filename" : "ImageFilter",
 
5
  "number_of_inputs" : 2,
 
6
  "doc" : "Some global documentation",
 
7
  "pixel_types" : "BasicPixelIDTypeList",
 
8
  "include_files" : [
 
9
    "sitkBoundaryConditions.hxx"
 
10
  ],
 
11
  "custom_set_input" : "filter->SetInput( image1 ); filter->SetKernelImage( image2 );",
 
12
  "members" : [
 
13
    {
 
14
      "name" : "Normalize",
 
15
      "type" : "bool",
 
16
      "default" : "false",
 
17
      "doc" : "",
 
18
      "briefdescriptionSet" : "",
 
19
      "detaileddescriptionSet" : "Normalize the output image by the sum of the kernel components\n",
 
20
      "briefdescriptionGet" : "",
 
21
      "detaileddescriptionGet" : ""
 
22
    },
 
23
    {
 
24
      "name" : "BoundaryCondition",
 
25
      "enum" : [
 
26
        "ZERO_PAD",
 
27
        "ZERO_FLUX_NEUMANN_PAD",
 
28
        "PERIODIC_PAD"
 
29
      ],
 
30
      "default" : "itk::simple::FFTConvolutionImageFilter::ZERO_FLUX_NEUMANN_PAD",
 
31
      "custom_itk_cast" : "nsstd::auto_ptr< ImageBoundaryCondition< InputImageType > > bc( CreateNewBoundaryConditionInstance< Self, FilterType >( m_BoundaryCondition ) ); filter->SetBoundaryCondition( bc.get() );\n"
 
32
    },
 
33
    {
 
34
      "name" : "OutputRegionMode",
 
35
      "enum" : [
 
36
        "SAME",
 
37
        "VALID"
 
38
      ],
 
39
      "default" : "itk::simple::FFTConvolutionImageFilter::SAME",
 
40
      "itk_type" : "typename FilterType::OutputRegionModeType"
 
41
    }
 
42
  ],
 
43
  "tests" : [
 
44
    {
 
45
      "tag" : "defaults",
 
46
      "description" : "Basic convolution with gaussian",
 
47
      "settings" : [],
 
48
      "tolerance" : "0.0001",
 
49
      "inputs" : [
 
50
        "Input/cthead1-Float.mha",
 
51
        "Input/Gaussian_1.5.nrrd"
 
52
      ]
 
53
    }
 
54
  ],
 
55
  "briefdescription" : "Convolve a given image with an arbitrary image kernel using multiplication in the Fourier domain.",
 
56
  "detaileddescription" : "This filter produces output equivalent to the output of the ConvolutionImageFilter . However, it takes advantage of the convolution theorem to accelerate the convolution computation when the kernel is large.\n\n\\warning This filter ignores the spacing, origin, and orientation of the kernel image and treats them as identical to those in the input image.\n\nThis code was adapted from the Insight Journal contribution:\n\n\"FFT Based Convolution\" by Gaetan Lehmann https://hdl.handle.net/10380/3154 \n\n\\see ConvolutionImageFilter",
 
57
  "itk_module" : "ITKConvolution",
 
58
  "itk_group" : "Convolution"
 
59
}
 
 
b'\\ No newline at end of file'