Ask Your Question
0

Ghosting like problem with image operations

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

drops gravatar image

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

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

Comments

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 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

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

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

Question Tools

Stats

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

Seen: 482 times

Last updated: Jun 12 '13