From: shaji on
Hi all,
I need to develop a command line application in C++ on Windows, to
extract the first frame of image in DICOM files and convert the image
into JPEG format. Need to handle the raw as well as JPEG images in
DICOM files.

Unfortunately, I'm on a very tight schedule and would love to have
something to begin from. Is there any open source code avalilable
(other than DCMTK) that will help me doing this?
Thanks in advance,
Shaji.
From: Armel on

"shaji" <shajiparemmal(a)gmail.com> a �crit dans le message de news:
6c71413d-6aae-41c4-9d0f-af21b9ab7f76(a)r37g2000prm.googlegroups.com...
> Hi all,
> I need to develop a command line application in C++ on Windows, to
> extract the first frame of image in DICOM files and convert the image
> into JPEG format. Need to handle the raw as well as JPEG images in
> DICOM files.
>
> Unfortunately, I'm on a very tight schedule and would love to have
> something to begin from. Is there any open source code avalilable
> (other than DCMTK) that will help me doing this?
> Thanks in advance,
> Shaji.
you can have a look at ImageMagick (imagemagick.org), it is already as a
command line tool and source is open, its licence is very correct with
regard to commercial usage

HIH
Armel


From: r_z_aret on
On Mon, 30 Jun 2008 22:54:15 -0700 (PDT), shaji
<shajiparemmal(a)gmail.com> wrote:

>Hi all,
>I need to develop a command line application in C++ on Windows, to
>extract the first frame of image in DICOM files and convert the image
>into JPEG format. Need to handle the raw as well as JPEG images in
>DICOM files.

I can't help with the DICOM part, but the IJG (Independent JPEG Group)
provides a free library for handling JPEG:
www.ijg.org//

I just used Google (http://groups.google.com/advanced_search?q=&) to
look up
jpeg
in this newsgroup and got 742 hits. I took a look and found some
useful and relevant info, although you may need to work a bit.

I even used Google to look up
jpeg dicom
in this newsgroup and got 3 hits in two threads. Neither has much
useful, but you might be interested in knowing someone else is
creating a similar program.


>
>Unfortunately, I'm on a very tight schedule and would love to have
>something to begin from. Is there any open source code avalilable
>(other than DCMTK) that will help me doing this?
>Thanks in advance,
>Shaji.

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 400
Boston, MA 02116
www.penfact.com
Useful reading (be sure to read its disclaimer first):
http://catb.org/~esr/faqs/smart-questions.html
From: shaji on
> you can have a look at ImageMagick (imagemagick.org), it is already as a
> command line tool and source is open, its licence is very correct with
> regard to commercial usage

Thanks, Armel for this help.
I had a look at the ImageMagick library and it seemed more like an
image handling software than a DICOM handling software. It'd be useful
to do the format conversion of image after I parse the DICOM file and
extract image data out. Parsing the DICOM file is the biggest
challenge as I hardly have enough time to study the DICOM format.
Shaji.