Overview   Project   Class   Tree   Deprecated   Index 
CbrVideoDoc
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

CbrVideo
Class Ip

   in img.h
   in img.cpp

class Ip


Method Summary
 ipl::CImage ComputeDiff( CImage* One, CImage* Two )
          This is a method for computing the difference between two CImages.
 ipl::CImage ConvertRGBtoGray( CImage* One, int* sizex, int* sizey )
          Method that converts a RGB-CImage to grayscale.
 void CountNrOfObjects( CImage* Img, long* nrObjects, long* largestObject, double* avgObject )
          Method that finsd information about the objects found in the difference image.
 void FindingHistoVar( CImage* img1, CImage* img2, int* minP, int* maxP, double* avgP1, double* avgP2, double* changeP )
          Method for finding several histogram-related variables.
 void HistoEqImages( CImage* One, CImage* Two )
          Method that performs a intensity correction of the images.
 void InitializeStart()
          Method that controls the flow in the image processing module.
 

Method Detail

ComputeDiff

public ipl::CImage ComputeDiff( CImage* One, CImage* Two );
This is a method for computing the difference between two CImages.
Parameters:
One - The reference CImage
Two - The alarm CImage
Returns:
A CImage which is the differce image

ConvertRGBtoGray

public ipl::CImage ConvertRGBtoGray( CImage* One, int* sizex, int* sizey );
Method that converts a RGB-CImage to grayscale.
Parameters:
One - The CImage that is going to be converted
sizex - The x-size of the CImage
sizey - The y-size of the CImage
Returns:
The converted CImage in grayscale

CountNrOfObjects

public void CountNrOfObjects( CImage* Img, long* nrObjects, long* largestObject, double* avgObject );
Method that finsd information about the objects found in the difference image.
Parameters:
Img - The difference CImage
nrObjects - The number of objects found in the image
largestObject - The size of the largest object found in the difference CImage
avgObject - The average size of all objects found in the difference CImage

FindingHistoVar

public void FindingHistoVar( CImage* img1, CImage* img2, int* minP, int* maxP, double* avgP1, double* avgP2, double* changeP );
Method for finding several histogram-related variables.
Parameters:
img1 - The reference CImage
img2 - The alarm CImage
minP - The minimum intensity found in the alarm CImage
maxP - The maximum intensity found in the alarm CImage
avgP1 - The average intensity found in the reference CImage
avgP2 - The average intensity found in the alarm CImage
changeP - The change in average intensity between the two CImages

HistoEqImages

public void HistoEqImages( CImage* One, CImage* Two );
Method that performs a intensity correction of the images.
Parameters:
One - The reference CImage
Two - The alarm CImage

InitializeStart

public void InitializeStart();
Method that controls the flow in the image processing module.

 Overview   Project   Class   Tree   Deprecated   Index 
CbrVideoDoc
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD