Read pixel by pixel value from two images simultaneously
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Nataliya
el 9 de Feb. de 2017
Respondida: Image Analyst
el 11 de Feb. de 2017
I want to get pixel by pixel value from two images at once. For example, Get 1st pixel value of both images and so on. How can I do this?
0 comentarios
Respuesta aceptada
Image Analyst
el 11 de Feb. de 2017
You can't get them simultaneously (unless you're using the Parallel Computing Toolbox). You can get one, then the other, like this:
grayLevel1 = grayImage1(row, column);
grayLevel2 = grayImage2(row, column);
0 comentarios
Más respuestas (1)
KSSV
el 9 de Feb. de 2017
doc imread. imread reads your images. When you read two images, their dimensions can be different. You can make their dimensions equal using imresize.
Ver también
Categorías
Más información sobre Convert Image Type en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!