calculate intensity of a part of images
1 回表示 (過去 30 日間)
古いコメントを表示
I have sequence of gray scale images (35000 images) with the size of 2048X700 and 12bit. I want to calculate the intensity of a part of images (e.g. from x=600px to x=800px). we know the intensity changes in each sequence in this region of images. How can I calculate the intensity of this region in each sequence and then have one image as aresult showing total intensity of this region?
I trully appreciate any help.
0 件のコメント
回答 (1 件)
KSSV
2022 年 6 月 17 日
編集済み: KSSV
2022 年 6 月 17 日
imgs = dir('*.jpg') ; % give the image extension
N = length(imgs) ; % Number of images
iwant = cell(N,1) ; % save the extracted part of image
idx = 600:800 ; % indices of x for which pixles to be extracted
for i = 1:N
img = imgs(i).name ; % name of each image
I = imread(img) ; % Read the image
iwant{i} = I(idx,:,:) ; % save the extracted part
end
参考
カテゴリ
Help Center および File Exchange で Read, Write, and Modify Image についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!