.TH "pfspanoramic" 1 .SH NAME pfspanoramic \- Perform projective transformations of spherical images .SH SYNOPSIS .B pfspanoramic + [--width ] [--height ] [--oversample ] [--interpolate] [--xrotate ] [--yrotate ] [--zrotate ] .SH DESCRIPTION Transform spherical maps between various projections. Currently .BI polar (latitude-longitude), .BI angular (light probe), .BI mirrorball and .BI cylindrical are supported. The syntax for specifying the transformation is .RI \| source_projection \|+\| target_projection \|, where .RI \| source_projection \| is the current mapping that source image uses and .RI \| target_projection \| is the projection you'd like it to be transformed to. If the projection has some optional parameters, you can specify them with syntax: //...+//... As of now only .BI angular supports a parameter - .BI angle - which defines how many degrees from the viewing direction the projection should cover, e.g. angular+angular/angle=180 converts angular image to show only half of a hemisphere around the viewing direction. .SH OPTIONS .TP --width , -w .TP --height , -h Make the target image respectively pixels wide and/or high. If only one is specified, the other is computed from the target projection's typical W/H ratio. If neither is specified, the width is taken from the source image and height is computed as above. .TP --oversample , -o Oversample each target pixel x times, improving quality in areas that are scaled down with respect to the source image. Reasonable values are 2 to 5, while setting it higher may make the reprojection unbearably slow. .TP --interpolate, -i Use bilinear interpolation when sampling the source image. Increases quality in magnified areas. .TP --xrotate , -x Rotate the spherical image degrees around X axis. .TP --yrotate , -y Rotate the spherical image degrees around Y axis. .TP --zrotate , -z Rotate the spherical image degrees around Z axis. .SH EXAMPLES .TP pfsin grace_probe.hdr | pfspanoramic angular+polar -i -o 3 -y 90 -w 500 | pfsout grace.hdr Transform grace angular map to polar (latitude-longitude) projection applying bilinear interpolation and 3x3 oversampling, while rotating it by 90 degrees around Y axis. The image will be resized to 500x250 pixels (as the polar projection has 2:1 width-to-height ratio) and finally saved in grace.hdr. .SH "SEE ALSO" .BR pfsin (1) .BR pfsout (1) .SH BUGS Please report bugs and comments to Miloslaw Smyk .