Ask Your Question
-1

How to generate a shaped color gradient?

asked 2019-02-22 16:02:21 -0600

azagaya gravatar image

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.

edit retag flag offensive close merge delete

Comments

and how would that be related to opencv, a computer-vision library ?

berak gravatar imageberak ( 2019-02-22 16:25:38 -0600 )edit

Well, i just need that gradient to do other things afterwards with opencv, so as i'm already using opencv and i saw there were other questions about color graidents, i thought it was ok to ask here.

azagaya gravatar imageazagaya ( 2019-02-22 16:29:42 -0600 )edit
berak gravatar imageberak ( 2019-02-23 03:36:56 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-02-23 07:16:39 -0600

azagaya gravatar image

I think that's what I need! I'll try when I get home and confirm. Thanks a lot.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-02-22 16:02:21 -0600

Seen: 393 times

Last updated: Feb 22 '19