Академический Документы
Профессиональный Документы
Культура Документы
5.
:
www.uralvision.blogspot.com
perevalovds@gmail.com
/ 2010
:
void GaussianBlur(const Mat& src,
//
Mat& dst,
//
Size ksize,
//
double sigmaX,
//
double sigmaY=0,
int borderType=BORDER_DEFAULT) //
//
- src .
- dst , src.
- , dst == src.
- ksize - , .
- sigmaX, sigmaY - X Y. 0,
ksize.
- borderType - , , BORDER_REFLECT.
image
blurred1
http://www.innocentenglish.com/funny-pics/best-pics/stairs-sidewalk-art.jpg
blurred2
, :
medianBlur -
blur - ()
filter2D - ,
GaussianBlur
medianBlur
blur
11x11 .
.
- .
- - .
1. ,
.
.
- , .
2. .
,
.
201x201
, http://www.
eyesontutorials.com/images/Designing/Jeka/tut180_dark_wallpaper/12.jpg
.
.
3. .
( :
).
a
~2a.
3 7, 20.
.
4. ,
:
- .
- " " (motion blur).
2
,
.
, .
1. , -
, .
2.
( ),
( ).
3. 100 .
4. - youtube, cpp-.
2
,
OpenCV avi .
.
1. .bmp,
image000.bmp, image001.bmp, ....
2. avi- VirtualDub
(File->Open video file, .
Video -> Compresson, .
, File -> Save as avi... - avi-).
3. youtube.
1) ,
(. 2- , "5. ")
2) resize()
3)
(. 2- , "3. ")
" ".
cpp-, .
.
3
,
N=20 - image[i], ,
1.0 / N * image[0] + 1.0 / N * image[1] + ... + 1.0 / N * image[N-1];
.