Borrar filtros
Borrar filtros

Using Image Labeler to train Object Detector

3 visualizaciones (últimos 30 días)
Asa Kalish
Asa Kalish el 17 de Jun. de 2018
Comentada: Asa Kalish el 17 de Jun. de 2018
dataDir = fullfile('/Users/asakalish/Documents/MATLAB/Image Analysis/');
imDir = fullfile(dataDir,'data');
pxDir = fullfile(dataDir,'dataPixelLabels');
imds = imageDatastore(imDir);
classNames = ["1" "2" "3" "4" "5" "6" "7" "8"];
pixelLabelID = [1 2 3 4 5 6 7 8];
pxds = pixelLabelDatastore(pxDir,classNames,pixelLabelID);
This is the code I have so far
Attached is an example of the images I am training the algorithm to detect. I want the algorithm to be able to find each white "dot" (they are organelles), and effectively draw a circle around them so that I can analyze them and take data such as centroid, size, etc.
I tried to upload them into Image Labeler, to identify each organelle, and put them into the 'dataPixelLabels' folder. However, after doing the ROI's for each image, I don't know how to export them into the 'dataPixelLabels' folder, as a .png/.jpg/etc
I think I need to label these images and put them in this file, to be able to train the algorithm. I have not worked with CNN's before, so this is new to me. If you believe this is the wrong approach, please let me know. Any help appreciated!
  2 comentarios
Image Analyst
Image Analyst el 17 de Jun. de 2018
How big is this image? Why is it so tiny? You don't have enough resolution to do much.
Asa Kalish
Asa Kalish el 17 de Jun. de 2018
I converted it to a .png (was just messing around with different file types). It's normally big enough to analyze, though.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Image Data Workflows en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by