12 #ifndef CXPNNRECONSTRUCTIONMETHODSERVICE_H_ 13 #define CXPNNRECONSTRUCTIONMETHODSERVICE_H_ 16 #include "org_custusx_usreconstruction_pnn_Export.h" 18 class ctkPluginContext;
41 virtual QString getName()
const;
43 virtual std::vector<PropertyPtr> getSettings(QDomElement root);
49 bool validPixel(
int x,
int y,
const Eigen::Array3i& dims,
unsigned char* rawPointer)
51 return (x >= 0) && (x < dims[0]) && (y >= 0) && (y < dims[1]) && (rawPointer[x + y * dims[0]] != 0);
54 bool validVoxel(
int x,
int y,
int z,
const int* dims)
56 return (x >= 0) && (x < dims[0]) && (y >= 0) && (y < dims[1]) && (z >= 0) && (z < dims[2]);
61 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
Namespace for all CustusX production code.