[]
        
(Showing Draft Content)

CSJ2K.j2k.roi.encoder.ROI

ROI Class

This class contains the shape of a single ROI. In the current implementation only rectangles and circles are supported.

Inheritance
ROI
Namespace: CSJ2K.j2k.roi.encoder
Assembly: C1.WPF.PdfViewer.4.6.2.dll
Syntax
public class ROI

Constructors

Name Description
ROI(int, ImgReaderPGM)

Constructor for ROI with arbitrary shape

ROI(int, int, int, int)

Constructor for circular ROIs

ROI(int, int, int, int, int)

Constructor for rectangular ROIs

Fields

Name Description
arbShape

Where or not the ROI shape is arbitrary

comp

The components for which the ROI is relevant

h

height of rectangular ROI

maskPGM

ImgReaderPGM object with the arbrtrary ROI

r

radius of circular ROI

rect

Flag indicating whether the ROI is rectangular or not

ulx

x coordinate of upper left corner of rectangular ROI

uly

y coordinate of upper left corner of rectangular ROI

w

width of rectangular ROI

x

x coordinate of center of circular ROI

y

y coordinate of center of circular ROI

Methods

Name Description
ToString()

This function prints all relevant data for the ROI

See Also