Image’s shape is (1424, 2128, 4) with np.uint16.
Currently I’m using numpy arrays to hold the images by allocating like this:
X = np.zeros((m_x, 1424, 2128, 4), dtype=np.uint16) 
Y = np.zeros((m_y, 1424, 2128, 3), dtype=np.uint16)

And then replace the zero value with the image’s value.
What is the benefit of using memory map?
Thank you for replying me!