Borrar filtros
Borrar filtros

how to move image to certain coordinate

4 visualizaciones (últimos 30 días)
mohd
mohd el 15 de Abr. de 2012
hello everyone,
i need to move image to a specify coordinate. i need to detect top left black pixel and move to new coordinate. below i have draw the illustration for better understanding.
please help me sir, how to move the image to coordinate that we want.

Respuestas (1)

Image Analyst
Image Analyst el 15 de Abr. de 2012
I'd probably just use circshift() in your case, since you don't seem to have to worry about stuff getting shifted in. If you do get unwanted wrap around of stuff shifting in, then you can use assignment, but I think circshift will be the simplest way.

Community Treasure Hunt

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

Start Hunting!

Translated by