|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectImageDataROI
public class ImageDataROI
ImageDataROI class supports image data ROI object access. This is the top level data structure for a basic image object. It contains the input and output Image objects and input and output int[] pix arrays.
This work was produced by Peter Lemkin of the National Cancer Institute, an agency of the United States Government. As a work of the United States Government there is no associated copyright. It is offered as open source software under the Mozilla Public License (version 1.1) subject to the limitations noted in the accompanying LEGAL file. This notice must be included with the code. The Flicker Mozilla and Legal files are available on http://open2dprot.sourceforge.net/Flicker
Field Summary | |
---|---|
int |
cwx1
generic ULHC computing window set when both (C-U) and (C-L) were performed. |
int |
cwx2
generic LRHC computing window when both (C-U) and (C-L) were performed. |
int |
cwy1
generic ULHC computing window set when both (C-U) and (C-L) were performed. |
int |
cwy2
generic LRHC computing window when both (C-U) and (C-L) were performed. |
ImageData |
id
Instance of ImageData for extended classes |
int |
roiX1
ULHC ROI window set by (C-U). |
int |
roiX2
LRHC ROI window set by (C-L). |
int |
roiY1
ULHC ROI window set by (C-U). |
int |
roiY2
LRHC ROI window set by (C-L). |
Constructor Summary | |
---|---|
ImageDataROI(ImageData id)
ImageDataROI() - Constructor. |
Method Summary | |
---|---|
boolean |
calcHistogramROI()
calcHistogramROI() - compute grayscale histogram under the current ROI. |
void |
copyROI2CW()
copyROI2CW() - copy C-U/C-L ROI to Computing Window (CW) |
boolean |
forceROIUpperAndLowerCorners()
forceROIUpperAndLowerCorners() - reorder the ROI so that (roiX1,roiY1) < (roiX2,roiY2) |
boolean |
isValidCW()
isValidCW() - check if current Computing Window (CW) is valid |
boolean |
isValidNDcalibCW()
isValidNDcalibCW() - check if current Calibration Computing Window is valid |
boolean |
isValidROI()
isValidROI() - check if current region of interest (ROI) is valid |
void |
setROI(int rX1,
int rY1,
int rX2,
int rY2)
setROI() - set computing window region of interest (ROI) |
boolean |
setROI2CALCW(int rX1,
int rY1,
int rX2,
int rY2)
setROI2CALCW() - set ND wedge computing window region of interest (ROI) |
void |
setROI2CW(int rX1,
int rY1,
int rX2,
int rY2)
setROI2CW() - set region of interest (ROI) to Computing Window (CW) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public ImageData id
public int roiX1
public int roiY1
public int roiX2
public int roiY2
public int cwx1
public int cwy1
public int cwx2
public int cwy2
Constructor Detail |
---|
public ImageDataROI(ImageData id)
Method Detail |
---|
public void setROI2CW(int rX1, int rY1, int rX2, int rY2)
rX1
- - ULHC x coordinaterY1
- - ULHC y coordinaterX2
- - LRHC x coordinaterY2
- - LRHC y coordinatepublic void copyROI2CW()
public void setROI(int rX1, int rY1, int rX2, int rY2)
rX1
- - ULHC x coordinaterY1
- - ULHC y coordinaterX2
- - LRHC x coordinaterY2
- - LRHC y coordinatepublic boolean setROI2CALCW(int rX1, int rY1, int rX2, int rY2)
rX1
- - ULHC x coordinaterY1
- - ULHC y coordinaterX2
- - LRHC x coordinaterY2
- - LRHC y coordinatepublic boolean forceROIUpperAndLowerCorners()
public boolean isValidROI()
public boolean isValidCW()
public boolean isValidNDcalibCW()
public boolean calcHistogramROI()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |