Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

C++, import images & canvas!

c++ image import

This topic has been archived. This means that you cannot reply to this topic.
7 replies to this topic

#1 <Java>

<Java>

    CC Regular

  • Member
  • PipPipPip
  • 38 posts

Posted 21 March 2013 - 07:23 AM

Howdy all;
 
 
Hope u all r alright; :)

 

I'm using VS ultimate 2012;
& I want to build a program that let me import images(not one) from a certain file to display them all as one image (360 view),

 

How can I import many images from a certain file that the user may choose?! Folder or file dialog is better?!  what woould be the proper code for that?!

 

can the canvas give me the suitable area to achieve the 360 view or shall I use Flash cs5 to do that, can I link these two (c++ & flash file)?! 

 

Sorry for all these questions, but I'm totally confused, :(

 

& thanks in advance :)

 

 

 



#2 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts

Posted 21 March 2013 - 07:48 AM

Can you clarify what you're doing? A jpg, for example, is a single image, so it just won't have multiple images to pull. 

 

I'm guessing you're using a canvas to display a scrollable region, but again, it's not clear what you're trying to achieve.


Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/


#3 <Java>

<Java>

    CC Regular

  • Member
  • PipPipPip
  • 38 posts

Posted 21 March 2013 - 11:15 AM

Yeah, jpeg, images from your smart phones, or your digital cam,

 

 

I'm working on a program that let me stitching images, captured  from diffrent angles to the same enviroment to create one view (panorama);  just like this:

 

autourg01134002ID1881775.jpg

 

 

I want to import all the images at once from a certain path but I'm kinka hanging up  :glare:  !

& I don't know if using canvas, swf or imagebox  would really helpful.

 

 

 



#4 0xDEADBEEF

0xDEADBEEF

    CC Devotee

  • Senior Member
  • PipPipPipPipPipPip
  • 790 posts

Posted 21 March 2013 - 11:38 AM

I'd use C#, would be easy todo this, if you want manual arranging. Automatic arrange would be much harder.


Creating SEGFAULTs since 1995.


#5 <Java>

<Java>

    CC Regular

  • Member
  • PipPipPip
  • 38 posts

Posted 21 March 2013 - 12:28 PM

^^^^

I have no experince in c#, is it easy to learn ?!!

 

I have to finish this code in less than month ,

 

also , I will propely use opencv, can I apply it in c#?!



#6 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts

Posted 21 March 2013 - 12:45 PM

Are you doing this in Managed C++ with the .NET library, or something else? This process of selecting files will really come down to which library you're using.


Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/


#7 <Java>

<Java>

    CC Regular

  • Member
  • PipPipPip
  • 38 posts

Posted 21 March 2013 - 12:55 PM

Are you doing this in Managed C++ with the .NET library, or something else? This process of selecting files will really come down to which library you're using.

 

well, I'm using Visual Studio 2012, what I know is .NET library is already included, right?!



#8 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts

Posted 21 March 2013 - 01:27 PM

.NET library is included, if you are using Managed C++. Unmanaged code would be different, and you might be using the Windows API instead. 

 

This may help you: http://www.dotnetper...ectory-getfiles


Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/





Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download