Skip to content
tezvyn:

All bites

The whole library, newest first. Filter by what you are here for, or pick a topic if you already know.

4247 bites

Page 89

Computer Vision2 min read

Grayscale Conversion: Seeing in Shades of Gray

Grayscale conversion simplifies an image by removing color, representing each pixel's brightness as a single value. It's a key preprocessing step in computer vision for tasks like OCR, where shape matters more than color.

Image Scaling: Resizing Pixels Without Ruining Them
Computer Vision2 min read

Image Scaling: Resizing Pixels Without Ruining Them

Image scaling isn't just stretching a picture; it's inventing or discarding pixel data. It's used everywhere from displaying thumbnails to making 1080p video fit a 4K screen.

Histogram Equalization: Spreading Out Pixel Brightness
Computer Vision2 min read

Histogram Equalization: Spreading Out Pixel Brightness

Think of histogram equalization as automatically stretching an image's contrast. It takes dark or washed-out images and spreads their pixel brightness values across the full available range, revealing hidden details. The footgun: it can amplify noise.

Gaussian Blur: Smoothing Images with Weighted Averages
Computer Vision2 min read

Gaussian Blur: Smoothing Images with Weighted Averages

Gaussian blur smooths an image by replacing each pixel with a weighted average of its neighbors, where closer pixels matter more. It's used to reduce noise before edge detection or for UI effects. The footgun is over-blurring, which erases important features.

Median Filter: Smoothing Images Without Blurring Edges
Computer Vision2 min read

Median Filter: Smoothing Images Without Blurring Edges

A median filter cleans image noise by replacing each pixel with the median value of its neighbors, ignoring outliers. It's used to remove "salt-and-pepper" noise before object detection.

The Sobel Operator: Fast, Cheap Edge Detection
Computer Vision2 min read

The Sobel Operator: Fast, Cheap Edge Detection

The Sobel operator finds image edges by measuring how fast pixel brightness changes horizontally and vertically. It's a fast, cheap first pass for edge detection in computer vision. The footgun is treating it as precise; it's a crude approximation.

Morphological Transformations: Shaping Images with Kernels
Computer Vision2 min read

Morphological Transformations: Shaping Images with Kernels

Think of it as sanding or stamping an image with a small shape (kernel) to modify object boundaries. It's used for noise removal or separating touching objects. The footgun: transformations alter object size, so you often need a second operation to compensate.

Canny Edge Detector: Finding True Edges
Computer Vision2 min read

Canny Edge Detector: Finding True Edges

The Canny detector finds true edges by identifying sharp, connected intensity changes. It's used in object detection and feature extraction where clean edge maps are vital.

Affine Transformations: Move, Scale, and Rotate Without Bending
Computer Vision2 min read

Affine Transformations: Move, Scale, and Rotate Without Bending

An affine transformation is a way to move, scale, rotate, or shear an object while keeping all lines straight and parallel lines parallel. It's used everywhere in computer graphics.

Computer Vision2 min read

Laplacian of Gaussian (LoG) for Blob Detection

LoG finds blobs by blurring an image then finding points of maximum curvature, like finding the top of a hill by looking where the slope changes fastest. It's used in medical imaging and astronomy. The footgun: the blur size dictates the blob size you can.

Computer Vision2 min read

Harris Corner Detector: Finding Sharp Changes in Images

The Harris detector finds corners by looking for points where image intensity changes sharply in all directions. It's used in image stitching and object tracking to find stable feature points. A key weakness is its sensitivity to image scale.

Corner Detection: Finding Stable Points in Images
Computer Vision2 min read

Corner Detection: Finding Stable Points in Images

Corner detection finds stable reference points in an image by looking for areas where pixel intensity changes sharply in multiple directions. It's used to track objects in video, stitch panoramas, and recognize objects by their features.

Computer Vision2 min read

Hough Transform: Finding Shapes by Voting

The Hough Transform finds shapes by letting pixels "vote" for all lines or circles they could belong to. It's used to detect features like road lanes in noisy images.

Computer Vision2 min read

Scale-Space: Analyzing Images at Multiple Scales

Scale-space representation is like viewing an image from far away and up close simultaneously. It creates a stack of progressively blurred images to reveal structures at different sizes, which is key for robust feature detection.

Computer Vision2 min read

Difference of Gaussians: Finding Edges by Subtracting Blurs

Difference of Gaussians (DoG) finds features by subtracting a heavily blurred image from a lightly blurred one, isolating details at a specific scale. It's used for fast blob and edge detection.

Computer Vision2 min read

FAST: High-Speed Corner Detection for Real-Time Vision

FAST finds corners by checking if a pixel is significantly brighter or darker than a ring of its neighbors. This simple, high-speed test makes it perfect for real-time video processing.

Histogram of Oriented Gradients (HOG)
Computer Vision2 min read

Histogram of Oriented Gradients (HOG)

HOG describes an object's shape by summarizing the directions of local intensity changes (gradients). It's a classic computer vision method for tasks like pedestrian detection where form matters more than color.

Computer Vision1 min read

SIFT: Finding Image Features That Scale

SIFT finds key points in an image that are stable across changes in scale. It's used for object recognition or stitching panoramas by matching these features between images. The main footgun is assuming it's invariant to all changes, not just scale.

Computer Vision1 min read

SURF: A Faster, Patented Alternative to SIFT

SURF is a faster, more robust alternative to SIFT for finding key points in an image. It's used for real-time object recognition or stitching images where SIFT is too slow. Beware: its core algorithms are patented, limiting commercial use without a license.

Computer Vision2 min read

ORB: Fast, Free Feature Detection for Computer Vision

ORB combines the speedy FAST keypoint detector with a rotation-aware BRIEF descriptor. It offers a fast, royalty-free alternative to SIFT for finding and describing unique points in an image, even when the object is rotated.