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

Loss of resolution when uploading images #308

Open
ACCIC opened this issue Nov 15, 2023 · 7 comments
Open

Loss of resolution when uploading images #308

ACCIC opened this issue Nov 15, 2023 · 7 comments

Comments

@ACCIC
Copy link

ACCIC commented Nov 15, 2023

Dear developers,
I have an issue when loading high quality images into DICe, it seem that the images once uploaded loose their initial quality.
I work with images that are typically 7120*5344 pixels.
Is there a way to keep the original resolution?

Thanks,
All the best

@dicengine
Copy link
Owner

DICe doesn't downsample or compress the images, we sometimes process images in DICe that are even larger than what you have above. It could be that the GUI is downsampling for display. Typically, for large images, we don't use the GUI, but process them in batch mode using the command line. Also, for our largest images we were using netcdf image files. I don't think we've done much testing for large images in other formats. Can you provide some more detail about what file type you are using and how you observe the resolution being changed?

@ACCIC
Copy link
Author

ACCIC commented Nov 16, 2023

Thanks for the answer,
I am using png files which are snapshots from a movie.
I noticed the issue when zooming on the image in the GUI, I see I lose resolution but as you indicated it could only be for display.
However, when I do tracking of 2 RoI, I noticed the initial length between the coordinates of the 2 RoI in the result files, is much smaller (ie 187 pixels) when I should have 1000 pixels for example.

@dicengine
Copy link
Owner

Is it possible to provide an example image to see what's going on or a link to where one of your images is stored?

@ACCIC
Copy link
Author

ACCIC commented Nov 16, 2023

Here is an example image
IMG_0010

@dicengine
Copy link
Owner

Is there some sort of filter on the lens? If you zoom in there's almost like a privacy film effect.

@ACCIC
Copy link
Author

ACCIC commented Nov 20, 2023

I checked the optics of the camera, there is not any filter, just a high focus and an aperture lens. Perhaps I should run them in batch mode in DICe.

@dicengine
Copy link
Owner

I will take another look when I gather back to my office next week. In the meantime you can try running DICe from the command line to see if that works.

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