Function with multiple inputs
Mostra commenti meno recenti
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 Commenti
Walter Roberson
il 12 Set 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
il 12 Set 2021
Walter Roberson
il 12 Set 2021
Okay, so given the name in one folder, how do you know which name in the other folder is the corresponding image ?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Blocked Images in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!