imgviz
Image Visualization Tools
Decision gist · record as of 2026-08-14
Yes. imgviz is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. Install it if you work with non-RGB image data (depth, labels, masks) in computer vision or ML and want a lightweight, ready-made toolkit for visualization rather than writing custom colorization and compositing code.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low friction: pure Python wheel, three lightweight runtime dependencies (numpy, pillow, cmap), and active maintenance with a release within the last 65 days.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute imgviz freely in commercial or private projects with minimal restrictions.
last release 2026-06-10 (65 days) · last repo commit 2026-08-05 · 265 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 103,382 downloads/mo, #12,808 on PyPI
Alternatives
Verify before relying
pip install imgviz
import numpy as np
import imgviz
data = imgviz.data.arc2017()
rgb = data["rgb"]
gray = imgviz.rgb2gray(rgb)
depth = data["depth"]
depthviz = imgviz.colorize(depth, vmin=0.3, vmax=1)- Whether optional dependencies (e.g., skimage) are required for specific visualization functions or only extend functionality.
- Performance characteristics when processing large images or batch operations.
What it is and what it does
imgviz is a Python library for converting and visualizing non-RGB image data—such as depth maps, semantic segmentation labels, instance masks, and custom per-pixel flags—into displayable RGB images. It wraps common visualization patterns (colorization with colormaps, label-to-color mapping, instance bounding boxes and masks, pie-chart glyphs) and provides utilities for image composition and tiling. The library depends on numpy for array operations, pillow for image I/O and basic manipulation, and cmap for colormap support.
The package is designed for computer vision and machine learning workflows where intermediate representations (depth, class labels, instance IDs) need to be rendered for inspection, debugging, or publication. It handles the boilerplate of mapping scalar or categorical data to colors, overlaying annotations on images, and arranging multiple visualizations into a grid.
Use it for
- Visualize depth sensor output by colorizing depth maps with a perceptually uniform colormap.
- Convert semantic segmentation label maps to RGB images with per-class colors and optional class name overlays.
- Render instance segmentation results by drawing bounding boxes, masks, and captions on a base image.
- Tile and arrange multiple visualization outputs (RGB, depth, labels, masks) into a single composite image for comparison.
- Overlay per-instance metadata (flags, statistics) as pie-chart glyphs at instance centroids.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
imgviz is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. Install it if you work with non-RGB image data (depth, labels, masks) in computer vision or ML and want a lightweight, ready-made toolkit for visualization rather than writing custom colorization and compositing code.
Install
imgviz on PyPI
Before you install
Low friction: pure Python wheel, three lightweight runtime dependencies (numpy, pillow, cmap), and active maintenance with a release within the last 65 days.
Requires Python 3.10 or later.
License in practice
MIT license is permissive; you can use, modify, and distribute imgviz freely in commercial or private projects with minimal restrictions.
Quickstart
pip install imgviz
import numpy as np
import imgviz
data = imgviz.data.arc2017()
rgb = data["rgb"]
gray = imgviz.rgb2gray(rgb)
depth = data["depth"]
depthviz = imgviz.colorize(depth, vmin=0.3, vmax=1)
Verify before relying
- Whether optional dependencies (e.g., skimage) are required for specific visualization functions or only extend functionality.
- Performance characteristics when processing large images or batch operations.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagescmapnumpypillow |
| Maintenance | Actively maintained 65 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 103,382 / month, #12,808 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries :: Python Modules |
Evidence: imgviz-2.1.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “image visualization tools”
- imgvizimgviz provides image visualization utilities for converting,…
- fiftyoneFiftyOne is a Python framework for building, visualizing, and…
- silxsilx provides Python tools for reading, processing, and visualizing…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also colourmap · colorlover · large-image · albumentations · epaper-dithering · ttach · hexor · climage · coloraide · gprof2dot