|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bruxton.sidx.ImageGeometry
public class ImageGeometry
Responsible for controlling the sensor
dimension parameters. Each instance of Camera can own one instance of the
class. The user of SIDX should not create the object. It should be obtained
by using getImageGeometry function of Camera object.
| Method Summary | |
|---|---|
void |
clearROI()
Reset the ROI selection to the full frame. |
int |
getPixelDepth()
Obtain the number of bits output per pixel of image data. |
int |
getX()
Obtain the sensor serial length in pixels. |
int |
getY()
Obtain the sensor parallel length in pixels. |
boolean |
isBinningXAvailable(int binning_x)
Inquire if a X binning setting can be applied on the camera. |
boolean |
isBinningYAvailable(int binning_y)
Inquire if a Y binning setting can be applied on the camera. |
void |
setBinning(int binning_x,
int binning_y)
Set the binning settings. |
void |
setROI(int x1,
int y1,
int x2,
int y2)
Set a new ROI. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int getX()
throws Exception
Exception
public int getY()
throws Exception
Exception
public int getPixelDepth()
throws Exception
Exception
public void clearROI()
throws Exception
Exception
public boolean isBinningXAvailable(int binning_x)
throws Exception
binning_x - the X binning setting that you wish to apply.
Exception
public boolean isBinningYAvailable(int binning_y)
throws Exception
binning_y - the Y binning setting that you wish to apply.
Exception
public void setBinning(int binning_x,
int binning_y)
throws Exception
binning_x - the binning factor for the frame in the x direction.binning_y - the binning factor for the frame in the y direction.
Exception
public void setROI(int x1,
int y1,
int x2,
int y2)
throws Exception
x1 - the x coordinate of the top-left corner of an ROI, starting from 0.y1 - the y coordinate of the top-left corner of an ROI, starting from 0.x2 - the x coordinate of the button-right corner of an ROI, starting from 0.y2 - the y coordinate of the button-right corner of an ROI, starting from 0.
Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||