Contour points

Post Reply
Natter
Posts: 1226
Joined: Mon May 14, 2007 9:49 am

Contour points

Post by Natter »

Hi,

There is a one-color arbitrary contour. I need to get the screen coordinates of the points that make up this contour. How can I do this ?
User avatar
Antonio Linares
Site Admin
Posts: 42268
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Contour points

Post by Antonio Linares »

If the image is not very large you could use GetPixel( hDC, x, y ) --> nColor
regards, saludos

Antonio Linares
www.fivetechsoft.com
Natter
Posts: 1226
Joined: Mon May 14, 2007 9:49 am

Re: Contour points

Post by Natter »

Thanks !
Natter
Posts: 1226
Joined: Mon May 14, 2007 9:49 am

Re: Contour points

Post by Natter »

The screen shows a contour of the same color. I need to get the screen coordinates of the points of this contour via GetPixel (in 5 pixel increments).
Does anyone have an algorithm for such a bypass (so as not to reinvent the wheel :D ) ?
User avatar
Jimmy
Posts: 1733
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: Contour points

Post by Jimmy »

hi,
Natter wrote:There is a one-color arbitrary contour. I need to get the screen coordinates of the points that make up this contour. How can I do this ?
i have a App called "Skincode" which can generate a Array from contour of a Bitmap.
write me a private Email and i can send it to you.
greeting,
Jimmy
Natter
Posts: 1226
Joined: Mon May 14, 2007 9:49 am

Re: Contour points

Post by Natter »

Hi, Jimmy ! Thanks for the offer, but I do not know your email. :(
User avatar
Jimmy
Posts: 1733
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: Contour points

Post by Jimmy »

hi Natter,

write me a Email to : Auge_Ohr AT web.de
and i will send you "skincode" app to generate Array for aRegion of Bitmap
greeting,
Jimmy
Natter
Posts: 1226
Joined: Mon May 14, 2007 9:49 am

Re: Contour points

Post by Natter »

Jimmy, I sent a letter
Post Reply