Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Saturday, October 27, 2012 2:11:32 AM(UTC)

kb7  
kb7

Groups: Registered
Posts: 71


Hello,

Is it possible to change the color of the line showing the edges to red (or some other color) from the default white color? I am using leadtools 17 and .Net classes.


 EdgeDetectEffectCommand command = new EdgeDetectEffectCommand();
            command.Level = 70;
            command.Threshold = 0;
            command.Type = EdgeDetectEffectCommandType.Smooth;
            command.Run(image);


Thanks....
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Monday, October 29, 2012 1:15:53 PM(UTC)

Danny H  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

To generate the color you're desiring you would need to use some form of color replacement.
<br><br>
Other options would involve using the different CombineCommands with specific flags to use the EdgeDetectEffectCommand results as a mask with a colored image or only specific color channels being used.<br><br>Perhaps the below link will assist you:<br>
<a href="http://www.leadtools.com/help/leadtools/v175/dh/to/leadtools.topics~leadtools.topics.detectingandenhancingedgesandlines.html">Detecting and Enhancing Edges and Lines</a>
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.068 seconds.