how to combine geo.tiff image combine

how to write the two geotiff image in one geotiff image.
my both image dimension are .m*n*2

댓글 수: 3

KSSV
KSSV 2022년 8월 10일
Why don't you attach your images.
rishika yadav
rishika yadav 2022년 8월 10일
SORRY I CANT
KSSV
KSSV 2022년 8월 10일
Then we cannot help...

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

답변 (1개)

Dolon Mandal
Dolon Mandal 2023년 9월 12일

0 개 추천

To write two GeoTIFF images into one GeoTIFF image in MATLAB, you can use the `geotiffwrite` function along with the `imwrite` function. Here's an example:
% Load the two images
image1 = imread('image1.tif');
image2 = imread('image2.tif');
% Combine the two images into a single 3D array
combinedImage = cat(3, image1, image2);
% Write the combined image as a GeoTIFF
geotiffwrite('combined_image.tif', combinedImage, R, 'GeoKeyDirectoryTag', info.GeoTIFFTags.GeoKeyDirectoryTag);
Hope it helps!

카테고리

도움말 센터File Exchange에서 Convert Image Type에 대해 자세히 알아보기

질문:

2022년 8월 10일

답변:

2023년 9월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by