Extract values from binary matrix into periodic lattice
Mostrar comentarios más antiguos
I am using a camera to detect periodic illumination but the difference in camera pixel spacing and illumination period, the detected values are aperiodic. e.g. the circled values are displaced 1 index from the correct position. I want to write the values into another array such that these values are shifted to the correct position. Is there a good way to do this?
Respuestas (1)
Shree Harsha Kodi
el 22 de Jun. de 2023
0 votos
To achieve the above you would need the following functions whose relevant docs are privided below
MATLAB find function: https://in.mathworks.com/help/matlab/ref/find.html
MATLAB meshgrid function: https://in.mathworks.com/help/matlab/ref/meshgrid.html
MATLAB sub2ind function: https://in.mathworks.com/help/matlab/ref/sub2ind.html
Categorías
Más información sobre Biomedical Imaging en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!