This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Sunday, May 14, 2006 11:55:44 PM(UTC)
Groups: Registered
Posts: 101
I am using visual basic 6 with leadtools 14
My program captures image from source. The source is scanner and I am acquiring image using TWAIN. Acquired image contain whitish background. User donot want this background. For that purpose, I am trimming (Cropping) the image to interested area. I take input the film size from user for that.
My problem is that, the size of area of interest is not the same all the time. The film size taken as input from user donot match with actual area of interest. If I calculate the ratio with actual film with scanned area of interest, it also dosent match all the times.
Size of whole image(with background) also may change. In this case, my programming crash. I donot get desired result.
Is there any way to detect area of interest of image. Or any other way that can trim only area of interest.
Attaching the sample image herewith. Try it yourself.
Waiting for reply.
#2
Posted
:
Wednesday, May 17, 2006 4:32:40 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
#3
Posted
:
Wednesday, May 17, 2006 8:15:03 PM(UTC)
Groups: Registered
Posts: 101
Hi,
That post is about subtract background method.
My query in this post is to remove unwanted area from image (Crop it.)
I had attached you the image that is scanned film. User is only interested in the film and not in the region around it.
So please reply.
Thanks
#4
Posted
:
Wednesday, May 24, 2006 5:36:04 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Attached is a variation of the sample Maen posted in that thread. It removes the unwanted white area around the image.
#5
Posted
:
Wednesday, May 24, 2006 10:01:28 PM(UTC)
Groups: Registered
Posts: 101
Thansk Bashar,
Your project is working
Thanks Again.
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.