dice icon indicating copy to clipboard operation
dice copied to clipboard

Loss of resolution when uploading images

Open ACCIC opened this issue 2 years ago • 7 comments

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

ACCIC avatar Nov 15 '23 10:11 ACCIC

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?

dicengine avatar Nov 15 '23 13:11 dicengine

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.

ACCIC avatar Nov 16 '23 12:11 ACCIC

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?

dicengine avatar Nov 16 '23 15:11 dicengine

Here is an example image IMG_0010

ACCIC avatar Nov 16 '23 15:11 ACCIC

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

dicengine avatar Nov 17 '23 21:11 dicengine

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.

ACCIC avatar Nov 20 '23 08:11 ACCIC

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.

dicengine avatar Nov 20 '23 14:11 dicengine