video processing for motion detection
古いコメントを表示
can i track the motion of a motor from a video? i tried histogram plotting but exporting data is hard
12 件のコメント
Turlough Hughes
2019 年 12 月 8 日
Depends what footage you have and what you want to track. Are you looking for rpm? You should attach a shortish video.
Saffana Siddiqua
2019 年 12 月 8 日
Turlough Hughes
2019 年 12 月 8 日
You could do it alright, I would probably look at just processing a single pixel in each image to detect the flash from the laser. Is there are reason have to use video footage? You could set up a photodiode to detect the laser, like a laser tachometer, and that would be much more efficient (MATLAB also supports arduino).
Saffana Siddiqua
2019 年 12 月 8 日
Image Analyst
2019 年 12 月 8 日
Do you want each histogram to go into one row or one column, and then build up an image of histograms and then show them with imshow()? Like
histImage = zeros(numberOfFrames, 256);
for k = 1 : numberOfFrames
thisFrame = .......whatever.
counts = histcounts(thisFrame); % Get histogram of this frame.
histImage(row, :) = counts; % Add this frame's histogram to the image.
imshow(histImage, []); % Display the histogram image.
drawnow;
end
Saffana Siddiqua
2019 年 12 月 8 日
Saffana Siddiqua
2019 年 12 月 8 日
Image Analyst
2019 年 12 月 8 日
How do you want the histograms to appear? As an image where the brightness of the pixel is related to the counts in the bin, or as a bunch of overlapping line plots where you can see a line plot of all the histograms superimposed on each other?
Saffana Siddiqua
2019 年 12 月 8 日
Image Analyst
2019 年 12 月 8 日
Like concatenated? Stitched end-to-end? Maybe with a vertical line at the place that separates the different line plots?
Saffana Siddiqua
2019 年 12 月 8 日
Saffana Siddiqua
2019 年 12 月 10 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Tracking and Motion Estimation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!