Uploaded by elisson357 on Nov 3, 2011
This is a demonstration of the result and difference comparison between Sobel Y and X, notice how horizontal lines highlighted in one and vertical lines are highlighted on the other ...
Then i show the difference between the noise from laplace with and without the
cv.Smooth function ...
You can process contours in opencv
using the convolution matrix :
Sobel [X] : -1 -2 -1
Sobel [X] : 0 0 0
Sobel [X] : 1 2 1
Sobel [Y] : -1 0 1
Sobel [Y] : -2 0 2
Sobel [Y] : 1 0 1
and
Laplace : -1 -1 -1 OR 0 -1 0
Laplace : -1 8 -1 OR -1 4 -1
Laplace : -1 -1 -1 OR 0 -1 0
You can see some code for convoluting here :
https://github.com/elissonmichael/OpenCV_AND_OR_OpenGL/blob/master/Filtros_Co...
Or you can use OpenCV functions :
cv.Sobel and cv.Laplace
depth of the images should be cv.IPL_DEPTH_16S
so you'll have to use cv.ConvertScaleAbs
I hope it will help someone that is starting with opencv ...
Esse video mostra a diferença entre o filtro de sobel aplicado em x e y, vc pode notar a diferença de realce entre as linhas horizontais e verticais em cada um.
Depois mostrei a diferença da aplicação do filtro de Laplace com e sem a aplicação da função cv.Smooth para suavição e remoção de ruídos.
Vc pode obter esses resultados por convolução, acima vc encontra as matrizes de cada um e um link se quiser ver algum código.
Vc também pode chegar a esses resultados usando as funções do OpenCv
cv.Sobel e cv.Laplace a profundidade deve ser cv.IPL_DEPTH_16S
então vc vai precisar usar cv.ConvertScaleAbs
Espero que isso possa ajudar quem estiver tendo dificuldades
Category:
Tags:
- Python (programming Language)
- OpenCV
- Without
- with
- gauss
- aplication
- open
- cv
- python
- image
- processing
- processamento
- imagens
- contornos
- contours
- Laplace
- laplace
- sobel
- filters
- filtros
- demonstration
- demonstra
License:
Standard YouTube License
-
0 likes, 0 dislikes
2:00
Example OpenCV - Pythonby MrGgarri273 views
1:25
WowWee Rovio tracking green object using OpenCV / Pythonby simondlevy197 views
0:38
LaserDuck.py python opencv image recognitionby robbierickman191 views
4:25
Webcambilder mit Python und OpenCV am Bildschirm anzeigenby openscreencast345 views
0:28
Python + OpenCV (no audio)by mailson100 views
0:05
Capturing video with python and opencvby decil3287 views
0:37
CornerRecogniser.mp4by chakrigudboyful68 views
1:24
OpenCV Python Tutorialby MrCybin4,343 views
0:31
Canny Edge Detection test using OpenCVby melonus1,544 views
1:11
Automatic Drawing (homebrew Scribbler) and Optical Flow data from OpenCVby joshwedlake1370 views
1:14
python openCV theremin test 1by uberscientist103 views
0:27
SURF Tracking OpenCvby vodkrash26,679 views
1:48
Controlling mouse cursor by tracking red objects using python opencvby spellboundthoughts504 views
1:55
OpenCV: realtime face detection in pythonby lucaamore4,213 views
1:35
Arduino-Powered Webcam Mountby wheatiesbox442 views
0:46
OpenCv circle detectionby tromm82480 views
7:08
Install OpenCV 2.3 on Ubuntu with Python support.flvby LIFESAVER101JD2,033 views
0:13
openCV Playing with edge and contour methodsby zizipoil3,895 views
0:49
Python OpenCV video recordingby armstid817 views
0:34
multiscale turing pattern (python+opencv)by ZnahNah126 views
- Loading more suggestions...
Link to this comment:
All Comments (0)