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 件)

カテゴリ

Help Center および File ExchangeImage Processing and Computer Vision についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by