Scikit-Image
Last Updated: July 29, 2026 | By Mihail Sebastian | AI Dictionary
An open-source Python library for image processing: filtering, segmentation, and feature extraction algorithms that treat images as NumPy arrays.
What is Scikit-Image?
Scikit-image is an open-source Python library for image processing: filtering, segmentation, geometric transforms, and feature measurement, all applied to images stored as NumPy arrays.
It is the image branch of the Python data stack, built on NumPy and SciPy like its sibling scikit-learn. Scikit-learn learns from data; scikit-image gets usable data out of pictures.
How Scikit-Image Works
To scikit-image, an image is just an array of pixel values: a grayscale photo is a 2-D array, a color photo a 3-D one. Every operation is array math, so results flow directly into the rest of the stack.
The library is organized by task. filters smooths images and detects edges, segmentation splits an image into regions, morphology cleans up shapes, transform rotates, rescales, and warps, and measure labels regions and computes their properties: area, perimeter, centroid.
Measured properties make good features for a classifier, so scikit-image output feeds naturally into scikit-learn input.
These are classical algorithms, not learned models. Unlike deep-learning computer vision, they need no training data, run deterministically, and are fully inspectable – which is why they remain standard for preprocessing and for scientific work where every pixel operation must be accounted for.
Example of Scikit-Image
Counting cells in a microscope image takes a threshold and a labeling pass:
from skimage import filters, measure
threshold = filters.threshold_otsu(image)
labels = measure.label(image > threshold)
Otsu’s method picks the brightness cutoff that best separates cells from background; measure.label then finds each connected bright region. A follow-up call to measure.regionprops reports each cell’s area and position.
The picture has become a table. From there, counting cells or flagging unusually large ones is ordinary data analysis.
Related AI terms: SciPy · NumPy · Computer Vision · Object Detection · Image Recognition
Did you like the Scikit-Image gist?
Learn about 250+ need-to-know artificial intelligence terms in the AI Dictionary.
Mihail Sebastian — Writes about AI governance, regulation, and the technology behind them. Placeholder bio — replace with a real credential line. About