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

Float FastBitmap #34

Open
fer-marino opened this issue Jul 19, 2016 · 2 comments
Open

Float FastBitmap #34

fer-marino opened this issue Jul 19, 2016 · 2 comments

Comments

@fer-marino
Copy link

fer-marino commented Jul 19, 2016

Hi all,
I'm playing with this framework with good results. In particular I'm using the clahe filter to enhance my images. Unfortunately my images are satellite data that comes as 16bits unsigned short (from 0 to 65535 per band) or 32bit float (from 0 to 1).

So I had to manually convert the image to 8 bit before applying the filter. Do you have any plan in the future to handle directly those type of images?
I've tried looking into the code myself but it appears not to be an easy task.

Thank you for all your work!

@DiegoCatalano
Copy link
Owner

Hello Fernando,

I will port all the filters to support 16 bits and 32 bits unsigned int, with the capability to set bits per sample, because I know some satellite images that works with 11 bits. I'm just waiting the Java 9 tiff support. I plan to support double matrix as well too. Let me know more about your necessity.

How are you loading tiff images in the Java ?

Cheers !

@fer-marino
Copy link
Author

Hi Diego,
unfortunately my data is in netcdf format, so I extract the raw matrix from the files with the official netcdf driver ( http://www.unidata.ucar.edu/software/netcdf/ ) and then build the FastBitmap manually pixel by pixel, converting the data type also manually when needed. I want to avoid downscaling my data to get better results after filtering.

Regards,
Fernando

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

No branches or pull requests

2 participants