How to apply pixel shift to individual pixels in image file?
显示 更早的评论
I have a gray-scale image file (1024 rows by 1024 columns). The gray values range from 0 to 65535 (16-bit). I also have a distortion correction map (same size as the image file) which indicates how each pixel in the first image must be shifted to create the new 'corrected' image.
I've found several forum posts giving examples on how to apply a shift equally to all pixels. However, in my case, I'd like to apply different shifts to different pixels. In some cases, the shift could also be sub-pixel (in which case, I can imagine I'd have to first split each pixel into sub-pixels).
Thank you in advance for your help.
Massi
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Images 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!