main content

label images for computer vision applications -凯发k8网页登录

label images for computer vision applications

description

the image labeler app enables you to label ground truth data in a collection of images. using the app, you can:

  • define rectangular regions of interest (roi) labels, line roi labels, pixel roi labels, polygon roi labels, point roi labels, projected cuboid roi labels, and scene labels. use these labels to interactively label your ground truth data.

  • use built-in detection or tracking algorithms to label your ground truth data.

  • write, import, and use your own custom automation algorithm to automatically label ground truth. see .

  • evaluate the performance of your label automation algorithms using a visual summary. see .

  • export the labeled ground truth as a object. you can use this object for system verification or for training an object detector or semantic segmentation network. see .

  • to learn more about this app, see .

the image labeler app supports all image file formats supported by the function and additionally supports the digital imaging and communication in medicine (dicom) format including the ability to load multiframe data such as an ultrasound video. to read additional file formats supported by the image labeler app, you can create an and use the readfcn property. to label 2-d or 3-d medical image data stored in the dicom, neuroimaging informatics technology initiative (nifti), or nearly raw raster data (nrrd) file formats, use the medical image labeler (medical imaging toolbox).

when loading images, if an image has a dimension larger than 8000 pixels or is a multiresolution image, the image labeler app offers you the option to convert the image into a blocked image. a blocked image consists of a large image that has been divided into smaller blocks that can fit in memory. once the image labeler converts the large image into a blocked, you can process it in the app as you would any other image. while using blocked images enables you to process images in the app that you might not otherwise be able to, there are some limitations. for more information, see .

open the image labeler app

  • matlab® toolstrip: on the apps tab, under image processing and computer vision, click the app icon.

  • matlab command prompt: enter imagelabeler.

programmatic use

imagelabeler opens a new session of the app, enabling you to label ground truth data in images.

imagelabeler(imagefolder) opens the app and loads all the images from the folder named imagefolder.

the images in the folder can be unordered and can vary in size. to label a video, or a set of ordered images that resemble a video, use the video labeler app instead.

imagelabeler(imagedatastore) opens the app and reads all of the images from an imagedatastore object. the readfcn property of the object specifies how to read the data.

for example, to open the app with a collection of stop sign images:

   stopsignsfolder = fullfile(toolboxdir("vision"),"visiondata","stopsignimages");
   imds = imagedatastore(stopsignsfolder)
   imagelabeler(imds)

imagelabeler(sessionfile) opens the app and loads a saved image labeler session, sessionfile. the sessionfile input contains the path and file name. the mat-file that sessionfile points to contains the saved session.

imagelabeler(gtruth) opens the app and loads a object . the ground truth object data source must be an image collection or an .

more about

algorithms

you can use label automation algorithms to speed up labeling within the app. to create your own label automation algorithm to use within the app, see . you can also use one of the built-in algorithms by following these steps:

  1. import the data you want to label, and create at least one label definition.

  2. on the app toolstrip, click select algorithm and select one of the built-in automation algorithms.

  3. click automate, and then follow the automation instructions in the right pane of the automation window.

version history

introduced in r2018a

see also

apps

functions

  • | |

objects

  • | |
网站地图