How to add data of world file into image to represent longitude and latitude?

2 views (last 30 days)
I have the doubt to add the coordinate system to an image. Can the I know the longitude and latitude of the selected pixel coordinate after using 'imshow', or using command by typing the pixel coordinate? The result should be close compare with the real map such as Google Maps.
I download the map image by using Map Puzzle and generate the world file. The values are shown as below. 1pixel = 318meter
0.124040814201106
0.0
0.0
-0.124040814201106
342233.925734193
6257514.34629212
The values below are generated by the software too.
Upper Latitude: -33.8108170293086
Lower Latitude: -33.8136695798907
Left Longitude: 151.295471191406
Right Longitude: 151.298904418945
Exact center of image Latitude: -33.8122433
Exact center of image Longitude: 151.2971878
Upper Left Lon: 151.295471191406
Upper Left Lat: -33.8108170293086
Zone: 56H
Easting: 342233.925734193
Northing: 6257514.34629212
Datum: WGS 84

Answers (0)

Community Treasure Hunt

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

Start Hunting!