#include <mainFrame.h>

Public Member Functions | |
| MainFrame (QWidget *parent=0, Qt::WFlags flags=0) | |
Protected Member Functions | |
| void | closeEvent (QCloseEvent *event) |
Private Slots | |
| void | openDir () |
| void | loadPreLaplace4 () |
| void | loadPreLaplace8 () |
| void | loadPreSobelX () |
| void | loadPreSobelMin () |
| void | loadPreGaussianLoG () |
| void | loadPreLoG () |
| void | loadPreThres () |
| void | loadPreCanny () |
| void | initPre () |
| void | loadSegContourThres () |
| void | loadSegContourSnake () |
| void | loadSegHoughStdCanny () |
| void | loadSegHoughProCanny () |
| void | loadSegScaleSpace () |
| void | loadSegScaleSpaceThres () |
| void | loadSegBlobsThres () |
| void | loadSegBlobsCanny () |
| void | initSeg () |
| void | openDialogMatrix () |
| void | showAbout () |
| void | loadImageSeq () |
| void | loadAutoSeq () |
| void | loadStepSeq () |
| void | loadBackSeq () |
| void | loadNextSeq () |
| void | changeContourCheck (bool) |
| void | changeHoughParam (int) |
| void | changeBlobToTrack (bool) |
| void | changeBlobKalmanOpts (bool) |
| void | addKalmanPrediction () |
| void | addKalmanBlobPrediction () |
| void | updateKalmanPrediction () |
| void | updateKalmanBlobPrediction () |
| void | clearKalman () |
| void | clearBlobKalman () |
Private Member Functions | |
| void | initFilterMatrix () |
| QStringList | loadSeq () |
| void | clearCommonKalman () |
| void | loadStepImage (int imageListCount) |
| void | ableStepOptions () |
| void | disableStepOptions () |
| IplImage * | paintCutImage (IplImage *src) |
| IplImage * | getGrayImage (IplImage *) |
| void | getDlgMatrixValues () |
Static Private Member Functions | |
| static void | onMouseSelect (int event, int x, int y, int flags, void *param) |
| static void | onMouseUpdate (int event, int x, int y, int flags, void *param) |
Private Attributes | |
| Ui::mainFrameClass | ui |
| QString | qPathLoaded |
| int | closeCvWindow |
| QStringList | fileList |
| CBlobResult | filterBlobs |
| CBlob | blobBegin |
| QString | sSeparator |
| int | iStepFrame |
| float | filterData [9] |
| dialogMatrix | dlgMat |
Static Private Attributes | |
| static Tracking | track |
Class MainFrame. QMainWindow object, main interfaz front, allowing almost all user interactions. It contains the image sequence iteration methods
Definition at line 24 of file mainFrame.h.
| MainFrame::MainFrame | ( | QWidget * | parent = 0, |
|
| Qt::WFlags | flags = 0 | |||
| ) |
Constructor.
| parent | Parent widget | |
| flags | Qt Flags |
Definition at line 5 of file mainFrame.cpp.

| void MainFrame::ableStepOptions | ( | ) | [private] |
Private function. Able Back and Next step buttons
Definition at line 703 of file mainFrame.cpp.

| void MainFrame::addKalmanBlobPrediction | ( | ) | [private, slot] |
Private slot. Kalman blob select
Definition at line 353 of file mainFrame.cpp.


| void MainFrame::addKalmanPrediction | ( | ) | [private, slot] |
Private slot. Kalman point select
Definition at line 350 of file mainFrame.cpp.


| void MainFrame::changeBlobKalmanOpts | ( | bool | bCheck | ) | [private, slot] |
Private slot. To enable - disable Blob Tracking options
Definition at line 315 of file mainFrame.cpp.


| void MainFrame::changeBlobToTrack | ( | bool | bCheck | ) | [private, slot] |
Private slot. To disable Blob Tracking check
Definition at line 310 of file mainFrame.cpp.

| void MainFrame::changeContourCheck | ( | bool | bCheckContour | ) | [private, slot] |
Private slot. To disable rectangle contour options
Definition at line 283 of file mainFrame.cpp.

| void MainFrame::changeHoughParam | ( | int | index | ) | [private, slot] |
Private slot. To enable - disable Hough options
Definition at line 290 of file mainFrame.cpp.

| void MainFrame::clearBlobKalman | ( | ) | [private, slot] |
Private slot. Kalman blob clear
Definition at line 457 of file mainFrame.cpp.


| void MainFrame::clearCommonKalman | ( | ) | [private] |
Private function. Clear Kalman common options
Definition at line 475 of file mainFrame.cpp.

| void MainFrame::clearKalman | ( | ) | [private, slot] |
Private slot. Kalman clear
Definition at line 441 of file mainFrame.cpp.


| void MainFrame::closeEvent | ( | QCloseEvent * | event | ) | [protected] |
| void MainFrame::disableStepOptions | ( | ) | [private] |
Private function. Disable Back and Next step buttons
Definition at line 708 of file mainFrame.cpp.

| void MainFrame::getDlgMatrixValues | ( | ) | [private] |
Recover matrix values from dialog
Definition at line 277 of file mainFrame.cpp.

| IplImage * MainFrame::getGrayImage | ( | IplImage * | src_image | ) | [private] |
Return gray image from color or whatever
Definition at line 713 of file mainFrame.cpp.

| void MainFrame::initFilterMatrix | ( | ) | [private] |
Private function. Initialize filter matrix
Definition at line 89 of file mainFrame.cpp.

| void MainFrame::initPre | ( | ) | [private, slot] |
Private slot. Initialize preprocessor options
Definition at line 95 of file mainFrame.cpp.


| void MainFrame::initSeg | ( | ) | [private, slot] |
Private slot. Initialize segmentation options
Definition at line 106 of file mainFrame.cpp.

| void MainFrame::loadAutoSeq | ( | ) | [private, slot] |
Private slot. Try to show sequence image every FPS milliseconds
Definition at line 640 of file mainFrame.cpp.


| void MainFrame::loadBackSeq | ( | ) | [private, slot] |
Private slot. Show step by step backward image
Definition at line 695 of file mainFrame.cpp.


| void MainFrame::loadImageSeq | ( | ) | [private, slot] |
Private slot. Try to load image sequence from path
Definition at line 605 of file mainFrame.cpp.


| void MainFrame::loadNextSeq | ( | ) | [private, slot] |
Private slot. Show step by step forward image
Definition at line 687 of file mainFrame.cpp.


| void MainFrame::loadPreCanny | ( | ) | [private, slot] |
Private slot. Load predefined Canny configuration
Definition at line 195 of file mainFrame.cpp.


| void MainFrame::loadPreGaussianLoG | ( | ) | [private, slot] |
Private slot. Load predefined LoG with Gaussian noise filter
Definition at line 167 of file mainFrame.cpp.


| void MainFrame::loadPreLaplace4 | ( | ) | [private, slot] |
Private slot. Load predefined laplace 4
Definition at line 120 of file mainFrame.cpp.


| void MainFrame::loadPreLaplace8 | ( | ) | [private, slot] |
Private slot. Load predefined laplace 8
Definition at line 133 of file mainFrame.cpp.


| void MainFrame::loadPreLoG | ( | ) | [private, slot] |
Private slot. Load predefined LoG
Definition at line 177 of file mainFrame.cpp.


| void MainFrame::loadPreSobelMin | ( | ) | [private, slot] |
Private slot. Load predefined Sobel Min(x,y)
Definition at line 156 of file mainFrame.cpp.


| void MainFrame::loadPreSobelX | ( | ) | [private, slot] |
Private slot. Load predefined Sobel X
Definition at line 146 of file mainFrame.cpp.


| void MainFrame::loadPreThres | ( | ) | [private, slot] |
Private slot. Load predefined useful Threshold and Noise filters
Definition at line 186 of file mainFrame.cpp.


| void MainFrame::loadSegBlobsCanny | ( | ) | [private, slot] |
Private slot. Load predefined blobslib configuration with Canny
Definition at line 257 of file mainFrame.cpp.


| void MainFrame::loadSegBlobsThres | ( | ) | [private, slot] |
Private slot. Load predefined blobslib configuration with threshold
Definition at line 251 of file mainFrame.cpp.


| void MainFrame::loadSegContourSnake | ( | ) | [private, slot] |
Private slot. Load predefined Contour and Snake detected
Definition at line 209 of file mainFrame.cpp.


| void MainFrame::loadSegContourThres | ( | ) | [private, slot] |
Private slot. Load predefined Contour configuration with Threshold
Definition at line 203 of file mainFrame.cpp.


| void MainFrame::loadSegHoughProCanny | ( | ) | [private, slot] |
Private slot. Load predefined Hough Probabilistic with Canny
Definition at line 224 of file mainFrame.cpp.


| void MainFrame::loadSegHoughStdCanny | ( | ) | [private, slot] |
Private slot. Load predefined Hough Standard with Canny
Definition at line 218 of file mainFrame.cpp.


| void MainFrame::loadSegScaleSpace | ( | ) | [private, slot] |
Private slot. Load predefined Scale-Space configuration
Definition at line 233 of file mainFrame.cpp.


| void MainFrame::loadSegScaleSpaceThres | ( | ) | [private, slot] |
Private slot. Load predefined Scale-Space configuration with threshold
Definition at line 242 of file mainFrame.cpp.


| QStringList MainFrame::loadSeq | ( | ) | [private] |
Private function. To get QStringList
Definition at line 597 of file mainFrame.cpp.

| void MainFrame::loadStepImage | ( | int | imageListCount | ) | [private] |
Private loadStepImage. Given an index, load image from fileStepList
| imageListCount | int index |
Definition at line 486 of file mainFrame.cpp.


| void MainFrame::loadStepSeq | ( | ) | [private, slot] |
Private slot. Show sequence image step by step
Definition at line 666 of file mainFrame.cpp.


| void MainFrame::onMouseSelect | ( | int | event, | |
| int | x, | |||
| int | y, | |||
| int | flags, | |||
| void * | param | |||
| ) | [static, private] |
On mouse function when button Kalman Select is pressed
Definition at line 374 of file mainFrame.cpp.


| void MainFrame::onMouseUpdate | ( | int | event, | |
| int | x, | |||
| int | y, | |||
| int | flags, | |||
| void * | param | |||
| ) | [static, private] |
On mouse function when button Kalman Update is pressed
Definition at line 405 of file mainFrame.cpp.


| void MainFrame::openDialogMatrix | ( | ) | [private, slot] |
Private slot. Open Filter-Matrix menu dialog
Definition at line 265 of file mainFrame.cpp.


| void MainFrame::openDir | ( | ) | [private, slot] |
Private slot. Open image sequence directory
Definition at line 82 of file mainFrame.cpp.

| IplImage * MainFrame::paintCutImage | ( | IplImage * | src | ) | [private] |
Private paintCutImage. Show and Apply ROI before dealing with the image
| src | IplImage |
Definition at line 324 of file mainFrame.cpp.

| void MainFrame::showAbout | ( | ) | [private, slot] |
Private slot. Show Help-About
Definition at line 70 of file mainFrame.cpp.

| void MainFrame::updateKalmanBlobPrediction | ( | ) | [private, slot] |
Private slot. Kalman blob update
Definition at line 398 of file mainFrame.cpp.


| void MainFrame::updateKalmanPrediction | ( | ) | [private, slot] |
Private slot. Kalman update
Definition at line 394 of file mainFrame.cpp.


CBlob MainFrame::blobBegin [private] |
Blob to predict
Definition at line 160 of file mainFrame.h.
int MainFrame::closeCvWindow [private] |
Control to close previous window
Definition at line 154 of file mainFrame.h.
dialogMatrix MainFrame::dlgMat [private] |
dialog matrix non modal window
Definition at line 173 of file mainFrame.h.
QStringList MainFrame::fileList [private] |
Container to image list
Definition at line 156 of file mainFrame.h.
CBlobResult MainFrame::filterBlobs [private] |
Blobs to kalman prediction
Definition at line 158 of file mainFrame.h.
float MainFrame::filterData[9] [private] |
double filter matrix values
Definition at line 171 of file mainFrame.h.
int MainFrame::iStepFrame [private] |
Actual image sequence index
Definition at line 164 of file mainFrame.h.
QString MainFrame::qPathLoaded [private] |
Path with images loaded
Definition at line 152 of file mainFrame.h.
QString MainFrame::sSeparator [private] |
Message separator
Definition at line 162 of file mainFrame.h.
Tracking MainFrame::track [static, private] |
Tracking object
Definition at line 175 of file mainFrame.h.
Ui::mainFrameClass MainFrame::ui [private] |
Private Ui. To use GUI options
Definition at line 129 of file mainFrame.h.
1.6.2