Quantization Operator |

# Quantization Operator Description

## Overview

Name: | `QuantizationOp`
Full name: | `org.esa.snap.core.gpf.common.rtv.QuantizationOp`
Purpose: | Converts the pixels with values belonging to an interval to a fixed, integer value
Version: | 1.0

## Description

The `QuantizationOp` converts all pixels with values within given intervals to fixed, integer values.

## Sources

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

## Parameters

Name | Data Type | Default | Description | Constraints
--- | --- | --- | --- | ---
`bandName` | `String` | `` | The name of the band to convert. |
`intervalsMap` | `Map<Integer, Range>` | `` | The set of intervals to use for conversion. If the pixel is within one of the ranges, it is replaced with the associated integer value for that range. Values which are outside all ranges are replaced with 0. |