L
L
luzhskij2014-10-28 13:31:55
Qt
luzhskij, 2014-10-28 13:31:55

Maximum opencv image size?

What is the maximum image file size to work with in opencv?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2014-10-28
@luzhskij

The image size is width * height * bytes per pixel. For grayscale, this is one byte per pixel. For BGR - 3 bytes per pixel (+ alignment? not vkurse here). For rgba - 4 bytes per pixel.
The limit is the amount of RAM or how much memory can be addressed to one process. You can reduce memory consumption by processing the image in parts.
But in theory, if we talk about image sizes, then we have a limit for uint for width and height.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question