Shifting pixel colums in an image
9 views (last 30 days)
Show older comments
I have an image having pixel values in rows: 350-1000, and columns: 100-250
I want to shift these pixel values from columns 100-250 to 130-280.
which command should I use?
Thanks!
Accepted Answer
Iain
on 8 Sep 2014
shifted = zeros(size(original));
shifted(:, 130:280,:) = original(:,100:250,:);
3 Comments
More Answers (0)
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!