Filter löschen
Filter löschen

convert gray values to coordinate

2 Ansichten (letzte 30 Tage)
Merve YILDIRIM
Merve YILDIRIM am 11 Jan. 2020
Kommentiert: Merve YILDIRIM am 11 Jan. 2020
hello
I have a gray geotiff image of type 7841x7731 uint16. how can I find the x and y coordinates of this image?
  2 Kommentare
Meg Noah
Meg Noah am 11 Jan. 2020
Bearbeitet: Meg Noah am 11 Jan. 2020
Can you share the geotiff image somewhere? The question is are the raster references going to be in latitude, longitude or are they in Easting, Northing values? Can you list out the info that you get from executing:
info = geotiffinfo(fullfile(iDir,filename));
Or the contents of R when you execute:
[data,R] = geotiffread(fullfile(iDir,filename));
Merve YILDIRIM
Merve YILDIRIM am 11 Jan. 2020
struct with fields:
Filename: 'C:\Users\HP\Desktop\Yeni klasör\16_4.TIF'
FileModDate: '15-Kas-2018 13:37:22'
FileSize: 121300618
Format: 'tif'
FormatVersion: []
Height: 7841
Width: 7731
BitDepth: 16
ColorType: 'grayscale'
ModelType: 'ModelTypeProjected'
PCS: 'WGS 84 / UTM zone 37N'
Projection: 'UTM zone 37N'
MapSys: 'UTM_NORTH'
Zone: 37
CTProjection: 'CT_TransverseMercator'
ProjParm: [7×1 double]
ProjParmId: {7×1 cell}
GCS: 'WGS 84'
Datum: 'World Geodetic System 1984'
Ellipsoid: 'WGS 84'
SemiMajor: 6378137
SemiMinor: 6.3568e+06
PM: 'Greenwich'
PMLongToGreenwich: 0
UOMLength: 'metre'
UOMLengthInMeters: 1
UOMAngle: 'degree'
UOMAngleInDegrees: 1
TiePoints: [1×1 struct]
PixelScale: [3×1 double]
SpatialRef: [1×1 map.rasterref.MapPostingsReference]
RefMatrix: [3×2 double]
BoundingBox: [2×2 double]
CornerCoords: [1×1 struct]
GeoTIFFCodes: [1×1 struct]
GeoTIFFTags: [1×1 struct]

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by