PDA

View Full Version : Image Processing


Robert Sherry
07-11-2003, 04:46 AM
I am currently a graduate student in Computer Science and I have
just completed a course in image processing. I have also recently
purchased a digital camera which produces images in JPEG. I am looking
for a library that I can use to write C++ programs to manipulate the
image.

Does anybody know of such a library? I thank the group in advance
for their responses.

Robert Sherry

Peter J. Kootsookos
07-11-2003, 05:06 AM
"Robert Sherry" <[email protected]> writes:

> I am currently a graduate student in Computer Science and I have
> just completed a course in image processing. I have also recently
> purchased a digital camera which produces images in JPEG. I am looking
> for a library that I can use to write C++ programs to manipulate the
> image.
>
> Does anybody know of such a library? I thank the group in advance
> for their responses.

There is the the Independet JPEG Group

http://www.ijg.org/

which has quite an easy-to-use C implementation.
Ciao,

Peter K.

--
Peter J. Kootsookos

"Na, na na na na na na, na na na na"
- 'Hey Jude', Lennon/McCartney

Jonathan G Campbell
07-11-2003, 12:07 PM
"Robert Sherry" <[email protected]> wrote in message news:<[email protected]>...
> I am currently a graduate student in Computer Science and I have
> just completed a course in image processing. I have also recently
> purchased a digital camera which produces images in JPEG. I am looking
> for a library that I can use to write C++ programs to manipulate the
> image.
>
> Does anybody know of such a library? I thank the group in advance
> for their responses.

What exactly do you want to do? - develop an image processing system?
If so, do a search on sci.image.processing -- or ask a question there.

Perhaps something useful in:

http://homepages.borland.com/efg2lab/Library/ImageProcessing/SoftwarePackages.htm

You mention JPEG; surely that is irrelevant. You merely need to read
the JPEG file into some 'raw' representation in memory -- where the
image can be processed. It /could/ be that you would want to do
processing in a 'JPEG domain', but it's hardly likely in the general.

Incidentally, if I was intending on capturing images for 'processing',
I'd try to store the images in 'raw' format.

On the other hand, the raw image files I recently received from a
(Minolta) digital camera were far from the simple (simply specified)
byte collections that I expected; in the end, not having time to
decode a rather complicated specification, I had to use a canned
program to convert the files to TIF -- from which I could get to
'raw'; thus defeating the whole purpose of using 'raw'!

Best regards,

Jon C.

Clay S. Turner
07-11-2003, 02:36 PM
Hello Robert,

The standard way to manipulate digital pictures is via Photoshop. Many
authors have written plugins for doing their own kinds of adjustments. A
neat set of code modules was written by Helmut Dersch. They are called
Panorama Tools, but they do a lot more than that. You can warp, shift, skew,
fourier filter, etc the images on each of the color channels separately. I
use this to correct barrel/pincushin distortion and at the same time fix
chromatic aberation. A neat thing about Helmut's software tools is he offers
them for free and the source code is included. So you may be able to work
from there.

Clay



"Robert Sherry" <[email protected]> wrote in message
news:[email protected]...
> I am currently a graduate student in Computer Science and I have
> just completed a course in image processing. I have also recently
> purchased a digital camera which produces images in JPEG. I am looking
> for a library that I can use to write C++ programs to manipulate the
> image.
>
> Does anybody know of such a library? I thank the group in advance
> for their responses.
>
> Robert Sherry
>
>
>

Jerry Avins
07-11-2003, 04:52 PM
Clay,

Robert doesn't so much want to improve his pictures as to get experience
writing code to process images in various ways. Photoshop or something
similar probably came with his camera anyway.

Jerry
--
Engineering is the art of making what you want from things you can get.
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
"Clay S. Turner" wrote:
>
> Hello Robert,
>
> The standard way to manipulate digital pictures is via Photoshop. Many
> authors have written plugins for doing their own kinds of adjustments. A
> neat set of code modules was written by Helmut Dersch. They are called
> Panorama Tools, but they do a lot more than that. You can warp, shift, skew,
> fourier filter, etc the images on each of the color channels separately. I
> use this to correct barrel/pincushin distortion and at the same time fix
> chromatic aberation. A neat thing about Helmut's software tools is he offers
> them for free and the source code is included. So you may be able to work
> from there.
>
> Clay
>
> "Robert Sherry" <[email protected]> wrote in message
> news:[email protected]...
> > I am currently a graduate student in Computer Science and I have
> > just completed a course in image processing. I have also recently
> > purchased a digital camera which produces images in JPEG. I am looking
> > for a library that I can use to write C++ programs to manipulate the
> > image.
> >
> > Does anybody know of such a library? I thank the group in advance
> > for their responses.
> >
> > Robert Sherry
> >
> >
> >

Rick Armstrong
07-11-2003, 06:09 PM
Hi Robert,

> a library that I can use to write C++ programs

If you mean "a library containing implementations of popular image
processing algorithms", then googling on "c++ image processing library" gets
a bazillion hits.

If you mean "a GUI toolkit for writing c++ programs", I highly recommend
WxWindows (www.wxwindows.org).

Turn to Google. Google knows everything. Google is your friend.

HTH,

Rick Armstrong

(note: reply address is bogus; send responses to the group)

Clay S. Turner
07-11-2003, 06:28 PM
"Jerry Avins" <[email protected]> wrote in message
news:[email protected]...
> Clay,
>
> Robert doesn't so much want to improve his pictures as to get experience
> writing code to process images in various ways. Photoshop or something
> similar probably came with his camera anyway.

Jerry,
Actually I doubt Photoshop came with his camera as it costs more than most
point and shoot cameras. It is about $700 US these days. If you can deal
with a reduced capability, Photoshop LE works reasonably well. It is only a
couple of hundred dollars. Most of what is left out is the stuff for
advanced printing and color management. But if he wants to play with images,
the bitmap format is probably the simplest to work with, and a simple paint
program can be used as a viewer. I remember doing some computer generated
holograms with bitmaps.

Clay


>
> Jerry
> --
> Engineering is the art of making what you want from things you can get.
> ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
> "Clay S. Turner" wrote:
> >
> > Hello Robert,
> >
> > The standard way to manipulate digital pictures is via Photoshop. Many
> > authors have written plugins for doing their own kinds of adjustments. A
> > neat set of code modules was written by Helmut Dersch. They are called
> > Panorama Tools, but they do a lot more than that. You can warp, shift,
skew,
> > fourier filter, etc the images on each of the color channels separately.
I
> > use this to correct barrel/pincushin distortion and at the same time fix
> > chromatic aberation. A neat thing about Helmut's software tools is he
offers
> > them for free and the source code is included. So you may be able to
work
> > from there.
> >
> > Clay
> >
> > "Robert Sherry" <[email protected]> wrote in message
> > news:[email protected]...
> > > I am currently a graduate student in Computer Science and I have
> > > just completed a course in image processing. I have also recently
> > > purchased a digital camera which produces images in JPEG. I am looking
> > > for a library that I can use to write C++ programs to manipulate the
> > > image.
> > >
> > > Does anybody know of such a library? I thank the group in advance
> > > for their responses.
> > >
> > > Robert Sherry
> > >
> > >
> > >

Jim Thomas
07-14-2003, 03:45 PM
"Clay S. Turner" wrote:
>
> Jerry,
> Actually I doubt Photoshop came with his camera as it costs more than most
> point and shoot cameras. It is about $700 US these days. If you can deal
> with a reduced capability, Photoshop LE works reasonably well. It is only a
> couple of hundred dollars.

The Gimp is the GPL'd equivalent to Photoshop. It's also free.

--
Jim Thomas Principal Applications Engineer Bittware, Inc
[email protected] http://www.bittware.com (703) 779-7770
Getting an inch of snow is like winning ten cents in the lottery -
Calvin