Data capture, character recognition OCR ICR OMR CHR BCR, image processing, forms data capture, document indexing, automatic data extraction Data capture, character recognition OCR ICR OMR CHR BCR, image processing, forms data capture, document indexing, automatic data extraction
Recogniform Despeckle SDK

Recogniform Despeckle SDK

First of DESPECKLE
This despeckle sdk (API) allows the removal of speckle in scanned or faxed images. The speckle is the presence of black points of noise in images acquired by a scanner or received by fax.

Cleaning images is a very important preprocessing step to improve the compression rate, the visualization aspect and the accuracy using ICR/OCR.
After of DESPECKLE
Despeckle (speckle detection and deletion) can be very easily performed, specifying the maximum width and height of isolated black elements to be considered as speckle.
You have obviuosly to supply a monochrome DIB (Device Indipendent Bitmap) in input to the process.
The despeckle process is fast and accurate.

Demo
For testing this library you can download a demo application (400 Kb) that allows you to use this function with your TIF images: please give us your feedback and your comments after the test ! In the last version of the library there's a new option, that allows you to perform smart despeckle: textual points (.,;:' ") won't be removed even if their size is smaller than noise size!

Here you can see the source code in Microsoft Visual C++ of a sample application using the despeckle library:

#include "stdafx.h"
#include "stdio.h"
#include "recodespeckle.c"

int APIENTRY WinMain(HINSTANCE hInstance,
                     HINSTANCE hPrevInstance,
                     LPSTR     lpCmdLine,
                     int       nCmdShow)
{ 	

 // Load dynamically the library
 LoadDespeckleLibrary();

 // Init the session
 int Session= DESPECKLE_Init("demo", "demo");

 long hBitmap;

 // Check if a DIB is available in clipboard
 bool bAvail= IsClipboardFormatAvailable(CF_DIB);

 hBitmap = 0;

 if (bAvail)
  {

   // Open the Clipboard
   ::OpenClipboard(NULL);
		
   // Retrieve the DIB from clipboard 
   hBitmap = (long) GetClipboardData(CF_DIB);

   // Find and removes points of speckle
   long RemovedPoints= DESPECKLE_RemovePoints(Session, (long) hBitmap, 4, 4);

   ::EmptyClipboard();

   // Set the cleaned DIB to clipboard
   SetClipboardData(CF_DIB, (void*)hBitmap);

   // Close the Clipboard	
   ::CloseClipboard();

   char  buffer[200];

   // Format the output message
   if (RemovedPoints!=0)
    sprintf( buffer, "Removed %d points !
      You can paste in your application...", RemovedPoints);

   else

    sprintf( buffer, "Image don't need to be cleaned !");

   // Show the result
   MessageBox(NULL, buffer, "RESULT", MB_OK);
		
  }
 // Show an error message
 else MessageBox(NULL, "Unable to paste DIB", "ERROR", MB_OK);

 // Close the session
 DESPECKLE_Done(Session);

 // Unload the library	
 FreeDespeckleLibrary();

 return 0;
}
                                            
Evaluation version
Through the download section you can download an evaluation version of this product.


Looking a solution ready to use capable of processing any type of documents and forms, printed or handwritten, structured (fixed layout) or unstructured (variable layout)? Choose Recogniform Reader!
To more information about Recogniform Despeckle SDK and our solution for data capture and image processing, you can send us a email to informazioni@recogniform.it or fill the below form.


Company
Title
First Name
Last Name
Address
Zip Code
State
Country
Phone
Fax
E-mail
Message

Taking note of Information of the policy of personal data (D. Lgs 30 june 2003 n.196 and subsequent amendment and additions), click on the "OK" button i consent to collect, hold, process, communicate, and if appropriate, discontinue the treatment/s of personal data that concern me, for the purposes specified in the policy.

   
  • Recogniform Despeckle SDK - Purchase

    Despeckle SDK - Royalties Free

    The Despeckle SDK is royaltes-free which you can deploy and use the software that integrates the capabilities up to 1000 computers without additional cost. Using this SDK require the license agreement subscription whereby order evasion does not require physical shipment. If you want to deploy over 1000 runtime licenses you need to purchase multiple licenses of the product.
    € 599,00 + VAT