Ask Your Question

How to draw this follwing picture ?

asked 2017-09-02 02:46:28 -0500

kyuu gravatar image

image descriptionsource:

I am learning how to draw object (shape) using opencv. I could draw circles with a specific color, but I don't know how to draw a circle with different color as shown in the picture.

Does anyone know how to draw this picture using opencv drawing function only. The shape does not have to be elips. It could be a circle or anything.


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-09-02 03:01:02 -0500

LBerger gravatar image

Read your link :

The example below shows something more interesting: Position and velocity are correlated.

and answer is here(from

Now you can draw a gaussian and use warpperspective to rotate your image or draw a gaussian with phi(x,y) = gray level

edit flag offensive delete link more


Even though this is correct, why in the world would someone want to use OpenCV to draw visuals of a Gaussian distribution o_O?

StevenPuttemans gravatar imageStevenPuttemans ( 2017-09-04 05:41:46 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-09-02 02:46:28 -0500

Seen: 77 times

Last updated: Sep 02 '17