|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LinearROI
Interface that ROIs having the property of linearity implement. Linear ROIs have a length, and can show a profile of intensities along their length.
| Method Summary | |
|---|---|
java.awt.geom.Point2D[] |
getIntensityProfile(java.lang.Object pix,
PixelDataType dataType,
int nCols,
int nRows,
int offset,
float pixelXSize,
float pixelYSize,
ComplexMode complexMode)
Returns an array of Point2D representing the pixel intensities along this LinearROI. |
double |
getLength()
Returns the length of this ROI in mm. |
double |
getLengthPix(float pixelXSize,
float pixelYSize)
Returns the length of this ROI in image pixels. |
| Method Detail |
|---|
double getLength()
java.awt.geom.Point2D[] getIntensityProfile(java.lang.Object pix,
PixelDataType dataType,
int nCols,
int nRows,
int offset,
float pixelXSize,
float pixelYSize,
ComplexMode complexMode)
pix - the array of pixel intensities for in which this LinearROI is positioned.dataType - the PixelDataType of the array of pixel intensities.nCols - the number of columns in the slice.nRows - the number of rows in the slice.offset - an offset (in pixels) into the pixel value array for the starting
pixel of the slice on which this ROI is defined.pixelXSize - the size of image pixels in the horizontal direction.pixelYSize - the size of image pixels in the vertical direction.complexMode - the calculation mode for Complex images. The intensity profile
returned will correspond to the mode: the real part, imaginary part, magnitude or phase.
double getLengthPix(float pixelXSize,
float pixelYSize)
pixelXSize - the size of image pixels in the horizontal direction.pixelYSize - the size of image pixels in the vertical direction.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||