/home/laradmin/lar/perception/road/caltech_lanes/src/Morphology_2.cpp File Reference

Advanced morphology Transformations sample code. More...

#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp"
#include <stdlib.h>
#include <stdio.h>
Include dependency graph for Morphology_2.cpp:

Go to the source code of this file.

Functions

int main (int, char **argv)
void Morphology_Operations (int, void *)

Variables

Mat dst
int const max_elem = 2
int const max_kernel_size = 21
int const max_operator = 4
int morph_elem = 0
int morph_operator = 0
int morph_size = 0
Mat src
 Global variables.
const char * window_name = "Morphology Transformations Demo"

Detailed Description

Advanced morphology Transformations sample code.

Author:
OpenCV team

Definition in file Morphology_2.cpp.


Function Documentation

int main ( int  ,
char **  argv 
)

main

Load an image

Create window

Create Trackbar to select Morphology operation

Create Trackbar to select kernel type

Create Trackbar to choose kernel size

Default start

Definition at line 59 of file Morphology_2.cpp.

void Morphology_Operations ( int  ,
void *   
)

Function Headers

Morphology_Operations

Apply the specified morphology operation

Definition at line 93 of file Morphology_2.cpp.


Variable Documentation

Mat dst

Definition at line 41 of file Morphology_2.cpp.

int const max_elem = 2

Definition at line 47 of file Morphology_2.cpp.

int const max_kernel_size = 21

Definition at line 48 of file Morphology_2.cpp.

int const max_operator = 4

Definition at line 46 of file Morphology_2.cpp.

int morph_elem = 0

Definition at line 43 of file Morphology_2.cpp.

int morph_operator = 0

Definition at line 45 of file Morphology_2.cpp.

int morph_size = 0

Definition at line 44 of file Morphology_2.cpp.

Mat src

Global variables.

Definition at line 41 of file Morphology_2.cpp.

const char* window_name = "Morphology Transformations Demo"

Definition at line 50 of file Morphology_2.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


caltech_lanes
Author(s): Morais
autogenerated on Wed Jul 23 04:33:34 2014