필터 지우기
필터 지우기

loading multiple images and computing a single mean image

조회 수: 3 (최근 30일)
YJ
YJ 2014년 4월 23일
답변: Walter Roberson 2014년 4월 23일
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...

답변 (1개)

Walter Roberson
Walter Roberson 2014년 4월 23일

카테고리

Help CenterFile Exchange에서 Import, Export, and Conversion에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by