OpenCV bilateral Filter
in
Contributed Library Questions
•
11 months ago
Hi all:
I'm trying to implement a billateral filter using openCV library, but cant´figure the way the paramters work
and it seems the documentation does not fits with the implementation.
- import hypermedia.video.*;
- OpenCV opencv;
- void setup() {
- opencv = new OpenCV(this);
- opencv.allocate(640, 480);
- opencv.loadImage("imagen2.jpg");
- size(2*640, 480);
- }
- void draw() {
- image(opencv.image(),0, 0);
- opencv.blur( OpenCV.BILATERAL,1000,1000,0,0 );
- //seems to do the same as
- // opencv.blur( OpenCV.BILATERAL,1000,0,1000,1000 );
- image(opencv.image(),640, 0);
- opencv.restore();
- }
thanks in advantage
1