Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how can i blurring image using opencv in c# using visual studio??
if i using c# blurring image is too slow when the picture use high resolution
Posted

1 solution

//
if you are using EmguCV 2.4.9 version..
following part code will be the solutions....


private Capture _capture = null;
Image<Bgr, Byte> frame;


_capture = new Capture(0);
_capture.SetCaptureProperty(Emgu.CV.CvEnum.CAP_PROP.CV_CAP_PROP_FPS, 30);
_capture.SetCaptureProperty(Emgu.CV.CvEnum.CAP_PROP.CV_CAP_PROP_FRAME_HEIGHT,240); _capture.SetCaptureProperty(Emgu.CV.CvEnum.CAP_PROP.CV_CAP_PROP_FRAME_WIDTH, 320);

frame = _capture.QueryFrame();
frame.SmoothBlur(320, 240);</pre>

/*
similar function
frame.SmoothBlur;
frame.SmoothGaussian;
frame.SmoothMedian;
*/


i Have done some google.. go for..
http://www.emgu.com/wiki/files/2.0.0.0/html/4d3d4a90-feb3-ff76-0471-7ae2d3917e7c.htm[^]

[^]

http://stackoverflow.com/questions/7914243/emgucv-how-to-specify-jpeg-quality-when-saving-image[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900