Python Forum
Reading coordinates in tiff images using PyQt
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reading coordinates in tiff images using PyQt
#21
(Dec-21-2020, 07:20 PM)deanhystad Wrote: Your image is not 400-500 MBytes, the compressed image is. What is the actual size of your images (pixel count)?

What is the program doing when it runs out of memory? I looked at some of the code in this post a while back and I saw it loaded an image and then converted to greyscale. I think you would save a lot of memory by converting the file as it loads.

Which lines are you referring to?
Reply
#22
I googled and people suggest to downsample the image on similar situations, but I will lose significant information...

Also, I do not see any black-white conversion on the above code.

Any idea how to mitigate this enormous RAM usage?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [PySide / PyQt] Offset two images with keyboard increments carecavoador 1 950 Sep-09-2023, 12:53 PM
Last Post: deanhystad
  [Tkinter] Plotting Raster Data / TIFF files on tkinter canvas RRSCNGP 0 2,535 Aug-28-2019, 04:44 AM
Last Post: RRSCNGP

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020