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

« back to all changes in this revision

Viewing changes to Code/BasicFilters/json/BilateralImageFilter.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" : "BilateralImageFilter",
 
3
  "template_code_filename" : "ImageFilter",
 
4
  "template_test_filename" : "ImageFilter",
 
5
  "doc" : "",
 
6
  "number_of_inputs" : 1,
 
7
  "pixel_types" : "BasicPixelIDTypeList",
 
8
  "vector_pixel_types_by_component" : "VectorPixelIDTypeList",
 
9
  "members" : [
 
10
    {
 
11
      "name" : "DomainSigma",
 
12
      "type" : "double",
 
13
      "default" : "4.0",
 
14
      "briefdescriptionSet" : "",
 
15
      "detaileddescriptionSet" : "Convenience get/set methods for setting all domain parameters to the same values.",
 
16
      "briefdescriptionGet" : "",
 
17
      "detaileddescriptionGet" : "Standard get/set macros for filter parameters. DomainSigma is specified in the same units as the Image spacing. RangeSigma is specified in the units of intensity."
 
18
    },
 
19
    {
 
20
      "name" : "RangeSigma",
 
21
      "type" : "double",
 
22
      "default" : "50.0",
 
23
      "briefdescriptionSet" : "",
 
24
      "detaileddescriptionSet" : "Standard get/set macros for filter parameters. DomainSigma is specified in the same units as the Image spacing. RangeSigma is specified in the units of intensity.",
 
25
      "briefdescriptionGet" : "",
 
26
      "detaileddescriptionGet" : "Standard get/set macros for filter parameters. DomainSigma is specified in the same units as the Image spacing. RangeSigma is specified in the units of intensity."
 
27
    },
 
28
    {
 
29
      "name" : "NumberOfRangeGaussianSamples",
 
30
      "type" : "unsigned int",
 
31
      "default" : "100u",
 
32
      "briefdescriptionSet" : "",
 
33
      "detaileddescriptionSet" : "Set/Get the number of samples in the approximation to the Gaussian used for the range smoothing. Samples are only generated in the range of [0, 4*m_RangeSigma]. Default is 100.",
 
34
      "briefdescriptionGet" : "",
 
35
      "detaileddescriptionGet" : "Set/Get the number of samples in the approximation to the Gaussian used for the range smoothing. Samples are only generated in the range of [0, 4*m_RangeSigma]. Default is 100."
 
36
    }
 
37
  ],
 
38
  "tests" : [
 
39
    {
 
40
      "tag" : "default",
 
41
      "description" : "Simply run with default settings on rgb",
 
42
      "settings" : [],
 
43
      "md5hash" : "40d02c04323fc303a8a28261c6d4eb23",
 
44
      "inputs" : [
 
45
        "Input/fruit.png"
 
46
      ]
 
47
    },
 
48
    {
 
49
      "tag" : "3d",
 
50
      "description" : "small kernel in 3d",
 
51
      "no_procedure" : 1,
 
52
      "settings" : [
 
53
        {
 
54
          "parameter" : "DomainSigma",
 
55
          "value" : "2.0"
 
56
        },
 
57
        {
 
58
          "parameter" : "RangeSigma",
 
59
          "value" : "500"
 
60
        }
 
61
      ],
 
62
      "tolerance" : "1e-8",
 
63
      "inputs" : [
 
64
        "Input/RA-Short.nrrd"
 
65
      ]
 
66
    }
 
67
  ],
 
68
  "briefdescription" : "Blurs an image while preserving edges.",
 
69
  "detaileddescription" : "This filter uses bilateral filtering to blur an image using both domain and range \"neighborhoods\". Pixels that are close to a pixel in the image domain and similar to a pixel in the image range are used to calculate the filtered value. Two gaussian kernels (one in the image domain and one in the image range) are used to smooth the image. The result is an image that is smoothed in homogeneous regions yet has edges preserved. The result is similar to anisotropic diffusion but the implementation in non-iterative. Another benefit to bilateral filtering is that any distance metric can be used for kernel smoothing the image range. Hence, color images can be smoothed as vector images, using the CIE distances between intensity values as the similarity metric (the Gaussian kernel for the image domain is evaluated using CIE distances). A separate version of this filter will be designed for color and vector images.\n\nBilateral filtering is capable of reducing the noise in an image by an order of magnitude while maintaining edges.\n\nThe bilateral operator used here was described by Tomasi and Manduchi (Bilateral Filtering for Gray and ColorImages. IEEE ICCV. 1998.)\n\n\\see GaussianOperator \n\n\\see RecursiveGaussianImageFilter \n\n\\see DiscreteGaussianImageFilter \n\n\\see AnisotropicDiffusionImageFilter \n\n\\see Image \n\n\\see Neighborhood \n\n\\see NeighborhoodOperator \n\nTodoSupport color images \n\nSupport vector images\n\n\\par Wiki Examples:\n\n\\li All Examples \n\n\\li Bilateral filter an image",
 
70
  "itk_module" : "ITKImageFeature",
 
71
  "itk_group" : "ImageFeature"
 
72
}
 
 
b'\\ No newline at end of file'