Computer Vision Checkpoint 1: Color Spaces, Kernel Filtering, and Blurring

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/24

flashcard set

Earn XP

Description and Tags

Practice vocabulary flashcards covering HSV and RGB color spaces, image kernels, convolution/sliding-window mechanics, padding, and Gaussian vs. mean blur filtering.

25 Terms

1
New cards

RGB

A color model primarily used for display and storage.

2
New cards

HSV

A color model preferred for color manipulation and analysis in computer vision tasks like object detection because it separates color (Hue) from intensity (Saturation and Value) and is more intuitive than RGB.

3
New cards

Hue

The color type represented by an angle from 00 to 360360 like a color wheel.

4
New cards

Saturation

The intensity of a color ranging from 00 (gray) to 11 (pure color).

5
New cards

Value

The brightness component of the HSV model, ranging from 00 (black) to 11 (full bright).

6
New cards

RGB Normalization

Scaling RGB values to the range [0−1][0-1] to place them in the correct range for HSV conversion formulas, allowing hue, saturation, and brightness to be calculated correctly.

7
New cards

Floating-point Return Values (in rgb to hsv)

Output values used instead of uint8 to prevent decimals from being truncated or rounded too early, preserving accuracy before being cast to integers in convert_to_hsv.

8
New cards

Min and Max (in rgb to hsv)

The minimum and maximum normalized RGB values within a pixel, used to select the appropriate equation for calculating Hue.

9
New cards

Delta

The difference between the maximum and minimum normalized RGB values, which determines the specific equation used to compute Hue (such as when delta is 00).

10
New cards

convert_to_hsv Function

The function that applies rgb to hsv to every pixel by looping through each pixel in the image and casting floating-point values to uint8 integers.

11
New cards

Image Padding (Task 1)

The addition of pixels to the outside of an image to match the standard size of 100×100100 \times 100 while preserving the aspect ratio.

12
New cards

Standard Size Resizing

Resizing and padding an image to a consistent dimension of 100×100100 \times 100 to maintain a uniform size across images.

13
New cards

Grayscale Input Behavior (in convert to hsv)

An input condition where Hue and Saturation evaluate to 00, while only Value has a non-zero value, still returning valid HSV values.

14
New cards

Image Kernel

An array that slides across an image containing specific values that decide how much each pixel in that window contributes to the center pixel.

15
New cards

Normalized Mean Kernel

A square array where each entry is assigned the value of 11 divided by the total number of entries (e.g., 1/91/9 for a 3×33 \times 3 kernel) so that all entries sum up to 11.

16
New cards

Kernel Filtering

An operation where the kernel extracts pixel values within a local window, multiplies them by the corresponding kernel values, sums them together, and re-assigns the result to the center pixel.

17
New cards

Sliding-Window Operation

An operation that slides a window matching the kernel dimensions across pixels, performs calculations at each location, and advances to the next pixel according to the stride.

18
New cards

Edge Kerneling Without Padding

A condition where edge pixels cannot be processed because the kernel cannot read values beyond the image borders, forcing the output image size to decrease.

19
New cards

Zero-Padding Formula

The method to calculate required padding: subtract 11 from the kernel size and divide by 22 (kernel size−12\frac{\text{kernel size} - 1}{2}), supplying sufficient boundary values to preserve image size.

20
New cards

Stride

The number of pixels by which the sliding window shifts during filtering (where a stride of 11 means shifting by 11 pixel).

21
New cards

Odd Kernel Size Rule

The requirement that a kernel dimension must be an odd number so that there is an exact center pixel and an equal number of surrounding pixels on each side for calculation.

22
New cards

Gaussian Blur Weighting

A weighting distribution that assigns larger weights to values near the center of the kernel and smaller weights to values farther away.

23
New cards

Pre-filtering Blurring

A step performed prior to feature extraction (such as edge detection) to suppress small pixel-level variations like noise, making larger shapes easier to analyze.

24
New cards

Mean Blur Artifacts

Blocky visual artifacts and loss of major image structure caused by applying uniform, heavy weighting across the entire kernel.

25
New cards

Sigma (σ\sigma)

The parameter that controls the spread of a Gaussian kernel, where a smaller sigma creates a tighter blur and a larger sigma creates a wider blur.