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
 Smart Eraser Brush Tool ?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

klausdoege

Germany
389 Posts

Posted - Aug 27 2020 :  08:07:08  Show Profile  Reply
Hello,
For Smart Erasser, more description is needed. It is not clear what the tool does exactly.
The example is also not meaningful.
// Use Smart Eraser Brush tool
ImageEnView1.ChromaKeyOptions.Tolerance := 0.15;
ImageEnView1.BrushTool.BrushFill := iebfSmartEraser;
ImageEnView1.MouseInteractGeneral := [ miBrushTool ];

The reaction is not predictable for me.
Is it possible to describe the intended function in more detail.


Klaus
www.klausdoege.de

xequte

38615 Posts

Posted - Aug 27 2020 :  19:51:29  Show Profile  Reply
Hi Klaus

iebfSmartEraser uses a Chroma Key algorithm to determine the image background (i.e. it attempts to erase content that has a similar color to where first clicked). It works best with on images with a solid, consistent background.

Options are specified by:

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

In particular, you should configure the Tolerance and Saturation:

https://www.imageen.com/help/TIEChromaKeyOptions.Tolerance.html
https://www.imageen.com/help/TIEChromaKeyOptions.Saturation.html

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: