class rectRoiCollector

This class is designed to collect rectangular regions of interest

Inheritance:


Public Methods

[more] constructors and destructor
[more]virtual int init(int x_, int y_)
Creates a new ROI.
[more]virtual void add(int roi_id_, int x_, int y_)
Expand a ROI.
[more]virtual void merge()
Merge overlapping ROI


Inherited from roiCollector:

Public Fields

oint n_roi
ovoid* roi

Public Methods

ovirtual void reset()
ovirtual void del(int roi_id_)
ovirtual void done(int roi_id_)


Documentation

This class is designed to collect rectangular regions of interest

o constructors and destructor

o rectRoiCollector(int max_roi_ = 1000)
Creates a ROI collector.

Parameters:
max_roi_ - is the maximum number of ROI

ovirtual ~rectRoiCollector()

ovirtual int init(int x_, int y_)
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_)
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 merge()
Merge overlapping ROI


This class has no child classes.
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++.