119 SbError SetEllipse(
int gl,
int center_x,
int center_y,
int radius_x,
int radius_y,
bool reset_roi);
134 SbError SetCircularCrown(
int gl,
int center_x,
int center_y,
int radius_min,
int radius_max,
int start_angle,
int end_angle,
bool reset_roi);
SbImage class that wraps the sb_t_image structure. You must call the Dispose() method to free all the...
Rectangle class that wraps the sb_t_rect structure
rgba class that wraps the sb_t_rgba structure
ROI Class that wraps the sb_t_roi structure. You must call the Dispose() method to free all the resou...
SbError SetCircularCrown(int gl, int center_x, int center_y, int radius_min, int radius_max, int start_angle, int end_angle, bool reset_roi)
Sets an angular circular crown ROI.
SbError SetEllipse(int gl, int center_x, int center_y, int radius_x, int radius_y, bool reset_roi)
Sets an elliptical ROI.
SbError Plot(SbImage ^img, array< unsigned char >^ lut, SbRgba color)
Draws the roi on the image
SbError ApplyLut(array< unsigned char >^ lut)
Apply the gray level lut to the roi image
SbRect BoundingBox()
Bounding box of the roi.
SbRgba Color()
Color RGBA of the roi (Not used for defects roi)
SbError Compress()
Compresses the ROI
static SbRoi Create(int width, int height)
Creates a ROI.
SbError SetData(IntPtr data)
Sets the pointer of the ROI data into the ROI.
SbError SetRect(int gl, SbRect^ rect, bool reset_roi)
Sets a rectangular ROI.
SbError SetCircle(int gl, int center_x, int center_y, int radius, bool reset_roi)
Sets a circular ROI.
SbError Reset()
Resets the ROI. The function does the following operation :
static SbRoi CreateHeader(int width, int height, int width_step)
Creates a ROI but doesn't allocate memory for the data.
SbImage img()
Image associated to the roi