Image Analysis - Adding Images
Mostrar comentarios más antiguos
I have three separate images that represent the strain of an area in the XX, XY, and YY axis. These images are all scaled the same. My goal is to combine the separate strains into one normalized strain with the following equation: E = (xx^2 + yy^2 + xy^2)^1/2. (Reference images attached)
How can I create an array or matrix that is the size of the image that is composed of the RGB values of each image and then insert them into the equation?
Respuesta aceptada
Más respuestas (1)
Shrestha Kumar
el 4 de Jun. de 2018
0 votos
Hi,
You can use imread function to read the image and get a matrix with RGB values of the image.
For example - imread('5.jpg'); %(It gives a 408*576*3 matrix)
After reading all the images into the matrix you can perform the arithmetic operations on the matrix.
Categorías
Más información sobre Image Arithmetic 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!