Effacer les filtres
Effacer les filtres

how to combine geo.tiff image combine

18 vues (au cours des 30 derniers jours)
rishika yadav
rishika yadav le 10 Août 2022
how to write the two geotiff image in one geotiff image.
my both image dimension are .m*n*2
  3 commentaires
rishika yadav
rishika yadav le 10 Août 2022
SORRY I CANT
KSSV
KSSV le 10 Août 2022
Then we cannot help...

Connectez-vous pour commenter.

Réponses (1)

Dolon Mandal
Dolon Mandal le 12 Sep 2023
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!

Catégories

En savoir plus sur Import, Export, and Conversion dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by