LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Draw Circle Using Array

 

Hi,

 

I have a sizeable array which has an N by N size. How can I draw a circle in my array using digits, 0 or 255, in U8 representation?

 

I have a Flatten Pixmap.vi and Draw Flatten Pixmap.vi to assist in the drawing.

 

So hope someone out there can help to enlighten me in the logic.

 

Thanks and Regards,

Jack

0 Kudos
Message 1 of 4
(3,001 Views)
There is a function for the 2D picture control that draws real nice circles. You can then turn that picture into whatever you want.

What is it that you are trying to accomplish?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 4
(2,990 Views)

Hi Mike,

 

Actually I am trying to extract out a jpeg image which has a circle in it and the size varies. The jpeg image is quite standard, but the circle size varies.

 

I have converted the image to 8bit pixmap array in grayscale format. But some of the arc of the circle has gone missing due to some colors overlapped the arc color.

 

So I want to get back the black circumference instead of the overlapping color.

 

I have attached a sample for reference.

0 Kudos
Message 3 of 4
(2,981 Views)

Hi Mike,

 

Sorry for the missing image

 

Image.gif

0 Kudos
Message 4 of 4
(2,974 Views)