Calculate time intensity curve of ROI (multiple images)
2 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!