LEADTOOLS Support
Imaging
Imaging SDK Questions
How to EdgeSharpen img by user-defined laplacian matrix?
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, December 14, 2009 12:58:49 AM(UTC)
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 ?
#2
Posted
:
Monday, December 14, 2009 6:24:45 AM(UTC)
Groups: Guests
Posts: 3,022
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)
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)
Groups: Guests
Posts: 3,022
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)
Groups: Registered
Posts: 19
Thank u very much !~
I got it!~
LEADTOOLS Support
Imaging
Imaging SDK Questions
How to EdgeSharpen img by user-defined laplacian matrix?
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.