필터 지우기
필터 지우기

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 CenterFile 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!

Translated by