[feature request] Python script for converting a FITS file to JP2
Bug #621807 reported by
Jack Ireland
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
JP2Gen - JPEG 2000 Generation Tools |
Confirmed
|
Wishlist
|
Jack Ireland |
Bug Description
It would be possible to use Python, PyFITS and the kakadu libraries to create a script that converts an input FITS file into a JP2 file. This would enable JP2Gen to use the most recent releases of Kakadu instead of the currently used IDL 7.1 (which implements Kakadu 4.5). Hopefully this can be done by directly passing the FITS data to Kakadu without having to write an intermediate image format.
Changed in jp2gen: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
assignee: | nobody → Jack Ireland (jack-ireland) |
To post a comment you must log in.
Hi Jack,
Why not use CFITSIO (http:// heasarc. gsfc.nasa. gov/fitsio/) instead? The Kakadu libraries are written in C/C++, so in order to use Python, you would probably have to write a Python extension first to call the Kakadu libraries. Keeping it C/C++ all the way might be easier.
Cheers,
Daniel
On Aug 21, 2010, at 17:07 , Jack Ireland wrote:
> Public bug reported: /bugs.launchpad .net/bugs/ 621807
>
> It would be possible to use Python, PyFITS and the kakadu libraries to
> create a script that converts an input FITS file into a JP2 file. This
> would enable JP2Gen to use the most recent releases of Kakadu instead of
> the currently used IDL 7.1 (which implements Kakadu 4.5). Hopefully
> this can be done by directly passing the FITS data to Kakadu without
> having to write an intermediate image format.
>
> ** Affects: jp2gen
> Importance: Wishlist
> Assignee: Jack Ireland (jack-ireland)
> Status: Confirmed
>
> ** Changed in: jp2gen
> Importance: Undecided => Wishlist
>
> ** Changed in: jp2gen
> Status: New => Confirmed
>
> ** Changed in: jp2gen
> Assignee: (unassigned) => Jack Ireland (jack-ireland)
>
> --
> [feature request] Python script for converting a FITS file to JP2
> https:/
> You received this bug notification because you are a member of
> Helioviewer, which is the registrant for JP2Gen - JPEG 2000 Generation
> Tools.
>
> Status in JP2Gen: Confirmed
>
> Bug description:
> It would be possible to use Python, PyFITS and the kakadu libraries to create a script that converts an input FITS file into a JP2 file. This would enable JP2Gen to use the most recent releases of Kakadu instead of the currently used IDL 7.1 (which implements Kakadu 4.5). Hopefully this can be done by directly passing the FITS data to Kakadu without having to write an intermediate image format.
>
>