Main Content

Pistage et estimation du mouvement

Flux optique, reconnaissance d’activité, estimation du mouvement, réidentification d’objets et pistage

L’estimation du mouvement et le pistage sont des opérations essentielles dans de nombreuses applications de Computer Vision comme la reconnaissance d’activité, le contrôle du trafic, la sécurité automobile et la surveillance.

Computer Vision Toolbox™ propose des algorithmes de pistage vidéo tels que CAMShift (Continuously Adaptive Mean Shift) et KLT (Kanade-Lucas-Tomasi). Vous pouvez utiliser ces algorithmes pour pister un seul objet ou comme blocs de base dans un système de pistage plus complexe. La toolbox propose également un framework pour le pistage de plusieurs objets. Celui-ci comprend un filtre de Kalman ainsi que l’utilisation de l’algorithme hongrois pour affecter les détections d’objets à des pistes.

L’estimation du mouvement est le processus consistant à déterminer le mouvement des blocs entre des trames vidéo adjacentes. Cette toolbox propose des algorithmes d’estimation du mouvement tels que le flux optique et la correspondance de bloc et de modèle. Ces algorithmes créent des vecteurs de mouvement se rapportant à l’image entière, à des blocs, à des formes arbitraires ou à des pixels particuliers. Pour la correspondance de blocs et de modèles, les métriques d’évaluation permettant de trouver la meilleure correspondance sont notamment l’erreur quadratique moyenne (MSE), l’écart absolu moyen (MAD), la différence absolue maximale (MaxAD), la somme des différences absolues (SAD) et la somme des carrés des différences (SSD).

Fonctions

développer tout

vision.BinaryFileReaderRead video data from binary files
vision.BinaryFileWriterWrite binary video data to files
vision.DeployableVideoPlayerDisplay video
vision.VideoPlayerPlay video or display image
vision.VideoFileWriterWrite video frames and audio samples to video file
VideoReaderCreate object to read video files
assignDetectionsToTracksAssign detections to tracks for multiobject tracking
bbox2pointsConvert rectangle to corner points list
configureKalmanFilterCreate Kalman filter for object tracking
vision.KalmanFilterCorrection of measurement, state, and state estimation error covariance
vision.HistogramBasedTrackerHistogram-based object tracking
vision.PointTrackerTrack points in video using Kanade-Lucas-Tomasi (KLT) algorithm
vision.BlockMatcherEstimate motion between images or video frames
vision.TemplateMatcherLocate template in image
reidentificationNetworkRe-identification deep learning network for re-identifying and tracking objects (depuis R2024a)
extractReidentificationFeaturesExtract object re-identification (ReID) features from image (depuis R2024a)
trainReidentificationNetworkTrain re-identification (ReID) deep learning network (depuis R2024a)
evaluateReidentificationNetworkEvaluate re-identification network using cumulative matching characteristic (CMC) and mean average precision (mAP) metrics (depuis R2024a)
reidentificationMetricsRe-identification (ReID) quality metrics (depuis R2024a)
opticalFlowObject for storing optical flow matrices
opticalFlowFarnebackObject for estimating optical flow using Farneback method
opticalFlowHSObject for estimating optical flow using Horn-Schunck method
opticalFlowLKObject for estimating optical flow using Lucas-Kanade method
opticalFlowLKDoGObject for estimating optical flow using Lucas-Kanade derivative of Gaussian method
vision.BlockMatcherEstimate motion between images or video frames
vision.TemplateMatcherLocate template in image
insertMarkerInsert markers in image or video
insertShapeInsert shapes in image or video
insertObjectAnnotationAnnotate truecolor or grayscale image or video
insertTextInsert text in image or video
imshowDisplay image
imshowpairCompare differences between images

Rubriques