nw_scale_rgb¶
- pydl.pydlutils.rgbcolor.nw_scale_rgb(colors, scales=(1.0, 1.0, 1.0))[source]¶
Multiply RGB image by color-dependent scale factor.
- Parameters:
- Returns:
ndarrayThe scaled image.
- Raises:
ValueErrorIf
colorsorscaleshas the wrong shape.