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 : Tuesday, June 17, 2008 3:41:50 AM(UTC)
Maxim Sokhatsky

Groups: Registered
Posts: 6


We have a problem with following image on Deskew operation.
We are using .NET and C API version of LT 15.0.

File Attachment(s):
4509-0632.tif (10kb) downloaded 22 time(s).
 

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 : Tuesday, June 17, 2008 12:19:21 PM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 764


What is the file version of Leadtools.dll and ltkrn15u.dll that you are using?

What is the problem with Deskew?  Could you explain in more detail?  Is this image you've posted the before or after?  Could you please post both so I can see exactly what the problem is?
 
#3 Posted : Wednesday, June 18, 2008 2:31:57 AM(UTC)
Maxim Sokhatsky

Groups: Registered
Posts: 6


LT VERSION 15.0.0.17 from "LIC - API - 1_18_2008" patch

Image after Deskew operation is attached
 
#4 Posted : Wednesday, June 18, 2008 2:40:48 AM(UTC)
Maxim Sokhatsky

Groups: Registered
Posts: 6


http://evdo.synrc.com/download/AFTER_DESKEW.tif
 
#5 Posted : Wednesday, June 18, 2008 7:29:07 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 764


The problem is that this image doesn't have much for the Deskew function to work with.  Deskew relies on horizontal lines formed by text.  Sometimes images can be mixed in with the text and the flag DSKW_DOCUMENTANDPICTURE will help, but this image doesn't have enough text to make up for it.

Therefore you will need to use L_DeskewBitmapExt which provides a few extra parameters to help you control the output.  I used the parameters below to obtain the resulting image which I've attached:

L_DeskewBitmapExt(pBitmap, NULL, 3000, 10, 0, DSKW_DOCUMENTANDPICTURE);

This is basically telling Deskew that the maximum angle it can rotate is 3000.
File Attachment(s):
DeskewExt.tif (12kb) downloaded 23 time(s).
 
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.073 seconds.