Calculate time intensity curve of ROI (multiple images)
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Siehe auch
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!