Calculate time intensity curve of ROI (multiple images)

조회 수: 3 (최근 30일)
Ihiertje
Ihiertje 2017년 1월 31일
편집: Ihiertje 2017년 1월 31일
Hi everyone,
I'm analysing a video (I splitted the video into grayscale frames) and I would like to perform the following things: 1. Determine three ROIs by hand, save the ROIs and use them for all images. 2. Calculate the mean value of the ROIs in each image 3. Create a time-intensity graph of al images
% code
im = VideoFrames_Fluo(:,:,k);
imshow (im);
ROI = imellipse();
BinaryImage = ROI.createMask();
numberOfPixels1 = bwarea(BinaryImage(:));% Calculate area
structBoundaries = bwboundaries(BinaryImage);
xy = structBoundaries{1};
x = xy(:,2);
y = xy(:,1);
m = mean2(BinaryImage);
I also found the mmROI code, however I cannot get to work. Could someone help me please?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by