{"categories":[{"label":"GIS","url":"https://skillfed.io/packages/category/scientific-engineering-gis"},{"label":"Graphics Conversion","url":"https://skillfed.io/packages/category/multimedia-graphics-graphics-conversion"}],"enrichment":{"capability":"Applies color-oriented image operations\u2014gamma adjustment, sigmoidal contrast, saturation, and atmospheric correction\u2014to numpy arrays representing RGB imagery in rasterio band ordering.","skillfed_tags":["image-processing","color-science","numpy-based"],"use_cases":["Enhance satellite or aerial imagery by reducing atmospheric haze and adjusting contrast in specific bands.","Apply gamma correction to brighten or darken image midtones without clipping shadows or highlights.","Adjust color saturation independently of brightness in RGB imagery by converting to and from perceptual color spaces.","Chain multiple color operations via operation strings (DSL) for reproducible image processing pipelines.","Convert image data between color spaces (RGB, LAB, LCH, etc.) for advanced color analysis or manipulation."],"what_it_does":"color-operations is a fork of Mapbox's rio-color that provides color and contrast adjustment functions for image processing, with the rasterio dependency removed and Python 3.9+ support added. It operates on numpy arrays in rasterio band ordering (bands, columns, rows) and assumes input values scaled 0 to 1. The package exports functions for gamma adjustment (brightening/darkening midtones), sigmoidal contrast (non-linear brightness and contrast matching human perception), saturation adjustment (colorfulness control), and atmospheric correction. It also includes a colorspace module for converting between RGB, XYZ, LAB, LCH, and LUV color spaces, and a domain-specific language for composing chains of operations via operation strings.\n\nThe package is useful for satellite imagery enhancement\u2014particularly reducing atmospheric haze in blue and green bands\u2014and general image processing workflows where fine-grained control over tone curves and color intensity is needed. It is built with Cython for performance and provides both array-level and scalar-level colorspace conversion functions.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and solves a specific problem (color-oriented image operations on numpy arrays) with a shallow dependency tree. It is well-suited for satellite imagery and scientific image processing workflows. Install friction is moderate due to compiled wheels, but platform coverage is broad."},"id":"color-operations","links":{"html":"https://skillfed.io/packages/color-operations","md":"https://skillfed.io/packages/color-operations.md","pypi":"https://pypi.org/project/color-operations/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-03-27","license_spdx":null,"license_treatment":"permissive","name":"color-operations","python_support":"supports_current","summary":"Apply basic color-oriented image operations."},"popularity":{"monthly_downloads":325069,"position":7590,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.2.0"}
