Borrar filtros
Borrar filtros

Size images in image set.

1 visualización (últimos 30 días)
B Janssen
B Janssen el 27 de Feb. de 2018
Respondida: B Janssen el 12 de Mzo. de 2018
Hello, I am in the process of starting to build an image set for computer learning. I just started to work with this ML feature, so there a learning curve is to be expected. One thing however, is something I rather ask before all the work starts.
When building a new ImageSet, do I need to convert these images to one particular size or can this vary?

Respuesta aceptada

lokender Rawat
lokender Rawat el 6 de Mzo. de 2018
You do not need to convert these images to a particular size. You can use "imageSet class" and the following syntax to create the object which will contain the image data set:
imgSet = imageSet('dir1\dir2\imageDataSetLocation')
The "imgSet" object will have 3 properties: Description, ImageLocation and Count.
You can then refer to any image( first image below ) with the following command:
imshow(read(imgSet,1))

Más respuestas (1)

B Janssen
B Janssen el 12 de Mzo. de 2018
Thank you!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by