Satellite image processing in Matlab

12 ビュー (過去 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 Center および File ExchangeLoops and Conditional Statements についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by