NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Typedefs | |
typedef itk::RGBPixel < unsigned char > | UCRGBPixelType |
typedef itk::Image < UCRGBPixelType, 2 > | ImageType |
typedef itk::ImageFileWriter < ImageType > | ImageWriterType |
typedef ImageType::RegionType | RegionType |
typedef ImageType::SizeType | SizeType |
typedef ImageType::IndexType | IndexType |
typedef ImageType::PointType | Point2DType |
typedef itk::Point< double, 3 > | Point3DType |
Functions | |
bool | IsOnEvenSquare (const std::vector< int > &vec, const int pixelIndex) |
double | CalculateBoundingArray (const double &a, const double &b, const int &squares, const int &pixels, std::vector< int > &vec) |
double | GenerateBoundaryArray (const int &dotsPerInch, const double &squareSize, const int &pixels, const int &squares, std::vector< int > &vec) |
void | AddPoint (const Point2DType &cornerPointInImageSpace, const int &numberPixelsX, const double &pixSize, const double &maxPhi, const double &phiInRadians, const double &probeRadius, const double &weight, vtkPoints *points, vtkDoubleArray *normals, vtkDoubleArray *weights, vtkCellArray *vertices) |
UCRGBPixelType | GetColor (const int &colourNumber, UCRGBPixelType colours[], const bool &writeColours, const bool &blackBackground) |
void | AddColor (vtkUnsignedCharArray *colourScalars, const int &colourNumber, UCRGBPixelType colours[], const bool &writeColours, const bool &blackBackground) |
int | main (int argc, char **argv) |
Generates a 2D image of a pattern to print, and a 3D model to match for a calibrated laparoscopic ultrasound probe. More... | |
typedef itk::Image<UCRGBPixelType, 2> ImageType |
typedef itk::ImageFileWriter<ImageType> ImageWriterType |
typedef ImageType::IndexType IndexType |
typedef ImageType::PointType Point2DType |
typedef itk::Point<double, 3> Point3DType |
typedef ImageType::RegionType RegionType |
typedef ImageType::SizeType SizeType |
typedef itk::RGBPixel< unsigned char > UCRGBPixelType |
void AddColor | ( | vtkUnsignedCharArray * | colourScalars, |
const int & | colourNumber, | ||
UCRGBPixelType | colours[], | ||
const bool & | writeColours, | ||
const bool & | blackBackground | ||
) |
void AddPoint | ( | const Point2DType & | cornerPointInImageSpace, |
const int & | numberPixelsX, | ||
const double & | pixSize, | ||
const double & | maxPhi, | ||
const double & | phiInRadians, | ||
const double & | probeRadius, | ||
const double & | weight, | ||
vtkPoints * | points, | ||
vtkDoubleArray * | normals, | ||
vtkDoubleArray * | weights, | ||
vtkCellArray * | vertices | ||
) |
double CalculateBoundingArray | ( | const double & | a, |
const double & | b, | ||
const int & | squares, | ||
const int & | pixels, | ||
std::vector< int > & | vec | ||
) |
double GenerateBoundaryArray | ( | const int & | dotsPerInch, |
const double & | squareSize, | ||
const int & | pixels, | ||
const int & | squares, | ||
std::vector< int > & | vec | ||
) |
UCRGBPixelType GetColor | ( | const int & | colourNumber, |
UCRGBPixelType | colours[], | ||
const bool & | writeColours, | ||
const bool & | blackBackground | ||
) |