Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lossy compression #8

Open
mdboom opened this issue Apr 8, 2014 · 6 comments
Open

Lossy compression #8

mdboom opened this issue Apr 8, 2014 · 6 comments

Comments

@mdboom
Copy link
Contributor

mdboom commented Apr 8, 2014

Consider compression and other alternative encodings of the binary data.

An interesting option is blosc, but lossy compression schemes and simple support for a standard loss-less compression (such as gz or something), may also make sense.

@perrygreenfield
Copy link
Contributor

Are you familiar with the FITS lossy compression schemes that have been developed? These are geared to astronomical data. I'm not aware of any others that do this sort of thing. Most focus on perceptual issues (visual or auditory), but that's not what's important to most astronomers.

@mdboom
Copy link
Contributor Author

mdboom commented Apr 9, 2014

Yes, I should have been explicit -- the lossy compression schemes in FITS do make a lot of sense for astronomy data, and should probably be brought over to FINF. The complaints lodged against them have mainly to do with how support for them is bolted on top of FITS, not the compression schemes themselves.

@perrygreenfield
Copy link
Contributor

Indeed, there is a lot of duct tape in the FITS implementation. I'd argue it's another good example of an ugly solution due to the limited structures FITS supplies.

@embray
Copy link
Contributor

embray commented Apr 9, 2014

I'll go out on a limb and say it's not even that ugly. Much of how it's done makes some sense. I just don't think they should have used the existing BINTABLE extension and instead defined a new extension type that is explicitly for compressed images. Sure, using BINTABLE meant it was "readable" by FITS readers that don't support the compression schema--but not readable in any useful sense.

@mdboom mdboom changed the title Compression Lossy compression Jul 22, 2015
@mdboom
Copy link
Contributor Author

mdboom commented Jul 22, 2015

Renamed issue -- this is now for lossy compression methods. Lossless compression is basically a done deal.

@embray
Copy link
Contributor

embray commented Jul 22, 2015

I guess one could make an argument for tiled lossless compression too, which isn't a done deal. But I think tiling / chunking should be handled independently from compression anyways. So yes, I agree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants