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 : Monday, December 14, 2009 12:58:49 AM(UTC)

gag2463  
gag2463

Groups: Registered
Posts: 19


1 . leadtools support sharp an image by  parameter of -1000-  1000,  but how to EdgeSharpen image by user-defined laplacian matrix?..it seems that the LTs do't  provide the  interface....

2.  if  I filled the lut, how to set the lut to img and invert the pixel data? I find the SetLookupTable() is just for painting , does LT provide cmd to invert the pixel data by lut ?

 

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, December 14, 2009 6:24:45 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,028

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

Which version of LEADTOOLS (v15, v16.5, etc) do you have and which LEADTOOLS programming interface (C DLL, C++ Class library, .NET, etc.) are you using?

For example, if you want to use the C DLL API functions to apply a Laplacian filter for enhancing edges, you can use the L_EdgeDetectorBitmap with one of the Laplace flags and then use the L_CombineBitmap function to combine this resulting bitmap with the original to enhance the lines in the original.
For details, see these help topics:
- Detecting and Enhancing Edges and Lines
http://www.leadtools.com/Help/LEADTOOLS/v16/Main/API/Dllsteps/TutEdge.htm
- L_EdgeDetectorBitmap
http://www.leadtools.com/help/LEADTOOLS/v16/Main/API/Dllref/L_EdgeDetectorBitmap.htm

To define your own filter using a matrix, use the L_SpatialFilterBitmap and check these help topics:
http://www.leadtools.com/Help/LEADTOOLS/v16/Main/API/Dllref/L_SpatialFilterBitmap.htm
http://www.leadtools.com/help/leadtools/v16/MAIN/API/Dlldtyp/SPATIALFLT.htm
http://www.leadtools.com/help/leadtools/v16/MAIN/API/Dllaux/spaflt.htm

About your second question, please create a new post for it since it is not related to the first question. In the new post, please include details about the LEADTOOLS version you are using and the LEADTOOLS programming interface you use.

 
#3 Posted : Monday, December 14, 2009 4:03:24 PM(UTC)

gag2463  
gag2463

Groups: Registered
Posts: 19


thank u , first.

using LTs  version 16.5, and .net . Is there c#'s interface like the c 's?

 
#4 Posted : Tuesday, December 15, 2009 4:35:33 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,028

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

Using LEADTOOLS .NET programming interface, these are the commands you might need:
- EdgeDetectEffectCommand Class
http://www.leadtools.com/Help/LEADTOOLS/v16/DH/PE/Leadtools.ImageProcessing.Effects~Leadtools.ImageProcessing.Effects.EdgeDetectEffectCommand.html

- SpatialFilterCommand Class
http://www.leadtools.com/Help/LEADTOOLS/v16/DH/PE/Leadtools.ImageProcessing.Effects~Leadtools.ImageProcessing.Effects.SpatialFilterCommand.html

- UserFilterCommand Class
http://www.leadtools.com/help/leadtools/v16/dh/pe/Leadtools.ImageProcessing.Effects~Leadtools.ImageProcessing.Effects.UserFilterCommand.html
 
#5 Posted : Tuesday, December 15, 2009 3:30:36 PM(UTC)

gag2463  
gag2463

Groups: Registered
Posts: 19


Thank u very much !~

I got it!~

 
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-2020, Yet Another Forum.NET
This page was generated in 0.124 seconds.