Home All Groups Group Topic Archive Search About
Author
14 Jun 2009 2:54 PM
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,
--
Mark

Author
14 Jun 2009 3:21 PM
Jason Keats
Mark wrote:
> 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/
Are all your drivers up to date? click for free checkup

Author
15 Jun 2009 12:32 AM
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.
--
Mark


Show quoteHide quote
"Jason Keats" wrote:

> Mark wrote:
> > 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/
>
Author
2 Jul 2009 3:49 PM
Mythran
Show quote Hide quote
"Mark" <M***@discussions.microsoft.com> wrote in message
news:6112A1B4-9A27-459F-B9EE-1558CC249A3D@microsoft.com...
> 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.
> --
> Mark
>
>
> "Jason Keats" wrote:
>
>> Mark wrote:
>> > 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/
>>

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
Author
14 Jun 2009 3:57 PM
Herfried K. Wagner [MVP]
"Mark" <M***@discussions.microsoft.com> schrieb:
> 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 S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
Author
15 Jun 2009 1:00 AM
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

Show quoteHide quote
"Mark" <M***@discussions.microsoft.com> wrote in message
news:14E78126-98EB-4CA5-857B-969815D6D5C4@microsoft.com...
> 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,
> --
> Mark
Author
15 Jun 2009 4:05 PM
Mark
James,
I assume the application includes its source code. I would indeed like to
study the code.
--
Mark


Show quoteHide quote
"James Hahn" wrote:

> 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
>
> "Mark" <M***@discussions.microsoft.com> wrote in message
> news:14E78126-98EB-4CA5-857B-969815D6D5C4@microsoft.com...
> > 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,
> > --
> > Mark
>
>

Bookmark and Share