LEADTOOLS Support
Imaging
Imaging SDK Questions
Changing the color of the line showing edges in EdgeDetectEffectCommand
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Saturday, October 27, 2012 2:11:32 AM(UTC)
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....
#2
Posted
:
Monday, October 29, 2012 1:15:53 PM(UTC)
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>
LEADTOOLS Support
Imaging
Imaging SDK Questions
Changing the color of the line showing edges in EdgeDetectEffectCommand
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.