Question: This is what I have so far for part 1. I cannot figure out how to get both selected images to appear on same figure


This is what I have so far for part 1. I cannot figure out how to get both selected images to appear on same figure of the image like in the given example.
Thanks!
Your assignment: Write a single MATLAB.m file that does the following: 1) Load the first image and select two 100 pixel x 100 pixel regions of interest using matrix indexing, similar to the figure below. 200 400 600 800 LED 1000 1200 1400 1600 1800 200 400 600 800 1000 1200 2) Process each region of interest for the first image using an optimized speckle contrast equation that takes the standard deviation of all of the pixels and divides them by the mean of all of the pixels. image_folder dir('.tif'); desired_image = image_folder (1).name; output imread (desired_image); output_db = double (output); output_db_1 = output_db(:,:,1); figure (1) imagesc (output_db_1) colorbar colormap jet output_small_a output small b output (450:550, 650:750); output (570:670, 880:980); imagesc (output_small_a) imagesc (output_small_b) Your assignment: Write a single MATLAB.m file that does the following: 1) Load the first image and select two 100 pixel x 100 pixel regions of interest using matrix indexing, similar to the figure below. 200 400 600 800 LED 1000 1200 1400 1600 1800 200 400 600 800 1000 1200 2) Process each region of interest for the first image using an optimized speckle contrast equation that takes the standard deviation of all of the pixels and divides them by the mean of all of the pixels. image_folder dir('.tif'); desired_image = image_folder (1).name; output imread (desired_image); output_db = double (output); output_db_1 = output_db(:,:,1); figure (1) imagesc (output_db_1) colorbar colormap jet output_small_a output small b output (450:550, 650:750); output (570:670, 880:980); imagesc (output_small_a) imagesc (output_small_b)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
