import static com.googlecode.javacv.cpp.opencv_core.*;
import static com.googlecode.javacv.cpp.opencv_imgproc.*;
import static com.googlecode.javacv.cpp.opencv_highgui.*;
Image Smoothing:
public static void smoothSave(String filename) throws Exception {
IplImage image = cvLoadImage(filename);
System.out.println(image.nSize());
if (image != null) {
cvSmooth(image, image, CV_BLUR, 3);
cvSaveImage("smoothed_" + filename, image);
cvReleaseImage(image);
}
}
Hi i am getting executed without errors but i m not getting the smoothned image as the result...and also please complete the code..It would be helpful for sutdents like us who r beginers.
ReplyDeletePlease try increasing filter size ( kernel size).
DeleteFind the complete code at http://ganeshtiwaridotcomdotnp.blogspot.com/2011/12/javacv-capture-save-flip-show-live.html
Deletehi ganesh
ReplyDeleteis there possible to make video from images in android using javacv?