Function with multiple inputs
Afficher commentaires plus anciens
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 commentaires
Walter Roberson
le 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
le 12 Sep 2021
Walter Roberson
le 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 ?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Blocked Images dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!