Search code examples
imageimage-processingjavacv

How to use medianBlur in javaCV


which library do i need to import to use medianBlur? can someone provide a sample code? thank you.


Solution

  • cvSmooth(srcImage, smoothImage, CV_MEDIAN, 3, 0, 0, 0);
    

    3 is the kernal size