View Full Version : Help me find an image-processing library for C/C++
Zdravko
September 7th, 2007, 12:05 PM
Hi!
I am a C/C++ programmer. I really do need a simple yet powerful and flexible image manipulating library.
The purpose is:
I have an image (jpeg, jpg, gif, png, bmp etc.) with certain dimension. I also want to resize the image to a given dimensions. That is:
Image: 100x100
We want: 80x90.
Or:
Image: 100x100
We want 100:120
Etc...
A universal approach with a free library (console-driven maybe?) is what I need.
Thanks in advance!
CptPicard
September 7th, 2007, 12:14 PM
Imagemagick (http://www.imagemagick.org/script/index.php)
loell
September 7th, 2007, 12:18 PM
libmagick++9-dev
asmoore82
September 7th, 2007, 12:23 PM
Hi!
I am a C/C++ programmer. I really do need a simple yet powerful and flexible image manipulating library.
The purpose is:
I have an image (jpeg, jpg, gif, png, bmp etc.) with certain dimension. I also want to resize the image to a given dimensions. That is:
Image: 100x100
We want: 80x90.
Or:
Image: 100x100
We want 100:120
Etc...
A universal approach with a free library (console-driven maybe?) is what I need.
Thanks in advance!
unless you really want to do the coding yourself, you could probably just do some scripting with the netpbm package ...
http://netpbm.sourceforge.net/
I've used just BASH scripts and netpbm to synthesize video myself.
netpbm is designed with UNIX pipes in mind and converts all images to pnm/pbm format for manipulation and then back again
(much like GIMPs internal XCF format), so you could do somthing like ...
#!/bin/bash
output=`date`
mkdir "$output"
for pic in *.jpg
do
cat "$pic" | jpegtopnm | pamscale -xyfill 100 120 | pnmtojpeg > "${output}/${pic}"
done
daveshields
September 7th, 2007, 12:56 PM
Though I haven't used it, I have heard good things about Intel's OpenCV. See http://www.intel.com/technology/computing/opencv/
dempl_dempl
September 7th, 2007, 06:10 PM
Ok, I don't wanna advertize my site ( well, not to much ) ,
but if you go to my site www.stosha.net , you'll find couple of Linux libraries for that.
Just go to Libraries/ C++ (Multiplatform) / 2d & 3d Graphics .
You'll find couple of good libraries there.
Zdravko
September 9th, 2007, 08:39 AM
That would be difficult....
dempl_dempl
September 22nd, 2007, 09:42 PM
You call my site difficult!?
If I see you I'll punch you in a face.
I don't live far from you , you know ...
Off-Topic, but you have Slavic name, and you live in Bulgaria. What's up with that?
loell
September 22nd, 2007, 11:34 PM
:lolflag: i hope that post is suppose to be funny, if it is indeed serious, i'm not sure , that he meant your site.
dempl_dempl
September 23rd, 2007, 10:49 AM
Ofcourse I was joking...
:D
But, Punching people in the face is funy sometimes ( when you're not the one being punched ofcourse :) )
k_pax
April 5th, 2008, 06:33 AM
Can any one tell me the basic steps involved in gabor pyramidal decomposition of image or explain me the difference between guassian, laplacian and gabir pyramidal decomposition of image.
i need it badly and urgently. please help me out!!
smartbei
April 5th, 2008, 06:41 AM
@OP:
I have ued OpenCV for such things and it has been very simple to learn and use.
@k_pax:
There is this site named Google... [link] (http://www.google.com)
risu_vk
October 10th, 2008, 06:49 AM
A simple and easy to learn (all in a single header) for basic stuffs http://cimg.sourceforge.net
If you want to do more go for ITK + VTK
vBulletin® v3.8.0 Release Candidate 2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.