Merging Bitmaps

M

Mark

About two weeks ago I asked if anyone knew of a application that would
activate a scanner. I was directed to a site that had one written in C#.

This application works just fine for images up to 9" x 12". I have some Star
Trek blueprints that I would like to scan into my PC. My problem is the
blueprints are 9" x 30", so I have to make two or more scans of one page.

Is there some code somewhere that will allow me to choose up to five images
and merge then into one bitmap? The idea is to take the partial images and
make one image, then delete the partials to save storage space.

Thanks in advance,
 
J

Jason Keats

Mark said:
About two weeks ago I asked if anyone knew of a application that would
activate a scanner. I was directed to a site that had one written in C#.

This application works just fine for images up to 9" x 12". I have some Star
Trek blueprints that I would like to scan into my PC. My problem is the
blueprints are 9" x 30", so I have to make two or more scans of one page.

Is there some code somewhere that will allow me to choose up to five images
and merge then into one bitmap? The idea is to take the partial images and
make one image, then delete the partials to save storage space.

Thanks in advance,

I guess Photoshop or GIMP is too much work? <g>

http://www.ptgui.com/
 
H

Herfried K. Wagner [MVP]

Mark said:
About two weeks ago I asked if anyone knew of a application that would
activate a scanner. I was directed to a site that had one written in C#.

This application works just fine for images up to 9" x 12". I have some
Star
Trek blueprints that I would like to scan into my PC. My problem is the
blueprints are 9" x 30", so I have to make two or more scans of one page.

Is there some code somewhere that will allow me to choose up to five
images
and merge then into one bitmap?

Take a look at 'System.Drawing.Image' and 'System.Drawing.Graphics'.
 
M

Mark

Jason:
I guess I'm just too lazy :)

Seriously I'm trying to learn VB.NET and the .NET platform by working on
some fun projects. What I want to do is make one application to allow a user
to scan in any type of image, and another to manipulate images.
 
J

James Hahn

While I'm sure it would be possible to create some code to do the job, it is
a very large task. You will need a mechanism to identify matching points on
each pair of images, then extensive calculation to get the transforms
required for alignment and resizing, and that's before you've even
considered color and intensity blending.

Try this instead (you can always study the code!):
http://hugin.sourceforge.net/

It's designed for photographs, so you will need the tutorial for scans:
http://hugin.sourceforge.net/tutorials/scans/en.shtml
 
M

Mark

James,
I assume the application includes its source code. I would indeed like to
study the code.
 
M

Mythran

Mark said:
Jason:
I guess I'm just too lazy :)

Seriously I'm trying to learn VB.NET and the .NET platform by working on
some fun projects. What I want to do is make one application to allow a
user
to scan in any type of image, and another to manipulate images.

WOW....

"Star Trek blueprints" and "fun projects" do NOT belong in the same
thread...specially when "fun projects" refer to doing something with "Star
Trek blueprints"!

lol, jk :p

Mythran
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top