Image Analysis - Adding Images
Show older comments
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?
Accepted Answer
More Answers (1)
Shrestha Kumar
on 4 Jun 2018
0 votes
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.
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!