class roiCollector

This class is designed to collect regions of interest (ROI) such as rectangles, polygons, octons

Inheritance:


Public Fields

[more]int n_roi
the number of ROI
[more]void* roi
the list of ROI

Public Methods

[more] constructors and destructor
[more]virtual void reset()
Reset
[more]virtual int init(int x_, int y_) = 0
Creates a new ROI.
[more]virtual void add(int roi_id_, int x_, int y_) = 0
Expand a ROI.
[more]virtual void del(int roi_id_)
Delete a ROI.
[more]virtual void done(int roi_id_)
Done with a ROI
[more]virtual void merge() = 0
Merge overlapping ROI


Documentation

This class is designed to collect regions of interest (ROI) such as rectangles, polygons, octons

oint n_roi
the number of ROI

ovoid* roi
the list of ROI

o constructors and destructor

o roiCollector(int max_roi_)
Creates a ROI collector.

Parameters:
max_roi_ - is the maximum number of ROI

ovirtual ~roiCollector()

ovirtual void reset()
Reset

ovirtual int init(int x_, int y_) = 0
Creates a new ROI.

Parameters:
x_ - x coordinate to initialize the ROI with
y_ - y coordinate to initialize the ROI with
Returns:
ROI id

ovirtual void add(int roi_id_, int x_, int y_) = 0
Expand a ROI.

Parameters:
roid_id_ - the id of the ROI to expand
x_ - x coordinate to expand the ROI with
y_ - y coordinate to expand the ROI with

ovirtual void del(int roi_id_)
Delete a ROI.

Parameters:
roid_id_ - the id of the ROI to delete

ovirtual void done(int roi_id_)
Done with a ROI

ovirtual void merge() = 0
Merge overlapping ROI


Direct child classes:
rectRoiCollector
octonRoiCollector
Author:
Sebastien Marcel (marcel@idiap.ch)
Version:
2.0 Wed 28 Jun 2006 05:19:30 PM CEST
Since:
2.0

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.