MCPcopy Create free account
hub / github.com/Kitware/VTK / vtkImageConvolve

Method vtkImageConvolve

Imaging/General/vtkImageConvolve.cxx:16–32  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Construct an instance of vtkImageConvolve filter. By default zero values are eroded.

Source from the content-addressed store, hash-verified

14// Construct an instance of vtkImageConvolve filter.
15// By default zero values are eroded.
16vtkImageConvolve::vtkImageConvolve()
17{
18 int idx;
19 for (idx = 0; idx < 343; idx++)
20 {
21 this->Kernel[idx] = 0.0;
22 }
23
24 // Construct a primary id function kernel that does nothing at all
25 double kernel[9];
26 for (idx = 0; idx < 9; idx++)
27 {
28 kernel[idx] = 0.0;
29 }
30 kernel[4] = 1.0;
31 this->SetKernel3x3(kernel);
32}
33
34//------------------------------------------------------------------------------
35// Destructor

Callers

nothing calls this directly

Calls 1

SetKernel3x3Method · 0.95

Tested by

no test coverage detected