How to shift pixels of an image?

3 ビュー (過去 30 日間)
Image.Processor
Image.Processor 2017 年 11 月 6 日
コメント済み: Rik 2017 年 11 月 7 日
Is it possible to shift the pixels of an image so that all the true (white pixels) when cross a certain line they become zero and right after the first pixel becomes zero the rest of the pixels stops there.
I am trying to do this to make a curve into straight line. The idea is to define an imaginary straight line and burn it into the top of image and then shifting all the pixels below it to that line so that when the first true pixel crosses that line it becomes zero and then the loop starts again for next row and column value and goes up to the width of the image. I hope i didn't make the question too complex, I am stuck into this problem anyone who could help will be much appreciated.
TIA
  17 件のコメント
Rik
Rik 2017 年 11 月 7 日
Let's have 3 hurrahs for the Wayback Machine that also happened to have a copy of this file.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeDownloads についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by