7 #ifndef vtkPlusForoughiBoneSurfaceProbability_h 8 #define vtkPlusForoughiBoneSurfaceProbability_h 30 #include "vtkPlusImageProcessingExport.h" 32 #include "vtkSimpleImageToImageFilter.h" 33 #include "vtkSmartPointer.h" 42 vtkSetMacro(BlurredVSBLoG,
int);
43 vtkGetMacro(BlurredVSBLoG,
int);
46 vtkSetMacro(BoneThreshold,
double);
47 vtkGetMacro(BoneThreshold,
double);
50 vtkSetMacro(ShadowSigma,
double);
51 vtkGetMacro(ShadowSigma,
double);
54 vtkSetMacro(ShadowVSIntensity,
int);
55 vtkGetMacro(ShadowVSIntensity,
int);
58 vtkSetMacro(SmoothingSigma,
double);
59 vtkGetMacro(SmoothingSigma,
double);
62 vtkSetMacro(TransducerMargin,
int);
63 vtkGetMacro(TransducerMargin,
int);
72 void Foroughi2007(
double* inputBuffer,
double* outputBuffer,
double smoothingSigma,
int transducerMargin,
double shadowSigma,
double boneThreshold,
int blurredVSBLoG,
int shadowVSIntensity,
int nx,
int ny,
int nz);
73 void Conv2(
const double* inputBuffer,
const double* kernelBuffer,
double* tempBuffer,
double* outputBuffer,
int nx,
int ny,
int kx,
int ky);
74 void ResizeMatrix(
const double* inputBuffer,
double* outputBuffer,
int xClipping,
int yClipping,
int xInputSize,
int yInputSize);
75 double GetMaxPixelValue(
const double* buffer,
int size);
76 void Normalize(
double* buffer,
int size,
bool doInverse,
double maxValue = 1.0);
78 virtual void SimpleExecute(vtkImageData* input, vtkImageData* output);
double * MklLaplacianOfGaussianBufferTemp
double * MklLaplacianOfGaussianBuffer
double * MklShadowValueBuffer
double * MklGaussianKernel
This class computes bone surface probability by dynamic programming.
double * MklReflectionNumberBuffer
double * MklLaplacianKernel
double * MklGaussianBuffer
double * MklGaussianBufferTemp
bool KernelUpdateRequested