imresize() with very large files
2 次查看(过去 30 天)
显示 更早的评论
I am trying to resize/downscale very large RGB images (86400x57600x3) by a factor of 4 (bicubic, factor 1/4) using imresize(), but I run into the 'file size limit' of the function. For smaller images, I could do each RGB layer separately and then reconstruct the image, but at this size even the 86400x57600x1 layers are too big for the function. Any way to circumvent this limit? Any clever trick I could use to end up resizing it?
Thanks.
3 个评论
Walter Roberson
2018-2-3
I just had a look at the source code, and I cannot seem to find any message about file size limits. Could you post a complete copy of the error message?
回答(1 个)
Walter Roberson
2018-2-2
Possibly blockproc() and passing in the file name. However, the seams between the blocks might lead to problems.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!