Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to generate a shaped color gradient?

Hi, I'm trying to generate a shaped color gradient. I mean, i have something like this:

image description

Which i obtained from a color image, making al non transparent pixels black. And i want to get something like this:

image description

(The center is white, not transparent)

I'm a begginer with opencv and image processing. I only found this question, and it was useful but is not what i'm looking for. Could anyone helps me please?

Thanks in advance.