Skip to content

Instantly share code, notes, and snippets.

@MichaelTr7
Created March 27, 2022 02:40
Show Gist options
  • Save MichaelTr7/44a0acb758a89b38dd138a48f0412925 to your computer and use it in GitHub Desktop.
Save MichaelTr7/44a0acb758a89b38dd138a48f0412925 to your computer and use it in GitHub Desktop.
File_Type = "png";
Image_File_Names = dir("*." + File_Type);
Image_Row_Vector = [];
for Image_Index=1: numel(Image_File_Names)
File_Name = Image_File_Names(Image_Index).name;
Image = imread(File_Name);
Image = reshape(Image,[1,numel(Image)]);
Image_Row_Vector = [Image_Row_Vector Image];
end
imshow(Image_Row_Vector);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment