This interface expose APIs for basic and advanced geometry calculation functionalities. More...
Public Member Functions | |
ILRect * | BoundingRect (ILObject *shape) |
ILRect * | InnerRect (ILImage *mask) |
ILRect * | InnerSquare (ILImage *mask) |
Public Member Functions inherited from ILObject | |
ILObject * | Copy () |
LPVErrorCode | Load (LString filename) |
void | Reset () |
LPVErrorCode | Save (LString filename) |
BOOL | Valid () |
This interface expose APIs for basic and advanced geometry calculation functionalities.
To use this interface, you should create a LGeomOp object.
Find the largest inner rectangle in the given binary mask, which contains or goes through only white(non-zero) pixels.
[in] | mask | The input mask image |
resultRect | Return the result rectangle object |
Find the largest inner square in the given binary mask, which contains or goes through only white(non-zero) pixels.
[in] | mask | The input mask image |
resultSquare | Return the result square object |