View Full Version : image processing in visual studio c++
blackcoffee
Aug3-11, 07:01 PM
how can i work with images in visual studio c++? i want to work with .jpg images. So how do i store them and access them?
You have multiple options. The is the There is the Windows Imaging Component (http://msdn.microsoft.com/en-us/library/ee719902(v=VS.85).aspx).
There is also the .Net WPF (link1 (http://msdn.microsoft.com/en-us/library/ms743677.aspx), link2 (http://msdn.microsoft.com/en-us/library/aa970689.aspx)), which may be hard to use if you are accustomed to writing native Windows applications.
Some more options are GDI+ (http://msdn.microsoft.com/en-us/library/ms533802(v=VS.85).aspx), another COM interface (with OLE) (http://msdn.microsoft.com/en-us/library/ms680761(v=vs.85).aspx), and GDI (http://msdn.microsoft.com/en-us/library/dd145107(v=VS.85).aspx).
There also may be third party libraries available.
I like Serena
Aug4-11, 01:46 AM
I recommend the Qt libraries which can be downloaded for free.
blackcoffee
Aug5-11, 08:52 AM
thanks people :) are these comparable to working in opencv on images?
I like Serena
Aug5-11, 10:52 AM
thanks people :) are these comparable to working in opencv on images?
I did not recall that opencv had jpg file I/O, but if it does, that would work too, especially if you want to do image processing for which I recommend opencv.
I did not recall that opencv had jpg file I/O
It does (http://opencv.willowgarage.com/documentation/cpp/reading_and_writing_images_and_video.html#cv-imread) (on Windows and Mac OS, and on Unix-like systems if the codecs are available).
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.