Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Smoothing image to a Gradient-like state

I have a dataset of Depth images where the structure is mostly like this:

image description

Is there a way I could use OpenCV to convert this block-like artifacts to a smooth gradient-like image? to something like this:

image description

Using Gaussian blurring actually blurs the details too much to be useful... Here's an example image I want to smooth:

image description

Thanks