my project is to detect the sequence and the positon of IR from a video, i convert the video into frames then to gray scale then to binary and now i have the max pixel IR is 1 and other pixels is 0 how could i detect the 1's and the position?plz
2 ビュー (過去 30 日間)
古いコメントを表示
close all RGB = imread('099.png'); I=rgb2gray(RGB); M=max(max(max(max(I)))); Inew= idivide(I,M,'fix' ); imagesc(Inew') % Generate sample data imageArray = Inew % Find the max value. maxValue = max(imageArray(:)) % Find all locations where it exists. [rowsOfMaxes colsOfMaxes] = find(imageArray == maxValue)
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Image Processing and Computer Vision についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!