Skip to main content

Creating georeferenced images with JAI

1 reply [Last post]
emack06
Offline
Joined: 2006-12-26

Fellas, Im new to JAI and I was wondering if I can use it to create georeferenced images. Say I have a .TIFF or .JPEG image of my neigborhood and I want to add geo-coordinates to this image so that a point on the image matches a real Latitude/Longitude location and can be displayed.
1. How do I create the georeferenced image using JAI and
2. Would I have to perform some kind of translation algorithm to convert the x, y cooridinates on the image to a latitude/longitude coordinate?

Thanks in advanced

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
bpb
Offline
Joined: 2004-06-23

Sounds like you have two possible cases: image annotation and image registration. In the former case you would only be writing annotations on an existing image so you would need to be able to calculate the geographic coordinates of a given pixel in order to write the annotation.

In the second case you want to geometrically transform the image to a terrestrial coordinate system. Assuming you know what this transform is, you can do this is JAI using various operations among which you would select as a function of the complexity of the transformation. The pertinent operations are "affine" and "warp". For the "warp" operations one of the WarpGrid, WarpPerspective, or WarpPolynomial classes should suffice.

> Fellas, Im new to JAI and I was wondering if I can
> use it to create georeferenced images. Say I have a
> .TIFF or .JPEG image of my neigborhood and I want to
> add geo-coordinates to this image so that a point on
> the image matches a real Latitude/Longitude location
> and can be displayed.
> 1. How do I create the georeferenced image using JAI
> and
> 2. Would I have to perform some kind of translation
> algorithm to convert the x, y cooridinates on the
> image to a latitude/longitude coordinate?
>
> Thanks in advanced