|
Video Processing Framework
|
#include <Img_Profile.h>
Public Member Functions | |
| ImgProfile (const AbstractData *parent=NULL, const SimpleData *parameters=NULL) | |
| virtual ImgProfile * | duplicate () |
| virtual int | allocateResults () |
| virtual int | processROI (int rectIndex=-1, int channelIndex=0, IplImage *inputChannelPtr=NULL, SimpleData *options=NULL) |
| virtual int | processROIsInitialize (SimpleData *options=NULL) |
| virtual int | processROIsFinalize (SimpleData *options=NULL) |
| virtual int | calcExtrema (int extremaType=2) |
| virtual int | calcExtrema (Array1D *inArray, TDRectF *outExtrema, int extremaType=0) |
| virtual int | drawResults (IPLImage *imgP, int drawProfile=0, SimpleData *optionsP=NULL) |
Static Public Member Functions | |
| static int | runTest (int testCase=0, const char *filen=NULL, void *params=NULL) |
Public Attributes | |
| Array1D * | outXProf |
| Array1D * | outYProf |
| TDRectF * | outXMin |
| Ekstremi: CvRectF struktura. | |
| TDRectF * | outXMax |
| TDRectF * | outYMin |
| TDRectF * | outYMax |
| int | pOperation |
| Izracun: 0 vsota, 1 povpr., 2 st.dev., 3 max. | |
| int | pNormalize |
| Normalizacija : 0 brez, 1 povpr.vr., 2 med 0 in 1. | |
| int | pShowProfile |
| Kaj narisemo. | |
| float | pGraphW |
| Koliko velik je graf: v % sirine regije. | |
| int | pLineLength |
| Dolzina linije. | |
| int | pGaussFilt |
| Gaussian smoothing. | |
| int | pLocMinNum |
| Detekcija lok. minimumov. | |
| ImgProfile::ImgProfile | ( | const AbstractData * | parent = NULL, |
| const SimpleData * | parameters = NULL |
||
| ) |
Izracun: 0 vsota, 1 povpr., 2 st.dev., 3 max
| int ImgProfile::allocateResults | ( | ) | [virtual] |
Reimplemented from ImageProcessing.
| int ImgProfile::calcExtrema | ( | int | extremaType = 2 | ) | [virtual] |
Izracunaj maks in minimume Shrani v outXMin, outYMin, outXMax, outYMax extremaType = 0 (maksimum), 1 minimum, 2 oboje
| int ImgProfile::calcExtrema | ( | Array1D * | inArray, |
| TDRectF * | outExtrema, | ||
| int | extremaType = 0 |
||
| ) | [virtual] |
Izracunaj maks in minimume extremaType = 0 (maksimum), 1 minimum
| int ImgProfile::drawResults | ( | IPLImage * | imgP, |
| int | drawProfile = 0, |
||
| SimpleData * | optionsP = NULL |
||
| ) | [virtual] |
Narisi na sliko grafe drawProfile : 0 vertikalni, 1 horizontalni, 2 oba
| virtual ImgProfile* ImgProfile::duplicate | ( | ) | [inline, virtual] |
Reimplemented from ImageProcessing.
| int ImgProfile::processROI | ( | int | rectIndex = -1, |
| int | channelIndex = 0, |
||
| IplImage * | inputChannelPtr = NULL, |
||
| SimpleData * | options = NULL |
||
| ) | [virtual] |
Reimplemented from ImageProcessing.
| int ImgProfile::processROIsFinalize | ( | SimpleData * | options = NULL | ) | [virtual] |
Reimplemented from ImageProcessing.
| int ImgProfile::processROIsInitialize | ( | SimpleData * | options = NULL | ) | [virtual] |
Reimplemented from ImageProcessing.
| int ImgProfile::runTest | ( | int | testCase = 0, |
| const char * | filen = NULL, |
||
| void * | params = NULL |
||
| ) | [static] |
Ekstremi: CvRectF struktura.
Profil regij : en profil v eni vrstici matrike Stevilo vrstic: stev.ROI regij * st.kanalov vh.slike;
Gaussian smoothing.
| float ImgProfile::pGraphW |
Koliko velik je graf: v % sirine regije.
Dolzina linije.
Detekcija lok. minimumov.
Normalizacija : 0 brez, 1 povpr.vr., 2 med 0 in 1.
Izracun: 0 vsota, 1 povpr., 2 st.dev., 3 max.
Kaj narisemo.