loading multiple images and computing a single mean image
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a set of iamges (100 images) - im7 files, matrix [688 X 512], grey-scale (scienftic camera is used)
image are loaded in same folder readimx function load raw data from the image and additional information in the image header and by returns all of the information as a structure.
Below is a code that I used,
img_path = 'E:\test\';
im7_files = dir([img_path '*.im7']); %find typical file format, im7.
A1 = readimx([img_path im7_files(1).name]); %load all im7 files
figure;imagesc(double(A1.Data));colormap jet;colorbar
I am not sure whether it displays the mean images of multiple images.
I think I need to sum each pixcel value at each position and divide by 100 to have mean pixcel value for each position to generate one single mean image. but not sure how to do that...
댓글 수: 0
답변 (1개)
참고 항목
카테고리
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!