Ask Your Question

Ghosting like problem with image operations

asked 2013-06-12 08:06:38 -0500

drops gravatar image

updated 2013-06-12 08:07:20 -0500

I am trying to use the OpenCV java wrapper and I am stuck with a problem: I apply a image operation to a source image and the result image is broken. It looks like some kind of ghosting which is caused by different line lengths.

Example This is an example using the blur operation. Something similar happens with drawContours as well.

What could be the problem? Has someone seen something similar?

edit retag flag offensive close merge delete


So I've come across the exact same problem! I'm not sure what's causing it. I pass a grayscale image to blur or gaussianblur or canny and they all cause this odd ghosting. I'm just wondering if you were every able to solve this?

luisfmh gravatar imageluisfmh ( 2016-03-07 13:50:11 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-06-12 09:01:29 -0500

SR gravatar image

I guess that those operations only work on gray-scale images. They should check for the proper number of channels though.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2013-06-12 08:06:38 -0500

Seen: 266 times

Last updated: Jun 12 '13