Calculate time intensity curve of ROI (multiple images)

3 Ansichten (letzte 30 Tage)
Ihiertje
Ihiertje am 31 Jan. 2017
Bearbeitet: Ihiertje am 31 Jan. 2017
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?

Antworten (0)

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by