CSR

Class signature reporter


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

Back to top

Description


Generates a report for class signatures.
Back to top

Parameters


csr(file, dsig)

Name Type Caption Length Value range
FILE * str Input file name 1 -    
DSIG * List[int] Input class signature segment 1 - 1  

* Required parameter
Back to top

Parameter descriptions

FILE

Specifies the name of the PCIDSK image file that contains the signatures from which to generate a report.

DSIG

Specifies the segment (type 121) of an existing class signature from which to generate a report.

Back to top

Details

CSR generates a report of the statistical values as calculated for a specified signature segment (DSIG). These values include:

If reporting is disabled, the generated report is forced to your computer.

Modifications to the segment (type 121) are not provided.

For more information, refer to the CSE help topics.

Back to top

Example

This example reports on signature 13 of the file SPOT512.

from pci.csr import csr

file	=	"SPOT512"	# input file name
dsig	=	[13]	# input signature segment

csr( file, dsig )

The example produces the following results:

 CSR Classifier Signature Report   
 
SPOT512.PIX;1                   [S  4PIC   512P   512L] 25-OCT-92

13:Water     Type:121 [Signatures ]  Last Update: 13:58 27-OCT-92
Contents: Water bodies with no standing vegetation.
Sample size: 17066   Encoding: 10   Threshold: 2.00    Bias: 1.00

Channel        Mean      Deviation    Lo-Limit    Up-limit

  1       26.363200      48.618023       2.000       2.000
  4       15.795110      11.883088       2.000       2.000
  7       13.198001       7.964044       2.000       2.000
Class Correlation Matrix:       

              1              4              7
  +--------------------------------------------
1 |     1.000000         
4 |     0.432193       1.000000
7 |     0.389244       0.791232       1.000000

Class Covariance Matrix:        

              1              4              7
  +--------------------------------------------
1 |     2363.752
4 |      249.628        141.195
7 |      143.043         74.869         63.418

Determinant of Covariance Matrix:  0.64219640E+07

Inverse Covariance Matrix:      

              1              4              7
  +-------------------------------------------
1 |   0.00052156
4 |  -0.00079734     0.02015624
7 |  -0.00023501    -0.02199711     0.04226732

Triangular Inv-Covar. Matrix:   

              1              4              7
  +-------------------------------------------
1 |   0.02283621
4 |  -0.03492239     0.13761134
7 |  -0.01028018    -0.16245916     0.12557204

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