33 #ifndef CXPNNRECONSTRUCTIONMETHODSERVICE_H_
34 #define CXPNNRECONSTRUCTIONMETHODSERVICE_H_
37 #include "org_custusx_usreconstruction_pnn_Export.h"
39 class ctkPluginContext;
62 virtual QString getName()
const;
64 virtual std::vector<PropertyPtr> getSettings(QDomElement root);
70 bool validPixel(
int x,
int y,
const Eigen::Array3i& dims,
unsigned char* rawPointer)
72 return (x >= 0) && (x < dims[0]) && (y >= 0) && (y < dims[1]) && (rawPointer[x + y * dims[0]] != 0);
75 bool validVoxel(
int x,
int y,
int z,
const int* dims)
77 return (x >= 0) && (x < dims[0]) && (y >= 0) && (y < dims[1]) && (z >= 0) && (z < dims[2]);
82 void fillHole(
unsigned char *inputPointer,
unsigned char *outputPointer,
int x,
int y,
int z,
const Eigen::Array3i& dim,
int interpolationSteps);
Abstract interface for reconstruction algorithm.
boost::shared_ptr< class Image > ImagePtr
Settings * settings()
Shortcut for accessing the settings instance.
boost::shared_ptr< class DoubleProperty > DoublePropertyPtr
boost::shared_ptr< class ProcessedUSInputData > ProcessedUSInputDataPtr