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
 ImageEnView1.Proc.EdgeDetect

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 - Mar 05 2012 : 13:59:25
Hello,
I use ImageEnView1.Proc.Blur with a selection, so that works out.
If I use ImageEnView1.Proc.EdgeDetect with a selection however,
then, the entire picture is processed. Why?


253.6 KB


503.44 KB

Klaus
www.klausdoege.de
4   L A T E S T    R E P L I E S    (Newest First)
klausdoege Posted - Mar 07 2012 : 10:52:43
Hello,
tks, i will do it.

Klaus
www.klausdoege.de
fab Posted - Mar 06 2012 : 00:19:19
Hello,
you could create a new layer from current selection with LayersCreateFromSelection(), and then apply EdgeDetect, convert the layer to 24 bit and finally merge back with the background.

klausdoege Posted - Mar 05 2012 : 15:07:12
Hello Fabrizio,
it would be possible to copy the selection mask in a Layermask.
Then, I could realize it on the basis of a layer.

Klaus
www.klausdoege.de
fab Posted - Mar 05 2012 : 14:23:48
Hello,
because edge detect (EdgeDetect_ShenCastan) converts the image to black/white (PixelFormat becomes ie1g). An image cannot be part B/W and part RGB.
This happens even with EdgeDetect_Sobel where a conversion to ie8g or ie1g can be done on some circumstances.