Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
finding the center of the pixel
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
i have a medical image (attached). I want to find the patches from two images(original and the deformed version of original) without the black background.
startCoord = [30,40];
centerCoord = [70,75];
patchSize = 32;
patchSourceImage = im(centerCoord(1)-ceil(patchSize/2):centerCoord(1)+ceil(patchSize/2)-1,centerCoord(2)-ceil(patchSize/2):centerCoord(2)+ceil(patchSize/2)-1);
patchTargetImage = locally_deformed_image(centerCoord(1)-ceil(patchSize/2):centerCoord(1)+ceil(patchSize/2)-1,centerCoord(2)-ceil(patchSize/2):centerCoord(2)+ceil(patchSize/2)-1);
Using this i want to find the displacment values from original and deformed image. MY question how should i determine my starting coordinate andcenter coordinate? My image if size 256*150.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/154814/image.jpeg)
2 comentarios
Robert Fennis
el 12 de Jul. de 2016
I'm sorry, I really don't get what you are trying to do. You already have a center and start coordinate. Do you have displaced images that you are trying to align?
Respuestas (0)
La pregunta está cerrada.
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!