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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Smart Eraser Brush Tool ?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
klausdoege Posted - Aug 27 2020 : 08:07:08
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
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Aug 27 2020 : 19:51:29
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