|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Merging BitmapsAbout 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 Mark wrote:
> About two weeks ago I asked if anyone knew of a application that would I guess Photoshop or GIMP is too much work? <g>> 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, http://www.ptgui.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. -- Show quoteHide quoteMark "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/ >
Show quote
Hide quote
"Mark" <M***@discussions.microsoft.com> wrote in message WOW....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/ >> "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 "Mark" <M***@discussions.microsoft.com> schrieb: Take a look at 'System.Drawing.Image' and 'System.Drawing.Graphics'.> 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? -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/> 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 James,
I assume the application includes its source code. I would indeed like to study the code. -- Show quoteHide quoteMark "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 > >
Enable/Disable windows update
vb.net app not finding application configuration file on Windows 2003 Server Standard Not as 'explicit' as I thought --- What am I missing Formatting Text on a textbox A question about a failing regular expression Pass Variable At Design Time limiting combobox.... What are the Versions of Visual Studio 2005 and what Features are Available in Each? Setting DataGridView.Height to Goldilocks value? web |
|||||||||||||||||||||||