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

Input the image size and image format #88

Open
liuhongyan123456 opened this issue Nov 17, 2023 · 2 comments
Open

Input the image size and image format #88

liuhongyan123456 opened this issue Nov 17, 2023 · 2 comments
Assignees

Comments

@liuhongyan123456
Copy link

Can we use this compression algorithm to run tiff remote sensing images on NVIDIA Jetson platform

@MartinPulec
Copy link
Collaborator

hi @liuhongyan123456, I'll start from the back:

on NVIDIA Jetson platform

I think it should in general. Some users report success (see #35), but some users reported problems, eg. with Jetson TX2 (#54). I believe that if you have CUDA working on the Jetson, there is a solid chance that you'll get GPUJPEG working there.

tiff remote sensing images

Just to be sure, you'd like to compress input TIFF to JPEG?

Well, currently not directly. GPUJPEG can currently encode just RAW images or PAM/PNM/Y4M . TIFF is quite a complex format allowing very different internal layout. I can see 2 possibilities:

  1. the layout of your TIFFs is very simple (meaning one block of RAW image data inside the TIFF). In this case I think we can consider adding encode to GPUJPEG directly

  2. all other cases like LZW-encoded TIFF, TIFF using stripes etc. – in this case I believe that then it is best to decode with libtiff, which can do the caller

@MartinPulec
Copy link
Collaborator

Also you have the issue topic: "Input the image size and image format".

Do you have also some question about image sizes in our context?

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

2 participants