class WindowScan

This class is designed to scan an image with a fixed subwindow size

Inheritance:


Public Fields

[more]int n_subwindows
total number of hypothesis
[more]int n_subwindows_processed
number of hypothesis tested
[more]int n_pruning_reject
number of hypothesis rejected by prunning
[more]int n_mean_reject
number of hypothesis rejected by mean
[more]int n_stdv_reject
number of hypothesis rejected by stdv

Public Methods

[more] WindowScan( int width_image_, int height_image_, int real_width_image_, int real_height_image_, int width_pattern_, int height_pattern_, int real_width_pattern_, int real_height_pattern_, real stepx_factor_, real stepy_factor_, ipSubWindow* ip_sw_, PatternCollector* patterncollector_, bool verbose = false)
scan an image at a fixed window size
[more]virtual void init(void) = 0
[more]virtual void process(Sequence* seq_in) = 0
[more]void setMeanStdv(real minMean_, real maxMean_, real minStdv_, real maxStdv_, real* integralimage_, real* integralimage2_)
perform pruning of subwindows according to the mean and the stdv of pixels
[more]void setPruningII(real pruning_min_threshold, real pruning_max_threshold, real* pruning_ii)
perform pruning of subwindows according to the integral image of a binary mask
[more]void unsetPruning()
do not perform pruning
[more]int getRealPatternWidth()
return the real width of a pattern
[more]int getRealPatternHeight()
return the real height of a pattern
[more]void resetROI(int n_max_roi_)
[more]void addROI(sRect2D a_roi_)
[more]virtual ~WindowScan()


Documentation

This class is designed to scan an image with a fixed subwindow size


	          width_image
	        (real_width_image)
	+-------------------------+
	|                         |
	|    width_pattern        |
	|  +---+                  |
	|  |   |                  | height_image
	|  |   | height_pattern   | (real_height_image)
	|  |   |                  |
	|  +---+                  |
	|                         |
	|                         |
	|   +---+       +---+     |
	|   |   |       |   |     |
	|   |   |  ...  |   |     |
	|   |   |       |   |     |
	|   +---+       +---+     |
	|                         |
	|                         |
	+-------------------------+
 
    

oint n_subwindows
total number of hypothesis

oint n_subwindows_processed
number of hypothesis tested

oint n_pruning_reject
number of hypothesis rejected by prunning

oint n_mean_reject
number of hypothesis rejected by mean

oint n_stdv_reject
number of hypothesis rejected by stdv

o WindowScan( int width_image_, int height_image_, int real_width_image_, int real_height_image_, int width_pattern_, int height_pattern_, int real_width_pattern_, int real_height_pattern_, real stepx_factor_, real stepy_factor_, ipSubWindow* ip_sw_, PatternCollector* patterncollector_, bool verbose = false)
scan an image at a fixed window size

The image to process could be a subsampled image. The original image is referred here as real image.

Parameters:
width_image_ - is the width of the image to process
height_image_ - is the height of the image to process
real_width_image_ - is the real width of the image
real_height_image_ - is the real height of the image
width_pattern_ - is the width of the subwindow to scan
height_pattern_ - is the height of the subwindow to scan
real_width_pattern_ - is the real width of the subwindow in the real image
real_height_pattern_ - is the real height of the subwindow in the real image
stepx_factor_ - is the x step for scanning
stepy_factor_ - is the y step for scanning
ip_sw_ - is the ipSubWindow to apply to each subwindow (that pass prunning)
patterncollector_ - is the PatternCollector to use to collect patterns

ovirtual void init(void) = 0

ovirtual void process(Sequence* seq_in) = 0

ovoid setMeanStdv(real minMean_, real maxMean_, real minStdv_, real maxStdv_, real* integralimage_, real* integralimage2_)
perform pruning of subwindows according to the mean and the stdv of pixels

ovoid setPruningII(real pruning_min_threshold, real pruning_max_threshold, real* pruning_ii)
perform pruning of subwindows according to the integral image of a binary mask

ovoid unsetPruning()
do not perform pruning

oint getRealPatternWidth()
return the real width of a pattern

oint getRealPatternHeight()
return the real height of a pattern

ovoid resetROI(int n_max_roi_)

ovoid addROI(sRect2D a_roi_)

ovirtual ~WindowScan()


Direct child classes:
PyramidWindowScan
MSWindowScan
Author:
Sebastien Marcel (marcel@idiap.ch) Yann Rodriguez (rodrig@idiap.ch) Wed 28 Jun 2006 05:19:39 PM CEST
Version:
2.1
Since:
1.0

Alphabetic index HTML hierarchy of classes or Java



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