Image Analysis — Adding Images
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² + yy² + xy²)¹/2.
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?
Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.
You can achieve this task by using imread and imshow functions.
when you read the image using the imread function a uint8 array of the image is created.
so we then convert the read image into a double for applying the operations required and then convert it back to uint8 for using the imshow function.
I am providing the code for this task below. I am also attaching the output image.
im2=imread('2.jpg'); %reading the images, replace the names with appropriate file names.
im2=double(im2); %converting into double.
im=(((im1.*im1)+(im2.*im2)+(im3.*im3))/3).^0.5; %applying the formula.
SEE COMPLETE ANSWER CLICK THE LINK
Image Analysis - Adding Images
Inderdeep Grewal I have three separate images that represent the strain of an area in the XX, XY, and YY axis. These…