Advertisement
makispaiktis

Image Processing Onramp - Course 7 - ImageDatastore

Aug 4th, 2023
782
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.21 KB | None | 0 0
  1. % 1. Create an imageDatastore ----> "testimages" is a PC folder directory
  2. ds = imageDatastore("testimages")
  3. dataFilenames = ds.Files
  4. nFiles = numel(dataFilenames)
  5.  
  6. % 2. Show image
  7. img = read(ds)
  8. imshow(img)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement