ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Despeckle
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

JanN

5 Posts

Posted - Oct 22 2012 :  08:19:00  Show Profile  Reply
Hi

Can I use ImageEn for despeckling an image of a scanned document? I could not find any hints in the samples or in the documentation.

Kind regards
Jan

w2m

USA
1990 Posts

Posted - Oct 22 2012 :  09:21:20  Show Profile  Reply
if the image is black & white you can use RemoveNoise. There is no procedure to do it with Color images that I know of.

procedure RemoveNoise(Iterations:integer; InvertImage:boolean);

Description

RemoveNoise removes noise pixels using the Kfill algorithm. The RemoveNoise method works only with black/white images (1bit).

Iterations is the maximum number of iterations (from 1).
If InvertImage is True, the image is inverted (negative) when the algorithm works.

Example

ImageEnProc.RemoveNoise(2,false);

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: