This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, March 14, 2012 9:49:57 PM(UTC)
Groups: Registered
Posts: 71
Hi,
Is it possible to create a panoramic image (i.e want to combine frames from end-to-end) from a 10 to 12 single-single frames using leadtools? These single frames may be bmp or jpg or dicom.
If there is any way to do this can you please help me to do this.
Thanks.
#2
Posted
:
Thursday, March 15, 2012 12:48:38 AM(UTC)
Groups: Registered
Posts: 71
One more thing I am using Leadtools v.17 with .NET classes. Is this feature present in Leadtools 17?
#3
Posted
:
Thursday, March 15, 2012 1:18:38 AM(UTC)
Groups: Registered
Posts: 256
Hello,
There are some algorithms that provide advance features like resize the images so that they can be stitched together. However, LEADTOOLS provides the basic feature of stitching the images together. If that is what you want, here are some pointers:
1) Create a large empty bitmap that will hold all the images that you want to stitch.
2) Load all the images as 24-bit images.
3) You will have to resize the images to become of the same size.
4) Add the images with the large bitmap using CombineCommand class.
#4
Posted
:
Thursday, March 15, 2012 6:21:41 PM(UTC)
Groups: Registered
Posts: 71
Thanks for the reply...
Can you please provide some sample code for doing this?
Thanks
#5
Posted
:
Thursday, March 15, 2012 11:47:38 PM(UTC)
Groups: Registered
Posts: 71
Hi,
I have tried the steps send by you. Facing one problem while concatenating the images end to end. How to create a loop one after other to concatenate the images on the large blank bmp image?
Thanks
#6
Posted
:
Sunday, March 18, 2012 7:56:03 AM(UTC)
Groups: Registered
Posts: 256
Hello,
Please see the following forum post for a sample code:
http://support.leadtools.com/CS/forums/40654/ShowPost.aspx
Note: This sample code stitch two images from two RasterImageViewer controls together. With minor modifications you can make it stitch multiple images together, using for-loop if you want.
#7
Posted
:
Monday, May 7, 2012 7:30:40 PM(UTC)
Groups: Registered
Posts: 71
Hi,
Can you please provide this sample code in VC++.Net (MFC) ?
Thanks...
#8
Posted
:
Tuesday, May 8, 2012 2:35:44 AM(UTC)
Groups: Registered
Posts: 256
You previously mentions that you're using our .NET classes. If that's the case, these classes cannot be directly used in an MFC application.
If you are using MFC, this most likely means you'll be using our C DLL functions (such as L_CreateBitmap) or our C++ Class Libraries, such as the LBitmap class.
Please tell me which LEADTOOLS programming interface you are using exactly.
#9
Posted
:
Tuesday, May 8, 2012 7:06:10 PM(UTC)
Groups: Registered
Posts: 71
Hi,
Actually initially i am working with combining the images in .Net class. But the scenario is now changed. Now i want it in MFC. Can you please help me by providing the sample in VC++.Net (MFC).
Thanks.
#10
Posted
:
Wednesday, May 9, 2012 6:49:23 AM(UTC)
Groups: Registered
Posts: 256
We could work on converting the demo to an MFC application. Is it OK to do that using the DLL API functions (such as L_CreateBitmap)?
#11
Posted
:
Thursday, May 10, 2012 10:35:15 PM(UTC)
Groups: Registered
Posts: 71
Hi,
Thanks for the reply....
Yes it is ok... can you please provide it as soon as possible...
Thanks a lot..
#12
Posted
:
Sunday, May 13, 2012 7:03:28 AM(UTC)
Groups: Registered
Posts: 256
Attached you will find a simple MFC application that stitch two images together using our C DLL functions.
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.