Function with multiple inputs
古いコメントを表示
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 件のコメント
Walter Roberson
2021 年 9 月 12 日
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
2021 年 9 月 12 日
Walter Roberson
2021 年 9 月 12 日
Okay, so given the name in one folder, how do you know which name in the other folder is the corresponding image ?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Blocked Images についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!