ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Detect special color range in imageenview in delph
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

hamed1234

5 Posts

Posted - Aug 26 2020 :  19:44:20  Show Profile  Reply
Hi,
I want to detect green colors ( range of green colors) in special region of imageenview and get Coordinates of detected colors .
How can I do this? Is there any example?
Please guide me.
I use delphi.
Thank you.

xequte

38615 Posts

Posted - Aug 27 2020 :  19:57:42  Show Profile  Reply
Hi

You can use SelectColors to select a range of colors in an image.

https://www.imageen.com/help/TImageEnView.SelectColors.html


You can then use the selection mask:

https://www.imageen.com/help/TImageEnView.SelectionMask.html

Or selected area to iterate through the pixels:

https://www.imageen.com/help/TImageEnView.SelectedRect.html
https://www.imageen.com/help/TImageEnView.IsPointInsideSelection.html

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

hamed1234

5 Posts

Posted - Aug 29 2020 :  06:59:03  Show Profile  Reply
Thank you xequte
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: