Please suggest me about Image Processing

Example requests & Code samples for GdPicture Toolkits.
Post Reply
wittaya
Posts: 23
Joined: Mon Apr 27, 2009 9:11 am

Please suggest me about Image Processing

Post by wittaya » Thu Apr 22, 2010 10:06 am

Hello, Loïc

I need to implement OMR (Optical Mark Recognition) project from GdPicture function, this is my little source code...
...
nClonedImage = AxImaging1.CreateClonedImage(nImage)
AxImaging1.SetNativeImage(nClonedImage)
AxImaging1.FxDespeckle()
nStat = AxImaging1.SetBrightness(200)
...
ฺBut the result did not my needed.

I attached a picture to you for compare.The left part is source image, right part is output that I want.
Please suggest me.

Best regard
Wittaya
Attachments
image.jpg

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Please suggest me about Image Processing

Post by Loïc » Thu Apr 22, 2010 2:40 pm

Hi,

You should try to threshold the image.

IE:

Code: Select all

AxImaging1.FxBlackNWhiteT (150)
This should work.

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest