Article
Reworking OpenCV's Mat with memory-mapped files: solving the problem of large images that don't fit in memory
Guyuehome
Reworking OpenCV's Mat through memory-mapped files lets large images that don't fit in memory still be accessed through the Mat interface, with data still pointing to a contiguous uchar* in memory. Below the threshold, native heap allocation is still used and performance is unaffected; only genuinely large images switch paths, transparently to upper-layer callers.
Part of the event: Reworking OpenCV's Mat with memory-mapped files: solving the problem of large images that don't fit in memory
This page provides a summary and source link only.