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
 SelectNonAlpha is not working as expected
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

yogiyang

India
725 Posts

Posted - Nov 26 2018 :  06:00:12  Show Profile  Reply
Hello,

After a bit of experimentaion we have come to know that SelectNonAlpha is not working as expected or is not working as it works in image editing software like Photoshop and Affinity Photo.

Here is the image as captured from Photoshop:


Here is the image as captured from ImageEn in which selection is created using SelectNonAlpha:


Are there any possibilities of solving this?

TIA


Yogi Yang

xequte

38196 Posts

Posted - Nov 26 2018 :  22:51:22  Show Profile  Reply
Hi Yogi

SelectNonAlpha works as follows: Pixels of Alpha value 0 will be unselected, 255 will be selected, and 1 - 254 partially selected.

So looking at the selection in the second image, it looks correct at face value. You would expect all the gray area to be partially alpha, so ImageEn has made them partially selected. The selection area shows the complete selection (including only partially selected values).

Looking at the selection image you have taken from PhotoShop. It appears they have not selected some of the high alpha value pixels. Perhaps they use a cut off value?

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

yogiyang

India
725 Posts

Posted - Nov 27 2018 :  01:31:21  Show Profile  Reply
Hello Nigel,

Thanks for the clarification.

Regards,


Yogi Yang
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: