org.eclipse.ohf.wado.client
Interface ImageRegion

All Known Implementing Classes:
ImageRegionImpl

public interface ImageRegion

This interface represents region of an image. Each region of an image has two 2D points that mark the edges of the region - Bottom Right and Top Left.

Author:
Yossi Mesika
See Also:
ImageRegionImpl

Method Summary
 double getBottomRightX()
           
 double getBottomRightY()
           
 double getTopLeftX()
           
 double getTopLeftY()
           
 void setBottomRightX(double bottomRightX)
          Sets the x position of the top left hand corner of the region to be retrieved, 0.0 corresponding to the first column of the image matrix.
 void setBottomRightY(double bottomRightY)
          Sets the y position of the top left hand corner of the region to be retrieved, 0.0 corresponding to the top row of the image matrix.
 void setTopLeftX(double topLeftX)
          Sets the x position of the bottom right hand extent of the region, 1.0 corresponding to the last column of the image matrix, 0.0 being forbidden.
 void setTopLeftY(double topLeftY)
          Sets the y position of the bottom right hand extent of the region, 1.0 corresponding to the last row of the image matrix, 0.0 being forbidden.
 

Method Detail

setBottomRightX

void setBottomRightX(double bottomRightX)
Sets the x position of the top left hand corner of the region to be retrieved, 0.0 corresponding to the first column of the image matrix.

Parameters:
bottomRightX - The x position of the top left hand corner of the region

setBottomRightY

void setBottomRightY(double bottomRightY)
Sets the y position of the top left hand corner of the region to be retrieved, 0.0 corresponding to the top row of the image matrix.

Parameters:
bottomRightY - The y position of the top left hand corner of the region

setTopLeftX

void setTopLeftX(double topLeftX)
Sets the x position of the bottom right hand extent of the region, 1.0 corresponding to the last column of the image matrix, 0.0 being forbidden.

Parameters:
topLeftX - The x position of the bottom right hand extent of the region

setTopLeftY

void setTopLeftY(double topLeftY)
Sets the y position of the bottom right hand extent of the region, 1.0 corresponding to the last row of the image matrix, 0.0 being forbidden.

Parameters:
topLeftY - The y position of the bottom right hand extent of the region

getBottomRightX

double getBottomRightX()
Returns:
The x position of the top left hand corner of the region

getBottomRightY

double getBottomRightY()
Returns:
The y position of the top left hand corner of the region

getTopLeftX

double getTopLeftX()
Returns:
The x position of the bottom right hand extent of the region

getTopLeftY

double getTopLeftY()
Returns:
The y position of the bottom right hand extent of the region