How to shift pixels of an image?

3 visualizzazioni (ultimi 30 giorni)
Image.Processor
Image.Processor il 6 Nov 2017
Commentato: Rik il 7 Nov 2017
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 Commenti
Rik
Rik il 7 Nov 2017
Let's have 3 hurrahs for the Wayback Machine that also happened to have a copy of this file.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Downloads in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by