Local and Global Illumination Models

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Which type of light source is commonly used as a substitute for realistically calculating inter-reflections in a scene?

  • Distant point source
  • Ambient light (correct)
  • Area source
  • Global illumination

A pixel's brightness uniquely identifies the material properties of the surface it represents.

False (B)

Besides light source characteristics, surface orientation, and material properties, list one additional factor that affects a pixel's brightness.

Reflected light and shadows from surrounding surfaces, Sensor gain

The fraction of light that a surface reflects is known as its ______.

<p>albedo</p> Signup and view all the answers

Match the following concepts with their descriptions:

<p>Changes in surface normal = Indicate variations in the orientation of the surface. Texture = Surface detail affecting perceived intensity. Proximity = Influence of nearby objects on perceived intensity. Color Constancy = Interpreting the surface in terms of albedo, rather than observed intensity.</p> Signup and view all the answers

Which of the following is the main goal of color constancy?

<p>Estimating the true color (albedo) of a surface (C)</p> Signup and view all the answers

Computers generally perform color constancy tasks as well as humans.

<p>False (B)</p> Signup and view all the answers

Describe the 'White World Assumption' approach to color correction.

<p>Assumes the brightest pixel is white and normalizes color channels accordingly.</p> Signup and view all the answers

The 'Gray World Assumption' corrects colors by presuming that the average color in an image should be ______.

<p>gray</p> Signup and view all the answers

What is the purpose of color correction techniques in image processing?

<p>To adjust colors to appear more accurate or visually appealing (C)</p> Signup and view all the answers

A distant point source, such as the sun, provides multiple illumination directions.

<p>False (B)</p> Signup and view all the answers

Name one example of an 'area source' of light.

<p>White walls, diffuser lamps, sky</p> Signup and view all the answers

A global illumination model accounts for ______ in a modeled scene.

<p>inter-reflections</p> Signup and view all the answers

Match the color correction technique to its normalizing process:

<p>White Balancing = Choose a reference point as the 'white' or 'gray' color to correct the image. White World Assumption = Normalize by dividing all color channels by the largest value. Gray World Assumption = Adjust each channel (e.g., multiply R by avg(R)/avg((R+G+B)/3)).</p> Signup and view all the answers

Which of the following is primarily responsible for the sensation of depth and 3D structure from a 2D image?

<p>Changes in surface normal (C)</p> Signup and view all the answers

Which of the following is true regarding how image filtering forms a new image?

<p>By modifying pixel values locally using predefined rules. (C)</p> Signup and view all the answers

Image transformations focus on changing the overall appearance or layout of an image by directly adjusting individual pixel values.

<p>False (B)</p> Signup and view all the answers

Which of the following describes the role of filters in information extraction?

<p>Identifying edges or contours. (A)</p> Signup and view all the answers

What is the primary function of filters in image enhancement?

<p>To improve image quality (B)</p> Signup and view all the answers

In linear filtering, the weights by which the values of pixels in the neighborhood are multiplied are known as filter ________.

<p>coefficients</p> Signup and view all the answers

Linear filtering involves adding up the multiplied values of the neighborhood pixels to calculate the final value of the output image.

<p>True (A)</p> Signup and view all the answers

What is the alternative term used when the filter in linear filtering is rotated?

<p>Convolution (A)</p> Signup and view all the answers

Which process is being optimized when separable filtering is applied?

<p>Convolution operations (D)</p> Signup and view all the answers

What is the primary advantage of using separable filtering in image processing?

<p>Reduced computational load. (B)</p> Signup and view all the answers

Match the following filters with their descriptions:

<p>Box Filter = Averages pixel values within a KxK window. Bilinear Filter = Weights pixels with a higher value at the center, decreasing linearly towards the edges. Gaussian Kernel = Uses a Gaussian function to determine the weights for blurring. Sobel Operator = Used for edge detection by calculating the gradient of image intensity.</p> Signup and view all the answers

What type of filter is best suited to smooth an image while preserving edges?

<p>Bilinear filter (D)</p> Signup and view all the answers

Which parameter controls the spread of the kernel in a Gaussian filter?

<p>Standard deviation (C)</p> Signup and view all the answers

A larger kernel size in a Gaussian filter leads to less pronounced blurring.

<p>False (B)</p> Signup and view all the answers

To achieve a sharpening effect, what process is typically applied following a blurring operation?

<p>Subtracting the blurred version from the original. (D)</p> Signup and view all the answers

Which action do band-pass filters perform on the frequency spectrum of an image?

<p>Remove both low and high frequencies. (A)</p> Signup and view all the answers

What do high frequencies in images primarily correspond to?

<p>Rapid changes in intensity. (C)</p> Signup and view all the answers

What aspect of pixel intensity does the first derivative measure?

<p>The rate of change. (A)</p> Signup and view all the answers

Where are points where intensity changes more suddenly typically detected?

<p>Corners (C)</p> Signup and view all the answers

How is the Laplacian of Gaussian (LoG) filter created?

<p>By blurring an image with a Gaussian filter followed by the Laplacian operator (A)</p> Signup and view all the answers

Filters that can be oriented in any direction, allowing for adjustable responses are known as _______.

<p>steerable filters</p> Signup and view all the answers

What is the other common term for a 'summed area table'?

<p>Integral image (C)</p> Signup and view all the answers

What is the main purpose of using integral images in computer vision?

<p>To accelerate calculation of image processing tasks. (C)</p> Signup and view all the answers

What type of values does a binary image contain?

<p>Zero and One (0 and 1) (A)</p> Signup and view all the answers

What morphological operation expands or thickens objects in a binary image?

<p>Dilation (A)</p> Signup and view all the answers

Which morphological operation reduces or thins objects in a binary image?

<p>Erosion (C)</p> Signup and view all the answers

Opening is a morphological operation that smooths object boundaries and removes small objects by applying dilation followed by erosion.

<p>False (B)</p> Signup and view all the answers

Closing fills small holes and gaps in objects by applying erosion followed by dilation.

<p>False (B)</p> Signup and view all the answers

What tool calculates the shortest distance from any point in a binary image to the nearest boundary?

<p>distance transform</p> Signup and view all the answers

Which application mainly applies 'city block' or 'Euclidean distance'?

<p>Distance transform (D)</p> Signup and view all the answers

Which concept involves identifying regions in an image where adjacent pixels share the same value or label?

<p>Connected components (D)</p> Signup and view all the answers

What term describes pixels that are immediately horizontally or vertically next to each other?

<p>Adjacent (A)</p> Signup and view all the answers

What does padding refer to in the context of image filtering?

<p>Handling edges in image operations. (C)</p> Signup and view all the answers

What is the purpose of zero padding in image processing?

<p>Set all pixels outside the source image to 0. (C)</p> Signup and view all the answers

In image processing, what does 'clamp to edge' (or replicate) padding do?

<p>Repeats edge pixels indefinitely. (B)</p> Signup and view all the answers

When using mirror padding, how are pixels outside the original image boundary determined?

<p>They are reflected across the image edge. (D)</p> Signup and view all the answers

In 'extend' padding, the signal is extended by subtracting the mirrored version of the _______ value.

<p>edge pixel</p> Signup and view all the answers

Non-linear filters use weighted sums of input pixels to generate output images.

<p>False (B)</p> Signup and view all the answers

What is a key characteristic of non-linear filters compared to linear filters?

<p>They preserve sharp edges effectively. (B)</p> Signup and view all the answers

What type of value does median filtering select from a pixel's neighborhood?

<p>The median value (C)</p> Signup and view all the answers

Median filtering is highly effective at smoothing away Gaussian noise due to its dependency on multiple pixel values.

<p>False (B)</p> Signup and view all the answers

What is the unique characteristic of bilateral filtering?

<p>It combines a domain filter with a range filter. (D)</p> Signup and view all the answers

What determines whether bilateral filtering preserves edges better than traditional smoothing?

<p>Reduces smoothing across edges. (C)</p> Signup and view all the answers

What is a primary disadvantage of Bilateral Filtering compared to simpler methods like linear filters?

<p>Slower than simpler linear filters. (D)</p> Signup and view all the answers

What kind of image is used within a Guided Image Filter to direct the target image filtering?

<p>A secondary guide image (B)</p> Signup and view all the answers

In Guided Image Filtering, the filtering effectiveness relies largely on what factor?

<p>The quality and relevance ot the guide image (A)</p> Signup and view all the answers

Which of the following is NOT a common image transformation technique?

<p>Pixel Swapping (A)</p> Signup and view all the answers

Linear filtering involves convolving an image with a rotated filter kernel, also known as correlation.

<p>False (B)</p> Signup and view all the answers

What is the primary purpose of image filtering?

<p>To modify pixel values locally using predefined rules, such as blurring or edge detection.</p> Signup and view all the answers

The process of decomposing a two-dimensional filter kernel into two one-dimensional filters to optimize convolution operations is known as ______.

<p>Separable filtering</p> Signup and view all the answers

Match the image filtering technique with its primary characteristic.

<p>Linear Filtering = Uses weighted sums of neighboring pixels. Non-linear Filtering = Adjusts pixels based on complex relationships and can preserve edges effectively. Median Filtering = Replaces each pixel with the median value of its neighborhood. Bilateral Filtering = Combines domain and range filters for edge-preserving smoothing.</p> Signup and view all the answers

Which of the following is the primary reason for using image filtering?

<p>To extract useful information or enhance the image quality. (C)</p> Signup and view all the answers

Image transformations modify individual pixel values, while image filtering changes the overall appearance or layout.

<p>False (B)</p> Signup and view all the answers

What is the role of 'coefficients' in the context of linear filtering?

<p>Coefficients are the weights applied to the values of neighboring pixels during filtering.</p> Signup and view all the answers

In linear filtering, the operation where the filter is rotated before being applied to the image is called ______.

<p>Convolution</p> Signup and view all the answers

Match the derivatives with their functionality in image processing:

<p>First Derivative = Highlights edges and areas where intensity changes rapidly. Second Derivative = Captures finer details, like corners and noise.</p> Signup and view all the answers

What is the purpose of a 'linear filter' in image processing?

<p>To modify pixel values based on a weighted sum of neighborhood pixels. (C)</p> Signup and view all the answers

What is the primary use of 'band-pass filters' in image processing?

<p>To remove both low- and high-frequency extremes from an image, typically by combining smoothing and derivative operations.</p> Signup and view all the answers

A filter that averages pixel values within a KxK window is known as a ______ filter.

<p>Box</p> Signup and view all the answers

Match each padding technique with its description:

<p>Zero Padding = Sets all pixels outside the source image to 0. Clamp Padding = Repeats edge pixels indefinitely. Mirror Padding = Reflects pixels across the image edge. Wrap Padding = Loops the image around in a toroidal configuration.</p> Signup and view all the answers

Which filter is most effective at smoothing an image while better preserving edges compared to a box filter?

<p>Bilinear Filter (C)</p> Signup and view all the answers

The Laplacian of Gaussian (LoG) operator involves blurring an image with a Gaussian filter followed by taking the first derivative.

<p>False (B)</p> Signup and view all the answers

What is the main advantage of using separable filters?

<p>Reduces computational complexity by breaking down a 2D convolution into two 1D convolutions.</p> Signup and view all the answers

A ______ is a table that contains the sum of all pixel values to the left and top of each pixel in an image, inclusive.

<p>Integral Image</p> Signup and view all the answers

Match the morphological operation with its description:

<p>Dilation = Expands objects by setting a pixel to 1 if any pixel in the structuring element's footprint is 1. Erosion = Reduces objects by requiring all pixels in the structuring element's footprint to be 1 to retain the pixel at 1. Opening = Smooths object boundaries and removes small objects by applying erosion followed by dilation. Closing = Fills small holes and gaps in objects by applying dilation followed by erosion.</p> Signup and view all the answers

Which of the following is the primary function of the Fourier Transform?

<p>To decompose a signal into its frequency components. (D)</p> Signup and view all the answers

What type of filter is designed to pass low frequencies while attenuating high frequencies?

<p>Low-pass Filter (A)</p> Signup and view all the answers

High-pass filters are typically used for smoothing signals by removing high-frequency noise.

<p>False (B)</p> Signup and view all the answers

What does the frequency response of a filter indicate?

<p>How much the filter attenuates different frequencies. (C)</p> Signup and view all the answers

A filter is analyzed by using signal of a known frequency.

<p>sinusoid</p> Signup and view all the answers

If a filter causes a large change in the magnitude of a sinusoid passed through it, what does this indicate?

<p>The filter has a strong effect on the sinusoid. (A)</p> Signup and view all the answers

The Discrete Fourier Transform (DFT) is applied to continuous signals, while the Fourier Transform (FT) is used for discrete sampled signals.

<p>False (B)</p> Signup and view all the answers

Which of the following image processing tasks can be achieved using the Fourier Transform?

<p>Sharpening and blur removal. (D)</p> Signup and view all the answers

Which metric reflects human perception when you want to compare a denoised image to the original image?

<p>SSIM (Structural Similarity Index) (A)</p> Signup and view all the answers

What is the purpose of 'upsampling' an image?

<p>To increase the image resolution. (D)</p> Signup and view all the answers

Which interpolation method is known for potentially introducing a 'ringing' effect in images during upsampling?

<p>Windowed Sinc (D)</p> Signup and view all the answers

Downsampling an image involves convolving the image with a high-pass filter to prevent aliasing.

<p>False (B)</p> Signup and view all the answers

A commonly used filter in image downsampling that suppresses aliasing well but can introduce ringing is:

<p>Cubic Filter (C)</p> Signup and view all the answers

Which statement describes multi-resolution analysis?

<p>Analyzing signals and images at different scales of detail. (C)</p> Signup and view all the answers

Which of the following is a primary application of multi-resolution representations in image processing?

<p>To efficiently store images by focusing on the most important details across scales. (A)</p> Signup and view all the answers

What is the typical structure of an image pyramid?

<p>A hierarchical series of images where each level is a lower-resolution version of the previous one. (A)</p> Signup and view all the answers

Which of the following is a crucial step to prevent aliasing artifacts when downsampling in image pyramids?

<p>Filtering the image. (B)</p> Signup and view all the answers

Which filter should be used to repeatedly blur an image to build a Gaussian pyramid?

<p>Gaussian filter (A)</p> Signup and view all the answers

To get Laplacian image, [blank] a lower-resolution Gaussian level from the higher-resolution level.

<p>subtract</p> Signup and view all the answers

The cubic $a = -1$ filter provides a sharper fall-off but can exhibit some [blank].

<p>ringing</p> Signup and view all the answers

In the context of image pyramids, selecting the 'best' filter for downsampling depends on:

<p>The task's sensitivity to artifacts and its computational budget. (A)</p> Signup and view all the answers

What is the purpose of noise removal (denoising) in image processing?

<p>To reduce unwanted artifacts and improve image quality. (D)</p> Signup and view all the answers

Applying a high-pass filter on an image will amplify edges and details.

<p>True (A)</p> Signup and view all the answers

Match each filter type with its primary function:

<p>Low-pass Filter = Smoothing an image by reducing noise High-pass Filter = Edge detection and sharpening Band-pass Filter = Passing a specific range of frequencies</p> Signup and view all the answers

Why is image resizing conducted?

<p>To match the resolution of an output device or reduce file size (B)</p> Signup and view all the answers

When do you need to use "Finding objects at different scales"?

<p>When you want to detect the face. (B)</p> Signup and view all the answers

What is the interpolation in image processing?

<p>A technique to filling the blanks in a grid of pixels (C)</p> Signup and view all the answers

What is the decimation process in image processing?

<p>Low-pass filter to prevent aliasing which may cause by high-frequency details (D)</p> Signup and view all the answers

In the image decimation process, what is true for convolution computing?

<p>It must be evaluated only at any samples. (D)</p> Signup and view all the answers

For the common filter of decimation, which is better between linear and binomial?

<p>Binomial is better than linear (B)</p> Signup and view all the answers

What is the advantages by using Multi-Resolution analysis?

<p>Understaning signals and images at different scales of detail. (C)</p> Signup and view all the answers

Which case of application by using Multiresolution representations?

<p>Efficiently storing images (B)</p> Signup and view all the answers

Which definition is correct for "the structure of Image Pyramids"?

<p>A hierarchical series of images, where each level is a lower-resolution version of the previous one. (B)</p> Signup and view all the answers

In "Progressive Resolution Reduction", what does it means?

<p>Halving the size (B)</p> Signup and view all the answers

Why do we need to use filting in pyramid image?

<p>To prevent aliasing artifacts when downsampling. (C)</p> Signup and view all the answers

How Gaussian Pyramids is created?

<p>Created by repeated smoothing and downsampling. (A)</p> Signup and view all the answers

What do you store in "Laplacian Pyramids"?

<p>Store detail differences between levels. (D)</p> Signup and view all the answers

Laplacian Images can fully reconstruction the original image

<p>False (B)</p> Signup and view all the answers

In cubic with $a = -1$ filter, the wavelets analisis filters have [blank]

<p>aliasing</p> Signup and view all the answers

Why we need to do Coarse-to-Fine Search?

<p>Find objects (D)</p> Signup and view all the answers

The process of reducing the resolution of an image is called ______.

<p>downsampling</p> Signup and view all the answers

A sinusoidal signal's ______ is the maximum distance between the horizontal axis and the vertical position of any signal

<p>amplitude</p> Signup and view all the answers

Which of the folowing statment is about an application of gaussian filter is true?

<p>It is used in blurring of the image. (B)</p> Signup and view all the answers

Which of the following is the primary purpose of using a Fourier Transform in image processing?

<p>To decompose an image into its frequency components. (B)</p> Signup and view all the answers

High-pass filters in image processing are designed to attenuate low frequencies and are commonly used for smoothing images by reducing noise.

<p>False (B)</p> Signup and view all the answers

What characteristic of a filter is revealed by its 'frequency response'?

<p>attenuation of frequencies</p> Signup and view all the answers

The new magnitude A is called the ______ or magnitude of the filer, while the phase difference $Δ = Φ - φ$ is called the shift or ______.

<p>gain, phase</p> Signup and view all the answers

Match the image processing task with the appropriate filter type.

<p>Smoothing images = Low-pass Filter Edge detection = High-pass Filter Feature extraction = Band-pass Filter</p> Signup and view all the answers

Flashcards

Inter-reflection

Light that comes from surrounding surfaces due to reflections.

Global Illumination Model

Models that account for inter-reflections within a modeled scene to achieve more realistic lighting.

Factors Affecting Pixel Brightness

Brightness is determined by light source properties, surface orientation, surface material, inter-reflections, and sensor gain.

Color Constancy Goal

Observed intensity is interpreted to determine a surface's albedo or 'true color'.

Signup and view all the flashcards

Color Correction

A simple method to adjust colors by multiplying the R, G, and B values by separate constants to correct the colors in an image.

Signup and view all the flashcards

White World Assumption

Brightest pixel is assumed to be white, then normalize other colors relative to it.

Signup and view all the flashcards

Gray World Assumption

Average color should be gray, then adjust each channel accordingly.

Signup and view all the flashcards

White Balancing Technique

Choose a reference point as the 'white' or 'gray' color to correct the image.

Signup and view all the flashcards

What is an image?

A grid (matrix) of intensity values, where each value typically uses one byte (0 = black, 255 = white).

Signup and view all the flashcards

Image Filtering

Forms a new image by modifying pixel values locally with predefined rules, like blurring or edge detection.

Signup and view all the flashcards

Image Transformation

Forms a new image by modifying global spatial properties, such as rotation, scaling, or contrast adjustments.

Signup and view all the flashcards

Why Use Filtering?

Filters are used to extract useful information or improve image quality.

Signup and view all the flashcards

Linear Filter

A common type of neighborhood operator that multiplies pixel values by corresponding weights (coefficients).

Signup and view all the flashcards

Correlation (Image)

Taking a small neighborhood of pixels, multiplying their values by filter coefficients, and summing them up.

Signup and view all the flashcards

Convolution

Like correlation, but filter is rotated before multiplication.

Signup and view all the flashcards

Separable Filtering

A technique to optimize convolution by breaking down a 2D kernel into two 1D convolutions.

Signup and view all the flashcards

Box Filter (Moving Average)

Averages pixel values within a KxK window, where all weights are uniform.

Signup and view all the flashcards

Bilinear (Tent) Filter

Weights are not uniform; the center pixel has a higher weight, decreasing linearly towards the edges.

Signup and view all the flashcards

Gaussian Kernel

Blurring and Smoothing an image based on a Gaussian function.

Signup and view all the flashcards

Band-pass Filters

Filters that remove both low- and high-frequency extremes. Smooth with Guassian then apply derivatives

Signup and view all the flashcards

First Derivative (Image)

Measures the rate of change of pixel intensity which highlights edges and areas where intensity changes rapidly.

Signup and view all the flashcards

Sobel Filter

A first-derivative edge detection filter.

Signup and view all the flashcards

Second Derivative (Image)

Measures the rate of change of the first derivative; captures finer details, corners, and noise.

Signup and view all the flashcards

Laplacian Filter

A second-derivative edge detection filter.

Signup and view all the flashcards

Laplacian of Gaussian (LoG)

Blurring an image with a Gaussian filter, followed by the Laplacian operator.

Signup and view all the flashcards

Steerable Filters

Filters that can be oriented in any direction, allowing for adjustable responses based on image content.

Signup and view all the flashcards

Summed Area Table

Accelerates calculations for image processing tasks, especially with repeated convolutions.

Signup and view all the flashcards

Integral Image

A table that holds the sum of all pixel values to the left and top of a given pixel, inclusive.

Signup and view all the flashcards

Image Padding

Handling edges that have insufficient surrounding pixels to fill the filter kernel

Signup and view all the flashcards

Zero Padding

Setting all pixels outside the source image to 0.

Signup and view all the flashcards

Constant Padding

Setting all pixels outside the source image to a specified border value.

Signup and view all the flashcards

Clamp Padding

Repeat Edge Pixels outside edges of the image.

Signup and view all the flashcards

Mirror Padding

Mirror Reflect pixels across the image edge

Signup and view all the flashcards

Cyclic Padding

loop around using a toroidal configuration.

Signup and view all the flashcards

Non-linear Filters

Filters adjust, select, or combine pixel values based on complex relationships, resulting in non-linear output images.

Signup and view all the flashcards

Linear Filters

Filters use weighted sums of input pixels to generate output images..

Signup and view all the flashcards

Median Filtering

Selects the median value from a pixel's neighborhood to filter out extreme values, robust for spike noises.

Signup and view all the flashcards

Bilateral Filtering

Combines a domain filter (Gaussian) with a range filter to selectively smooth images while preserving edges.

Signup and view all the flashcards

Guided Image Filter

uses a secondary "guide" image to direct the filtering of the target image. enhances edge sharpness.

Signup and view all the flashcards

Binary Image

Images contain only two pixel values (0 and 1), created via thresholding.

Signup and view all the flashcards

Morphological operations

Used to modify the structure or shape of objects in binary images.

Signup and view all the flashcards

Dilation (Morphological)

Expands (thickens) objects by setting a pixel to 1 if any pixel in the structuring element's footprint is 1.

Signup and view all the flashcards

Erosion (Morphological)

Reduces (thins) objects; all pixels in the structuring element's footprint must be 1 to retain the pixel at 1.

Signup and view all the flashcards

Majority Rule (Morphological)

Sets a pixel to 1 if the majority of pixels under the structuring element are 1.

Signup and view all the flashcards

Opening (Morphological)

Smooths object boundaries and removes small objects; erosion followed by dilation.

Signup and view all the flashcards

Closing (Morphological)

Fills small holes and gaps in objects; dilation followed by erosion.

Signup and view all the flashcards

Distance Transform

Calculates the shortest distance from any point in a binary image to the nearest boundary.

Signup and view all the flashcards

Connected Components

Identifying regions where all adjacent pixels share the same value or label.

Signup and view all the flashcards

Fourier Transform Definition

The Fourier transform decomposes a signal into its constituent frequencies, enabling frequency-based signal manipulation.

Signup and view all the flashcards

Frequency-Based Filters

Filters (in frequency terms) modify signals based on their frequency components, either attenuating or passing specific ranges.

Signup and view all the flashcards

Low-Pass Filter

Designed to pass low frequencies while attenuating high frequencies.

Signup and view all the flashcards

High-Pass Filter

Designed to pass high frequencies and attenuate low frequencies.

Signup and view all the flashcards

Frequency Response

A representation of how much a filter attenuates different frequencies.

Signup and view all the flashcards

Sinusoidal Signal

A periodic signal with a waveform resembling a sine curve, characterized by amplitude, frequency, and phase.

Signup and view all the flashcards

Time Period

The duration of one complete cycle of a periodic signal.

Signup and view all the flashcards

Amplitude (A)

The maximum displacement of a wave from its resting position.

Signup and view all the flashcards

Frequency (f)

The number of cycles of a wave per unit of time.

Signup and view all the flashcards

Phase (Φ)

Horizontal shift of a waveform, indicating its starting point relative to a reference.

Signup and view all the flashcards

Convolution with a filter

Alters the magnitude and phase of a sinusoidal signal.

Signup and view all the flashcards

Gain (Filter)

Factor by which a filter amplifies or attenuates a signal at a specific frequency.

Signup and view all the flashcards

Phase Shift (Filter)

Amount by which a filter shifts the phase of a signal at a specific frequency.

Signup and view all the flashcards

Magnitude

Quantifies the filter's impact on the magnitude of a signal.

Signup and view all the flashcards

Discrete Fourier Transform (DFT)

A discrete version of the Fourier Transform to process digital signals.

Signup and view all the flashcards

Fast Fourier Transform (FFT)

An efficient algorithm to compute the DFT faster.

Signup and view all the flashcards

Two-Dimensional Fourier Transforms

Analyzing an image as a function of position (x, y) to understand its frequency components in both dimensions.

Signup and view all the flashcards

Image Frequency Content

High frequencies correspond to rapid changes (edges/details); low frequencies represent slow variations (background).

Signup and view all the flashcards

Sharpening (Image)

Enhancing edges by amplifying high-frequency content.

Signup and view all the flashcards

Blur Removal

Undoing blurring by reversing the effect of a known blur filter in the Fourier domain.

Signup and view all the flashcards

Noise Removal (Denoising)

Reducing high frequencies to remove noise while preserving important details.

Signup and view all the flashcards

FLIP

Evaluates video smoothness focusing on flicker.

Signup and view all the flashcards

Reason for Resizing

Resizing to match output device resolution; reduce file size to optimize algorithm speed, find objects on different scales.

Signup and view all the flashcards

Image Resizing Techniques

Techniques for resizing images, including upsampling and downsampling.

Signup and view all the flashcards

Upsampling

Interpolation technique used to enlarge images.

Signup and view all the flashcards

Downsampling

Decimation Method to shrink images.

Signup and view all the flashcards

Multi-Resolution Pyramid

A structured set of resized images.

Signup and view all the flashcards

Linear (Bilinear)

Upsampling: Simple but can cause jagged edges.

Signup and view all the flashcards

Bicubic

Upsampling: Smoother Results.

Signup and view all the flashcards

Windowed Sinc

Upsampling: Highest Quality but can introduce ringing.

Signup and view all the flashcards

Decimation Process

Convolving a low-pass filter to prevent aliasing before downsampling.

Signup and view all the flashcards

Common Filters for decimation

Simple to complex r = 2 downsampling filters that prevent aliasing.

Signup and view all the flashcards

Multi-Resolution Analysis

Powerful to understand signals and images, analysis at different scales.

Signup and view all the flashcards

Varying Scales

Analyzing large and fine-scale features.

Signup and view all the flashcards

Image Compression

Compression by focusing on import details across scales.

Signup and view all the flashcards

Feature Detection

Finding Key image points by scale.

Signup and view all the flashcards

Image Pyramids Structure

Hierarchical series of images, each level low scale resolution

Signup and view all the flashcards

Downsampling Pyramid

Halving the size (width/height) to create a pyramid

Signup and view all the flashcards

Laplacian Pyramids

Store detail differences between levels

Signup and view all the flashcards

Gaussian Pyramid construction

Repeatedly blurring image Gaussian Filter

Signup and view all the flashcards

Study Notes

  • Local illumination models consider light, surface, and camera properties.
  • Inter-reflection from surrounding surfaces significantly contributes to light.

Models of Light Sources

  • Distant point sources, like the sun, provide illumination from essentially one direction.
  • Area sources, such as white walls, diffuser lamps, and the sky, are a type of light source.
  • Ambient light serves as a substitute for explicitly modeling inter-reflections.
  • Global illumination models account for inter-reflections within a modeled scene.

Pixel Brightness Factors

  • A pixel’s brightness hinges on:
    • Light source characteristics (strength, direction, color).
    • Surface orientation relative to the light source and camera.
    • Surface material and albedo (surface reflectance).
    • Reflected light and shadows from surrounding surfaces.
    • Sensor gain.
  • A single pixel's brightness alone reveals limited information.

Intensity Differences and Shape

  • Intensity variations offer insights into shape through:
    • Changes in surface normal.
    • Texture.
    • Proximity effects.
    • Indents and bumps on the surface.
    • Grooves and creases.

Color Constancy

  • Color constancy involves interpreting a surface based on its albedo or "true color," rather than the raw observed intensity.
  • Humans excel at color constancy, but computers struggle to achieve comparable performance.

Color Correction

  • Adjusts colors by multiplying the R, G, and B values by separate constants.
  • There are several methods to determine the constants:
    • White World Assumption: Assumes the brightest pixel is white and normalizes all channels by the largest value.
    • Gray World Assumption: Assumes the average color should be gray and adjusts each channel (e.g., multiply R by avg(R)/avg((R+G+B)/3)).
    • White Balancing: Selects a reference point as the "white" or "gray" color for image correction,

Image Filtering

  • Forms a new image by modifying pixel values locally using predefined rules (e.g., blurring or edge detection).
  • Filtering operations typically consider neighboring pixels to compute the new value for each pixel in the output image.

Image Transformation

  • Forms a new image by modifying global spatial properties of an image (e.g., rotation, scaling, or contrast adjustments).
  • Transformation operations change the overall appearance or layout of the image without necessarily affecting individual pixel values directly.

Filtering

  • Filters are used to extract useful information from images, such as identifying edges or contours to understand the shape of objects.
  • Filters help improve image quality by removing noise or sharpening details.

Linear Filtering

  • A common type of neighborhood operator.
  • Works by taking a small neighborhood of pixels around each pixel, multiplying their values by filter coefficients, and adding them up to become the new pixel value.
  • This operation is called correlation.
  • Alternatively, rotating the filter results in convolution and impulse response function.

Separable Filtering

  • A technique to optimize convolution by breaking down the kernel into two one-dimensional convolutions.
  • Convolving with a 2D filter kernel requires significant computation.
  • Separable filtering reduces computational load, requiring fewer operations per pixel and resulting in faster processing.

Examples of Linear Filtering

  • Box Filter (Moving Average)
  • Bilinear (Tent) Filter
  • Gaussian Kernel
  • Sobel Operator
  • Corner Operator

Box Filter (Moving Average)

  • Averages pixel values within a KxK window.

Bilinear (Tent) Filter

  • Weights are not uniform like the box filter.
  • The center pixel has a higher weighting, decreasing linearly towards the edges.
  • Used to smooth an image and preserving edges and is commonly used in image resampling and scaling.

Gaussian Kernel

  • Commonly used for blurring and smoothing.
  • Based on the Gaussian function.
  • Kernel size determines the extent of blurring, with larger kernels producing more smoothing.
  • Standard deviation controls the spread of the kernel; a larger standard deviation leads to more pronounced blurring.

Smoothing and Sharpening

  • Sharpening is achieved by subtracting the blurred version from the sharpened one, highlighting edges and fine details.

Band-pass Filters

  • Removes both low- and high-frequency extremes.
  • Typically created by smoothing with a Gaussian filter and applying first or second derivatives.
  • Low frequencies in an image correspond to large uniform areas and smooth transitions.
  • High frequencies correspond to rapid changes in intensity and fine details like edges, textures, or noise.

Derivatives

  • Used to measure changes in intensity.
  • First Derivative: Measures the rate of change of pixel intensity, highlighting edges and areas where intensity rapidly changes with a Sobel filter.
  • Second Derivative: Measures the rate of change of the first derivative, captures finer details like corners and noise, and detects points where intensity changes suddenly with a Laplacian filter.
  • Differences:
    • First Derivative detects edges.
    • Second Derivative detects finer details.

Laplacian of Gaussian

  • Blurring an image with a Gaussian filter followed by the Laplacian operator (second derivative).
  • This process is equivalent to direct convolution with a Laplacian of Gaussian filter.
  • It highlights regions of rapid intensity change.

Steerable Filters

  • Filters can be oriented in any direction, allowing for adjustable responses based on the image content.
  • Useful for enhancing features like edges in specific orientations.
  • Can be used to construct both feature descriptors and edge detectors.

Summed Area Table

  • Also known as an integral image.
  • Used for accelerating image processing, particularly for images with repeated convolutions with box filters.

Integral Image

  • A table holding the sum of all pixel values to the left and top of a given pixel, inclusive.
  • Created by iterating through the original image, where each pixel at location (i, j) contains the sum of all pixels above and to the left of (i, j), including the pixel itself.

Padding (Border Effects)

  • Handling edges in image convolution can be challenging due to insufficient surrounding pixels.
  • Techniques to Overcome this Issue:
    • Zero: set all pixels outside the source image to 0.
    • Constant (border color): set all pixels outside the source image to a specified border value.
    • clamp: repeat edge pixels indefinitely.
    • cyclic wrap: loop "around" the image.
    • mirror: reflect pixels across the image edge.
    • extend: extend the signal by subtracting the mirrored version of the signal from the edge pixel value.

Non-Linear Filters vs Linear Filtering

  • Non-Linear Filters
    • Adjust, select, or combine pixel values based on complex relationships, resulting in non-linear output images.
    • More complex to implement and optimize.
    • Behavior isn't easily analyzed via frequency response methods.
    • Preserve sharp edges while effectively reducing or removing noise.
  • Linear Filters
    • Use weighted sums of input pixels to generate output images. Simple to use and analyze with frequency responses.
    • Ineffective against certain types of noise; they tend to blur rather than remove noise.

Median Filtering

  • Selects the median value from a pixel's neighborhood to filter out extreme values such as spike noises
  • Is a robust alternative to averaging filters
  • However, this technique is less effective at smoothing away Gaussian noise due to its dependency on a single pixel value.
  • To overcome this imitation techniques such as the α- trimmed mean or weighted median can be used.

Bilateral Filtering

  • Combines a Gaussian domain filter and a range filter (intensity similarities to center pixel value) to selectively smooth images while preserving edges
  • Edge preservation denoising filter
  • Preserves edges, unlike traditional filtering for effective smoothing of noise while maintaining the sharpness, particularly useful in color images.
  • Cons: Slower than simpler linear, computational resources are required
  • Enhancements: Several acceleration techniques have been developed, such as the bilateral grid and permutohedral lattice, to make bilateral filtering applicable for real-time applications.

Binary Image Processing

  • Binary images only have pixel values of 0 and 1.
  • Involves Morphological Operations that are used to modify the structure or shape of objects in binary images

Operations

  • Dilation: Expands (Thickens) By setting a pixel to 1.
  • Erosion: Reduces (Thins) Objects by having to retain all pixels at 1.
  • Majority: Sets a pixel to 1 if the majority of pixels under the structuring element are 1.
  • Opening: Applying erosion then dilation, creating smooth boundaries,
  • Closing: Smooths Object boundaries

Distance Transforms

  • A tool to calculate the shortest distance from any point nearest boundary, using either Euclidean distance or other distances.
  • Applying image stitching, and fast chamfer-matching
  • Areas such as object recognition, and scene interpretation

Connected Components

  • Connecting pixels in an image where all adjacent components are equal
  • It is crucial for applications like recognizing individual characters
  • adjacent

Course Information

  • DS-473 is a Computer Vision course within the Bachelor of Science in Computing, Computer Science program.
  • The course aims to develop deep understanding of signal processing in frequency domain.
  • The course also aims to develop proficiency in applying Fourier transforms to real-world image processing challenges.
  • The course covers:
    • Fourier Transform and Filters: Analysis of signal decomposition and various filtering methods.
    • Image Classification and Segmentation: Utilization in medical imaging, photo tagging, and autonomous driving. Challenges and Traditional Approaches: Addressing issues like high variability and similarity in classes.
  • Required reading includes Chapter 3, sections 3.4-3.5.3.
  • Recommended reading includes Chapter 3, sections 3.1-3.7.

Thinking in Frequency

  • The Fourier Transform decomposes a signal into its frequency components, to understand how filters manipulate different frequency ranges.

Filters

  • Filters are designed to affect signals based on frequency.
  • Low-pass filters:
    • Pass low frequencies while attenuating high frequencies.
    • Used for smoothing signals and removing high-frequency noise.
  • High-pass filters:
    • Pass high frequencies and attenuate low frequencies.
    • Used in edge detection by removing low frequencies such as hum in audio.
  • Band-pass filters:
    • Pass a specific range of medium frequencies, and attenuate below and above this range.
    • Used in feature extractions and texture analysis.
  • A filter's effect on high, medium, and low frequencies is analyzed by passing a sinusoid of known frequency through it and observing the attenuation.
  • Each filter has a frequency response, which the filter attenuates different frequencies.
  • Each filter frequency response is similar to the output of a Fourier Transform.

Sinusoidal Signals

  • Defined as periodic signal with a waveform as that of a sine wave
  • The sine wave's parameters are:
    • Amplitude: Increases from 0 at an angle of 0° to a maximum of 1 at 90°, reaches a minimum of -1 at 270°, and returns to 0 at 360°.
    • Time period: Defined as the time taken by a periodic signal to complete one cycle; after 360°, the signal repeats. The time period is 2Ï€.
    • Frequency: Number of oscillations in one second, mathematically defined as the reciprocal of a period.
    • Phase: Its horizontal position of a waveform in one oscillation.

Sinusoids for Analyzing Filters

  • Behavior on different frequency ranges, sinusoids of known frequencies are passed through the filter and the output is observed.
  • When a sinusoidal signal is convolved with a filter's impulse response, a sinusoid of the same frequency is produced with different magnitude and phase is produced.
  • New magnitude A is the filter's gain or magnitude.
  • The phase difference (Δ=Ï• -Ï•) is called the shift or phase.
  • A large change in magnitude with a strong effect on the original sinusoid.
  • Minimal change in magnitude means the filter allows the original sinusoid to pass almost unaffected.
  • Many filters introduce a phase shift (horizontal displacement) to the output sinusoid, meaning it's delayed or advanced compared to the original.

Fourier Transform (FT) as a Filter Response Tool

  • FT analyzes a filter's effect on each frequency.
  • Its output (H(ω)) is a complex number representing the magnitude change (A) and phase shift (φ) caused by the filter at each frequency (ω).
  • Magnitude (A) indicates how much a frequency is amplified/attenuated by the filter (F).
  • Phase Shift (φ) indicates any delay or advancement in the timing caused by the filter (F).

Discrete Fourier Transform (DFT)

  • Specifically for digital signals, or sampled data.
  • DFT takes O(N²) operations.
    • H(k) = DFT at frequency k.
    • = Original Signal at time.
    • = Total number of samples.
    • = sinusoidal basis functions.
  • Fast Fourier Transform (FFT)
    • An efficient algorithm to compute the DFT quickly.
    • FFT takes O(N logâ‚‚ N) operations.
  • FT is applied to continuous signals, while DFT is used for discrete sampled signals.

Discrete Fourier Transform Filters

  • Box-3 and Box-5 are smoothing filters (low-pass), blur the image by averaging neighboring pixel values.
  • Linear Filter: smoothing filter that is similar to Box-3 but with slightly weights that emphasize center pixel more.
  • Binomial Filter is a smoothing, and similar to the Gaussian filter and it is used for blurring while reduing noise.
  • Sobel: an edge detection filter that emphasizes horizontal or vertical gradients in the image.
  • Corner: detects corners in images, highlighting areas where intensity changes in multiple directions.

Two-Dimensional Fourier Transforms

  • An image can be visualized as a 2D function of position (x and y coordinates).
  • The 2D FT extends the concept to analyze its frequency content across both horizontal and vertical directions.
  • Here, N and M are the width and the height of the image.

Applications of Fourier Transform

  • Understanding Image Content: Provides insights into its characteristics.
    • High frequencies correspond to rapid changes like sharp details and edges.
    • Low frequencies represent slow, smooth variations and overall background.
  • Image Enhancement:
    • Sharpening: Amplify high-frequency components by enhancing edges and other details in the image's Fourier Transform.
    • Blur Removal: The effect can undo blurring in the Fourier if the blur type is known.
    • Noise Removal (Denoising): Noise has high frequencies, reduced by removing high frequencies while keeping the edges and textures.

Evaluation of Image Denoising Algorithms

  • PSNR (Peak Signal-to-Noise Ratio): A common algorithm to compare denoised image to the original images.
  • SSIM (Structural Similarity Index): an algorithm to compare denoised image to original images that reflects the human perception.
  • FLIP (Flicker Perception): Evaluates the smoothness of a video or image sequence by focusing on flicker or temporal artifacts.
  • Using Neural Networks.
  • No-reference assessment: Effectiveness measured by image denoising by original image is unknown.

Image Resizing and Applications

  • Image resizing adjusts the dimensions of an image, with different reasons for doing so.
  • Reasons:
    • Match output device resolution (printer, screen)
    • Reduce file size for storage/transmission
    • Optimize algorithm speed
    • Find objects at different scales (e.g., face detection)
    • Advanced image editing like seamless blending.

Image Resizing Techniques

  • Upsampling: Using interpolation for enlarging images.
  • Downsampling: Using decimation for shrinking images.
  • Multi-Resolution Pyramids: For a structured set of resized images.

Interpolation for Upsampling

  • To enlarge an image, an interpolation kernel convolved with the image that's filling in the blanks in a grid of pixels.
  • Types of Kernels:
    • Linear: Simple but can create jagged edges.
    • Bicubic: Common choice, smoother results.
    • Windowed Sinc: Highest quality, but can introduce ringing.

Decimation or Downsampling Images

  • To reduce image resolution by decimation.
  • Decimation Process:
    • Convolution with a low-pass filter avoids aliasing caused by using high-frequency details.
    • Convolution is evaluated at every sample to optimize computation.

Common Filters for Decimation

  • Common downsampling filters ( r=2):
    • Linear, Binomial, Cubic: From simple to complex filters.
  • Tradeoffs with the use of algorithms:
    • Binomial leaves some aliasing, but is better compared to the use of Linear.
    • Cubic (a=-1) helps suppresses aliasing while causing ringing.
  • Advanced Filters
    • QMF-9, JPEG2000 filters for specific tasks

Multi-Resolution Representations

  • Multi-Resolution Analysis
    • The understanding of signals and images at different scales.
    • Varying Scales: analysis of large-scale features (overall shapes) with fine-scale details (edges and textures).
  • Applications:
    • Image Compression: Store efficiently images with important details on across the scales.
    • Feature Detection: Detects key points/regions which are also key points that are informative in the images sizes and how they can be resized.

Image Pyramids Overview

  • Structure: A hierarchical series of images, where each level is a lower-resolution version of one before it.
  • Progressive Resolution Reduction
    • common, creating with ¼ pixels a level to another.
    • Filtering: Crucial to avoid aliasing artifacts when downsampling.
  • Types: -Gaussian Pyramids: Reapeating process of smoothing and downsampling. -Laplacian Pyramids: Stores detail differences using layers from smoothing, allows reconstruction. -Wavelet Pyramids: Captures directional and detail of image, using different resolutions.

Decimation, Interpolation and Pyramids

  • Downsampling using a pyramid and upsampling during reconstruction.
  • Crucial the processes of using the filters for both are of quality!

Gaussian Pyramid

  • Construction:
    • Repeated blurring of the image with a Gaussian filter.
    • Downsample to create subsequent levels by a amount of 2.
  • Binomial Filter:
    • Good for balancing an approximation through efficiency and simplicity through good Gaussian blur.
  • Applications:
    • Foundation for feature detection and other feature pyramids

Laplacian Pyramid

  • Storage:
    • Storing each layer using the Gaussian levels
  • Construction:
    • Create a lower res Gaussian level
    • Subtracting it from the higher resolution to get the Laplacian image.
  • Perfect Reconstruction:
    • Laplacian with the smallest Gaussian will reconstruct the original image.

Frequency Response

  • Filters
    • Image frequency is affected using certain filter to analyze.
    • Sharp Cutoff vs Aliasing:
  • Ideal filters can be cut off and are harder. Simplers can be cut shorter and harder.
  • Applications
  • Dictate the choices while the artifacts sensitivity in the image based on computations.

Image Pyramids

  • Applications
    • Coarse to Fire: Locate objects through refining the process
    • Multi resolution: Use of various blending that can produce high resolutions
    • Fractional scaling without blockiness (MIP)
    • Medical Whole Slide Imaging

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

Light Source Models
3 questions

Light Source Models

CommodiousOpossum8742 avatar
CommodiousOpossum8742
Local and Global Illumination Models
10 questions
Local and Global Illumination Models
20 questions
Use Quizgecko on...
Browser
Browser