geotran
Guest wrote on Feb 28, 2006
Hi
I have a problem with geotran. the input picture is 512x512 pix and the output a 3000x3000 pix image.
Whatever I do, I get 4 quarter in one picture. three quarter are almost black, are waste, but in the upper right quarter it looks like the transformed image I want to have.
What parameters did I wrong?
Why do geotran quarter my output image?
Joerg
I have a problem with geotran. the input picture is 512x512 pix and the output a 3000x3000 pix image.
Whatever I do, I get 4 quarter in one picture. three quarter are almost black, are waste, but in the upper right quarter it looks like the transformed image I want to have.
What parameters did I wrong?
Why do geotran quarter my output image?
Joerg
Mike Fitzpatrick wrote on Feb 28, 2006
It is hard to say specifically what could be causing this without seeing how you set your parameters. Would you mind posting them (e.g. "lpar geotran" output). I presume this could be reproduced using the same parameters on dev$pix (also a 512x512 image)??
-Mike
-Mike
Jens Melinder wrote on Feb 28, 2006
If I understand you correctly you want to rescale the 512*512 image to the pixelscale of the 3000*3000 image? So what goes wrong is that your small image conserve its pixelscale and only tries to shift the smaller image into the best-fit position inside the larger image? When you run geomap, how good is the fit?
If you want geotran to change the pixelscale of your image, you must have a geomap database where the fitting has been made with free scaling of the image (i.e. with fitgeometry set to rscale, rxyscale or general). Also in the geotran parameters the xmag and ymag params should be "INDEF".
Hope this helps, sorry if I'm stating something obvious
//Jens
If you want geotran to change the pixelscale of your image, you must have a geomap database where the fitting has been made with free scaling of the image (i.e. with fitgeometry set to rscale, rxyscale or general). Also in the geotran parameters the xmag and ymag params should be "INDEF".
Hope this helps, sorry if I'm stating something obvious
//Jens
Last post on Feb 28, 2006