PCA Operator |

# PCA Operator Description

## Overview

Name: | `PCA`
Full name: | `org.esa.snap.cluster.PrincipalComponentAnalysisOp`
Purpose: | Performs a Principal Component Analysis.
Version: | 1.0

## Description

Implements a Principal Component Analysis.

## Sources

Name | Description
--- | ---
`sourceProduct` | The source product.

## Parameters

Name | Data Type | Default | Description | Constraints
--- | --- | --- | --- | ---
`sourceBandNames` | `String[]` | `` | The names of the bands being used for the cluster analysis. |
`componentCount` | `int` | `-1` | The maximum number of principal components to compute. |
`roiMaskName` | `String` | `` | The name of the ROI mask that should be used. |
`removeNonRoiPixels` | `boolean` | `false` | Removes all non-ROI pixels in the target product. |