Function with multiple inputs
Show older comments
Hello everyone
I have a function with two inputs
function [output_image]=multiple(input_1,input_2)
assume
input_1=imread('image from input folder_1')
input_2=imread('image from input folder_2 ')
output_image=input_1+input_2 % assume this as preprocessing stage
%i need to stire all the images after prerocessig in folder
%i have 90 images in folder_1 and 90 images in folder_2 and this images
%should be read in sequence
%example like folder_1 : 1st image
% folder_2=first image
end
please help me to write a loop
3 Comments
Walter Roberson
on 12 Sep 2021
Do the images in the folders have the same names? Or do they have related names so that you can calculate the name in the second folder given only the name in the first folder?
Are you restricting this to only one file extension for the inputs?
Poreddy ajaykumar reddy
on 12 Sep 2021
Walter Roberson
on 12 Sep 2021
Okay, so given the name in one folder, how do you know which name in the other folder is the corresponding image ?
Accepted Answer
More Answers (0)
Categories
Find more on Blocked Images 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!