Function puma::import_3DTiff(Workspace *, std::string, int, int, int, int, int, int, int)
Defined in File import_3DTiff.h
Function Documentation
-
bool puma::import_3DTiff(Workspace *work, std::string fileName, int xMin, int xMax, int yMin, int yMax, int zMin, int zMax, int numThreads = 0)
Imports a subsection 3D Tiff into the passed workspace.
- Parameters
work – is a pointer to a workspace
fileName – is a string that has the path to the tiff: ex: “/home/jsmith/Desktop/myTiff.tif”
xMin – is the startIndex in the x direction. uses c++ convention is min value is 0 and max value is size-1
xMax – is the EndIndex in the x direction. uses c++ convention is min value is 0 and max value is size-1
yMin – is the startIndex in the y direction. uses c++ convention is min value is 0 and max value is size-1
yMax – is the EndIndex in the y direction. uses c++ convention is min value is 0 and max value is size-1
zMin – is the startIndex in the z direction. uses c++ convention is min value is 0 and max value is size-1
zMax – is the EndIndex in the z direction. uses c++ convention is min value is 0 and max value is size-1
numThreads – the number of threads used in the operation. 0 for maximum number of threads