Label | Explanation | Data Type |
Input Raster
| The input multiband raster data. | Raster Dataset; Raster Layer |
Output Raster
| The output three-band composite raster. | Raster Dataset |
Method
| Specifies the method that will be used to extract bands.
| String |
Red Expression
| The calculation that will be assigned to the first band. A band name, band ID, or an algebraic expression using the bands. The supported operators are unary: plus (+), minus (-), times (*), and divide (/). | String |
Green Expression
| The calculation that will be assigned to the second band. A band name, band ID, or an algebraic expression using the bands. The supported operators are unary: plus (+), minus (-), times (*), and divide (/). | String |
Blue Expression
| The calculation that will be assigned to the third band. A band name, band ID, or an algebraic expression using the bands. The supported operators are unary: plus (+), minus (-), times (*), and divide (/). | String |
Summary
Creates a three-band raster dataset from a multiband raster dataset.
Usage
When defining the band arithmetic algorithm, you can enter a single-line algebraic formula for each expression to create a multiband output. The supported operators are unary, plus (+), minus (-), times (*), and divide (/).
When using a band ID in an expression, identify the band by prefixing the letter B or b to the band number.
Parameters
arcpy.management.CreateColorComposite(in_raster, out_raster, method, red_expression, green_expression, blue_expression)
Name | Explanation | Data Type |
in_raster | The input multiband raster data. | Raster Dataset; Raster Layer |
out_raster | The output three-band composite raster. | Raster Dataset |
method | Specifies the method that will be used to extract bands.
| String |
red_expression | The calculation that will be assigned to the first band. A band name, band ID, or an algebraic expression using the bands. The supported operators are unary: plus (+), minus (-), times (*), and divide (/). | String |
green_expression | The calculation that will be assigned to the second band. A band name, band ID, or an algebraic expression using the bands. The supported operators are unary: plus (+), minus (-), times (*), and divide (/). | String |
blue_expression | The calculation that will be assigned to the third band. A band name, band ID, or an algebraic expression using the bands. The supported operators are unary: plus (+), minus (-), times (*), and divide (/). | String |