I have two images of the same matrix size (512x512) but different pixel spacing. One image has a pixel spacing of 0.7 and the other 0.4. How do I get the two images to have the same pixel spacing and still maintain the matrix size of both images.
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Image Processing
0 comentarios
Respuestas (1)
Chaya N
el 8 de Dic. de 2016
You could extract the image pixel values into new arrays. This would preserve the size of the images and ignore pixel spacing (or consider them equal if you will). I would suggest using the impixel function.
Ver también
Categorías
Más información sobre Geometric Transformation and Image Registration en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!