ADR Region of interest

Feature Requests for GdPicture.NET.
Post Reply
rjhaleymd
Posts: 10
Joined: Fri Nov 16, 2007 4:06 pm

ADR Region of interest

Post by rjhaleymd » Thu Jan 22, 2009 4:46 pm

Loic, is it possible to run ADR on an ROI? e.g. the header of the page is always the same, but the body may change. I would like to do recognition on just the header (or footer in some cases of medical records).

If not part of GDPicture, would the following work?
Would I have to use just the header portion of the image/page as a template, then create a new image containing just the ROI from the page I want to recognize?
Thanks.

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

Re: ADR Region of interest

Post by Loïc » Fri Jan 23, 2009 4:08 pm

Hi,

To apply a document recognition process on a specific area of an image you can use the CreateClonedImageArea() method.

IE:

Code: Select all

   ImageOfROI = Imaging1.CreateClonedImageArea(Imaging1.GetNativeImage, 0, 0, 100, 100)
   CloserTemplate = Imaging1.ADRGetCloserTemplateForGdPictureImage(ImageOfROI)
   Imaging1.CloseImage (ImageOfROI)

Best regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest