Fill a circle with Gaussian districution- like colour contour

2 ビュー (過去 30 日間)
Eli Syne
Eli Syne 2021 年 2 月 17 日
回答済み: darova 2021 年 2 月 18 日
Hi,
I am new to the Image Processing Toolbox. I am currently using 'insertshape' to generate a 'filledcircle' on top of an existing image. Is it possible to fill the circle with a colour contour (example as shown in the figure below) which changes as I modify the gaussian function?
I have a for loop that changes the gaussian distribution by changing the mean value for each time stamp which I can associate with RGB values to get the contour. However, I am not sure how I can fill the colour contour into the circle.
Any help or advice would be much appreciated.
Thank you.

回答 (1 件)

darova
darova 2021 年 2 月 18 日
here is a shot
clc,clear
[x,y,z] = sphere(10);
pcolor(x,y,z,'edgecolor','none')

カテゴリ

Help Center および File ExchangeContour Plots についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by