Calculate time intensity curve of ROI (multiple images)
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!