im_sintra3
Basic trig functions
Part of im_costra(3).
Usage
int im_costra(in,
out)
IMAGE *in,
*out;
int im_sintra(in,
out)
IMAGE *in,
*out;
int im_tantra(in,
out)
IMAGE *in,
*out;
int im_acostra(in,
out)
IMAGE *in,
*out;
int im_asintra(in,
out)
IMAGE *in,
*out;
int im_atantra(in,
out)
IMAGE *in,
*out;
Overview
Basic trig functions. The input image is mapped through either cos(3), sin(3) or tan(3) and written to out. All work in degrees.
The size and number of bands are unchanged, the output type is float, unless the input is double, in which case the output is double. Non-complex images only!
Return value
Each function returns 0 on success and -1 on error.