IMAGESIN

Trigonometric sine of raster data


EnvironmentsPYTHON :: EASI :: MODELER
Quick linksDescription :: Parameters :: Parameter descriptions :: Details :: Example :: Related

Back to top

Description


Finds the sine values in a raster image file and places those values in the specified output file.
Back to top

Parameters


imagesin(fili, filo, dbic, dboc)

Name Type Caption Length Value range
FILI * str Input file name 1 -    
FILO str Output file name 0 -    
DBIC * List[int] Input raster channel(s) 1 -    
DBOC List[int] Output raster channel(s) 0 -    

* Required parameter
Back to top

Parameter descriptions

FILI

Specifies the name of the PCIDSK file that contains the raster channels to process.

FILO

Specifies the name of the PCIDSK image file to receive the output channel(s). If this parameter is not specified, the output file is assumed to be the same as the input file (FILI). If FILO already exists, its projection must be the same as FILI.

If FILO does not exist, a new PCIDSK file will be created. By default, the georeferencing information from FILI will be copied to the new FILO.

DBIC

Specifies the input channel(s) to be processed.

DBOC

Specifies the output image channel(s) produced by taking the sine of the input image channels (DBIC).

If FILO is an existing file, DBOC must be specified, and the channel type must be CHN_32R.

The number of output channels (DBOC) must be the same as the number of input channels (DBIC).

Back to top

Details

IMAGESIN takes all the pixel values from the input channel(s) and calculate the sine value, placing those values in the specified output channel(s).

Back to top

Example

This example demonstrates the use of IMAGESIN.

from pci.imagesin import imagesin

fili	=	"irvine.pix"	# input file
filo	=	"output.pix"	# output file (will be created)
dbic	=	list(range(1, 5 + 1))	# input channels
dboc	=	list(range(1, 5 + 1))	# output channels

imagesin( fili, filo, dbic, dboc )

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.