Satellite image processing in Matlab

조회 수: 13 (최근 30일)
Gokhan Kayan
Gokhan Kayan 2016년 7월 15일
편집: BANDARU UMAMADHURI 2020년 1월 29일
I am very new to Matlab and ı want to process my satellite images in it. I have 96 different monthly satellite images (2003-2010) and I want to make some calculations for them. I want to subtract respective months from each other to calculate changes. Let say m(j) is the jth month and m(j+1) is the j+1 month. Δm= m(j+1)-m(j). I want to apply this formula for all respective months and obtain 96 different results separately how can I do this ?
  댓글 수: 2
Cyrus
Cyrus 2016년 7월 15일
Do you have one image per month or separated bands? What type of satellite images, are you using? (Landsat-8? Landsat 7?. ,,,)
Gokhan Kayan
Gokhan Kayan 2016년 7월 15일
I have one GRACE satellite image for every month (96 image) and it only includes one band showing water thickness. To calculate water thickness change ı should subtract respective bands from each other.

댓글을 달려면 로그인하십시오.

채택된 답변

Image Analyst
Image Analyst 2016년 7월 15일
% Specify the folder where the files live.
myFolder = 'C:\Users\yourUserName\Documents\My Pictures';
% Check to make sure that folder actually exists. Warn user if it doesn't.
if ~isdir(myFolder)
errorMessage = sprintf('Error: The following folder does not exist:\n%s', myFolder);
uiwait(warndlg(errorMessage));
return;
end
% Get a list of all files in the folder with the desired file name pattern.
filePattern = fullfile(myFolder, '*.jpg'); % Change to whatever pattern you need.
theFiles = dir(filePattern);
for k = 1 : length(theFiles)
baseFileName = theFiles(k).name;
fullFileName = fullfile(myFolder, baseFileName);
fprintf(1, 'Now reading %s\n', fullFileName);
% Now do whatever you want with this file name,
% such as reading it in as an image array with imread()
imageArray = imread(fullFileName);
if k == 1
priorImage = imageArray;
continue; % Skip to bottom of loop.
end
imshow(imageArray); % Display image.
drawnow; % Force display to update immediately.
differenceImage{k} = double(imageArray) - double(priorImage);
% Now do whatever you want with differenceImage{k}.....
end
  댓글 수: 1
Gokhan Kayan
Gokhan Kayan 2016년 7월 15일
thank you frien ı try to run it.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

BANDARU UMAMADHURI
BANDARU UMAMADHURI 2020년 1월 29일
편집: BANDARU UMAMADHURI 2020년 1월 29일
Hii,Can someone give the insights of satellite image processing using matlab.Where we take a remote sensing data and need to find lime stone in a perticular area

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by