Unit 1 - Practice Quiz

INT345 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is a digital image essentially composed of?

Introduction to image processing Easy
A. A series of text strings and metadata
B. A continuous one-dimensional audio waveform
C. A continuous analog signal
D. A 2D array of discrete picture elements called pixels

2 What is the primary goal of digital image processing?

Introduction to image processing Easy
A. To reduce the physical size of a computer monitor
B. To convert 2D images directly into audio files
C. To generate 3D models from scratch without any input data
D. To improve image data for human interpretation or machine perception

3 In terms of inputs and outputs, how does Image Processing generally differ from Computer Vision?

key differences between image processing and computer vision Easy
A. Image processing outputs an image, while computer vision outputs understanding or decisions.
B. Image processing outputs text, while computer vision outputs images.
C. There is no difference; the terms mean exactly the same thing.
D. Image processing only deals with 3D models, while computer vision deals with 2D images.

4 Which of the following tasks is considered a Computer Vision task rather than basic Image Processing?

key differences between image processing and computer vision Easy
A. Object detection and facial recognition
B. Adjusting image brightness and contrast
C. Sharpening a blurry photograph
D. Converting a color image to grayscale

5 Which of the following is a common medical application of image processing?

applications of image processing and computer vision Easy
A. Enhancing X-ray, CT, and MRI scans for better diagnosis
B. Creating financial spreadsheets for hospital administration
C. Sending text messages between doctors
D. Compiling software code for hospital databases

6 Automated face recognition used to unlock modern smartphones is an application of which field?

applications of image processing and computer vision Easy
A. Database Management
B. Audio Signal Processing
C. Natural Language Processing
D. Computer Vision

7 Which standard image file format is widely known for utilizing lossy compression to reduce file size?

image file formats Easy
A. PNG
B. TIFF
C. JPEG
D. BMP

8 What does the acronym PNG stand for in the context of image file formats?

image file formats Easy
A. Picture Network Group
B. Portable Network Graphics
C. Pixel Node Graphics
D. Public Network Grid

9 What does 'contrast' refer to in a digital image?

contrast enhancement Easy
A. The specific file extension (e.g., .jpg vs .png) of the image
B. The amount of disk space the image occupies
C. The physical size of the printed image
D. The difference in luminance or color that makes an object distinguishable from its background

10 Which technique is primarily used to make a dark, low-visibility image appear clearer by expanding its range of pixel intensities?

contrast enhancement Easy
A. Image compression
B. Contrast enhancement
C. Image cropping
D. Format conversion

11 What does an image histogram graphically represent?

histogram equalization and specification Easy
A. The physical dimensions of the image in pixels
B. The frequency distribution of pixel intensity values across the image
C. The number of unique objects detected within the image
D. The size of the image file in kilobytes

12 What is the main objective of histogram equalization?

histogram equalization and specification Easy
A. To achieve a more uniform distribution of pixel intensities to enhance overall contrast
B. To reduce the image resolution and save storage space
C. To add artificial colors to a grayscale image
D. To change the image file format from JPEG to PNG

13 What characterizes 'Salt and Pepper' noise in a digital image?

image noise and its types Easy
A. A type of blur caused by camera motion
B. A digital watermark superimposed on the image
C. Color distortion caused by poor lighting conditions
D. Random occurrences of pure black and pure white pixels

14 Which type of image noise is often modeled mathematically using a bell-shaped (normal) distribution?

image noise and its types Easy
A. Quantization noise
B. Impulse noise
C. Gaussian noise
D. Speckle noise

15 What typically causes noise in digital photographs taken in low light?

image noise and its types Easy
A. Saving the image as a lossless PNG file
B. Using a high-resolution 4K monitor
C. Taking a photograph of a perfectly smooth surface
D. High sensor sensitivity (ISO) and electronic interference

16 What does a spatial domain filter operate directly on?

spatial domain filtering techniques Easy
A. The individual pixels of the image
B. The color metadata of the image file
C. The geometric coordinates of detected objects
D. The Fourier transform coefficients of the image

17 Which spatial filter is highly effective at removing salt-and-pepper noise while preserving sharp edges?

spatial domain filtering techniques Easy
A. Median filter
B. High-pass filter
C. Laplacian filter
D. Mean (Average) filter

18 A spatial smoothing (low-pass) filter is primarily used for what purpose?

spatial domain filtering techniques Easy
A. Detecting sharp edges in the image
B. Blurring the image and reducing noise
C. Compressing the image file size
D. Increasing the global image contrast

19 Which mathematical transform is used to convert an image from the spatial domain into the frequency domain?

frequency domain filtering Easy
A. Affine Transform
B. Hough Transform
C. Distance Transform
D. Fourier Transform

20 In the frequency domain, what do high frequencies generally correspond to in an image?

frequency domain filtering Easy
A. The physical dimensions (width and height) of the image
B. Smooth backgrounds and uniform color areas
C. The overall average brightness of the image
D. Edges, fine details, and sharp transitions in intensity

21 Which of the following scenarios best illustrates the transition from Image Processing to Computer Vision in an automated pipeline?

key differences between image processing and computer vision Medium
A. Enhancing the contrast of a medical X-ray, followed by an algorithm that identifies and classifies a tumor.
B. Applying a median filter to remove noise, followed by using a Sobel operator to detect edges.
C. Converting an RGB image to grayscale, and then applying histogram equalization to improve contrast.
D. Compressing a high-resolution image into a JPEG format, followed by transmitting it over a network.

22 In a digital camera's software, which sequence correctly identifies the roles of Image Processing (IP) and Computer Vision (CV)?

key differences between image processing and computer vision Medium
A. IP: Estimating the depth of the scene; CV: Adjusting the brightness.
B. IP: Compressing the image to JPEG; CV: Sharpening the image.
C. IP: Applying white balance and noise reduction; CV: Detecting faces to draw bounding boxes.
D. IP: Recognizing a face for autofocus; CV: Applying white balance.

23 If a continuous image is digitized such that the spatial resolution is increased while the amplitude resolution (quantization levels) is decreased, what is the most likely visual effect on the resulting digital image?

Introduction to image processing Medium
A. The image will have sharper details but will exhibit false contouring.
B. The image will become blurry and exhibit a checkerboard pattern.
C. The image will appear exactly the same as long as the file size remains constant.
D. The image will have smoother color transitions but lose high-frequency edge details.

24 In the context of Optical Character Recognition (OCR), which of the following represents a Computer Vision task rather than a preliminary Image Processing task?

applications of image processing and computer vision Medium
A. Applying a morphological closing operation to bridge gaps in broken text strokes.
B. Correcting the skew of the scanned document.
C. Mapping a segmented connected component to the letter 'A' using a trained model.
D. Binarizing the scanned document using Otsu's thresholding.

25 Which of the following applications relies primarily on Image Processing techniques without necessarily requiring Computer Vision?

applications of image processing and computer vision Medium
A. Automated reading of vehicle license plates at a toll booth.
B. Facial recognition for smartphone unlocking.
C. Autonomous driving obstacle avoidance.
D. Restoration of an old, degraded photograph by removing scratches.

26 A researcher is storing images containing sharp text and line drawings for an archival dataset. They need a format that avoids artifacts around the text edges and supports a lossless workflow. Which of the following formats is the most appropriate?

image file formats Medium
A. PNG
B. Lossy WebP
C. GIF
D. JPEG

27 Which characteristic makes the TIFF file format highly suitable for professional medical and satellite imaging?

image file formats Medium
A. It is an animation-only format that allows for the viewing of 3D medical scans.
B. It is highly compressed, resulting in the smallest file sizes for web transmission.
C. It inherently restricts the color depth to 8-bit, standardizing image analysis.
D. It supports high bit-depths, lossless compression, and can store multiple images (pages) in a single file.

28 An image captured in a low-light environment appears very dark. To enhance the image using a power-law (Gamma) transformation , what should be the value of ?

contrast enhancement Medium
A.
B.
C.
D.

29 What is the primary purpose of applying a Log transformation to an image?

contrast enhancement Medium
A. To threshold the image into a binary format.
B. To increase the contrast of the bright pixels while compressing the dark pixels.
C. To invert the image intensities, producing a negative image.
D. To compress the dynamic range of an image, expanding dark pixels and compressing bright pixels.

30 In piecewise linear transformation, what is the effect of setting the coordinates and such that and , (where is the number of intensity levels)?

contrast enhancement Medium
A. It performs a thresholding operation, creating a binary image.
B. It applies contrast stretching.
C. It reverses the image, creating a negative.
D. It performs intensity-level slicing.

31 If global histogram equalization is applied to an image whose histogram is heavily clustered at the lower intensity levels (dark image), what will be the characteristic of the resulting output image's histogram?

histogram equalization and specification Medium
A. It will become completely flat with exactly equal numbers of pixels at every intensity level.
B. It will be stretched across the entire intensity range, though not perfectly flat due to discrete pixel values.
C. It will be shifted perfectly to the higher intensity levels, making the image overly bright.
D. It will remain clustered at the lower intensity levels, but the contrast will decrease.

32 Under what circumstance is Histogram Specification (Matching) preferred over standard Histogram Equalization?

histogram equalization and specification Medium
A. When the image requires maximum global contrast enhancement without any specific target distribution.
B. When we need the output image to have a specific predefined histogram shape rather than a uniform one.
C. When processing time is strictly limited, as specification is computationally faster than equalization.
D. When the image contains salt-and-pepper noise that needs to be removed.

33 Let be the probability density function of the input image and be the transformation function for histogram equalization. What mathematical property must satisfy to ensure the output image intensities retain their logical order without inversion?

histogram equalization and specification Medium
A. must be a periodic function.
B. must be a step function.
C. must be a strictly decreasing function.
D. must be a monotonically increasing function.

34 Which type of noise is characterized by a probability density function (PDF) that consists of two distinct impulses at the extremes of the intensity range?

image noise and its types Medium
A. Speckle noise
B. Gaussian noise
C. Uniform noise
D. Salt-and-pepper (impulse) noise

35 In medical ultrasound imaging, images are often degraded by a granular noise pattern. This noise is multiplicative in nature. What type of noise is this?

image noise and its types Medium
A. Gaussian noise
B. Periodic noise
C. Speckle noise
D. Salt-and-pepper noise

36 Why is a median filter generally preferred over an average (mean) filter for removing salt-and-pepper noise?

spatial domain filtering techniques Medium
A. Because the average filter increases the dynamic range of the noise.
B. Because the average filter severely blurs the edges, whereas the median filter preserves edge sharpness while replacing the extreme noise values.
C. Because the median filter is a linear filter and therefore computationally faster.
D. Because the median filter alters all pixel values in the image uniformly.

37 Which of the following spatial filters would you apply to highlight fine details and enhance blurred edges in an image?

spatial domain filtering techniques Medium
A. A median filter.
B. A matrix filled entirely with .
C. A Laplacian filter.
D. A Gaussian smoothing filter.

38 In unsharp masking, the sharpened image is obtained using the formula: . How is the generated?

spatial domain filtering techniques Medium
A. By taking the first derivative of the original image.
B. By subtracting a blurred (low-pass filtered) version of the image from the original image.
C. By adding a Gaussian noise pattern to the original image.
D. By applying a high-pass filter directly to the original image.

39 When applying an Ideal Lowpass Filter (ILPF) in the frequency domain, what visible artifact is most commonly introduced in the spatial domain output?

frequency domain filtering Medium
A. False contouring
B. Multiplicative speckle
C. Salt-and-pepper noise
D. Ringing effect (Gibbs phenomenon)

40 In the frequency domain, what structural components of an image generally map to the high-frequency regions of the Fourier spectrum?

frequency domain filtering Medium
A. Smooth gradients and uniform backgrounds.
B. Slowly varying color transitions.
C. The average brightness (DC component) of the image.
D. Edges, sharp transitions, and noise.

41 Which of the following fundamentally distinguishes the architectural endpoint of a Computer Vision (CV) system from a classical Digital Image Processing (DIP) system in the context of the semantic gap?

Key differences between image processing and computer vision Hard
A. CV systems map multi-dimensional arrays to 1D vectors, whereas DIP systems always maintain 3D topological outputs.
B. DIP minimizes the semantic gap by strictly using lossless compression, while CV uses lossy compression.
C. DIP systems output an enhanced scalar matrix, whereas CV systems output highly abstracted semantic descriptors or decisions.
D. DIP systems utilize spatial domain operations exclusively, whereas CV systems rely entirely on frequency domain transforms.

42 Given a continuous image with intensity values in the range and probability density function , histogram equalization applies the transformation . By applying the fundamental theorem of calculus and probability transformation principles, what is the resulting probability density function of the output image?

Histogram equalization and specification Hard
A. for
B.
C. for
D.

43 Why does discrete histogram equalization rarely result in a perfectly flat (uniform) histogram in practice, unlike the continuous formulation?

Histogram equalization and specification Hard
A. Because rounding errors in the discrete integral cause high-frequency attenuation.
B. Because discrete transformations cannot break pixel groupings; all pixels with a specific input intensity must map to exactly the same output intensity .
C. Because spatial filtering is required before discrete equalization can map non-linear intensities.
D. Because the number of output bins is always strictly less than the number of input bins.

44 Consider a power-law (Gamma) transformation applied to an image with intensity range . If a nested transformation is applied such that followed by , which condition must hold for the final image to strictly compress the dynamic range of the dark regions while expanding the dynamic range of the bright regions?

Contrast enhancement Hard
A.
B.
C.
D.

45 An image is degraded by noise whose probability density function is given by for , and $0$ otherwise. This noise model is particularly useful for characterizing noise in which of the following imaging modalities?

Image noise and its types Hard
A. Laser imaging and coherent synthetic aperture radar (SAR), representing Erlang (Gamma) noise.
B. Thermal imaging circuits, representing Gaussian (electronic) noise.
C. Magnetic Resonance Imaging (MRI) and range imaging, representing Rayleigh noise.
D. Photon-limited X-ray imaging, representing Poisson noise.

46 An alpha-trimmed mean filter is applied to an neighborhood. It operates by sorting the pixels, deleting the lowest and highest values, and averaging the rest. If , what does this filter mathematically reduce to?

Spatial domain filtering techniques Hard
A. A Max filter
B. A Median filter
C. A Min filter
D. An Arithmetic Mean filter

47 The Unsharp Masking technique for image sharpening is defined as , where is a blurred version of . If the weighting constant , this process is specifically known as:

Spatial domain filtering techniques Hard
A. Laplacian of Gaussian filtering
B. Sobel gradient extraction
C. High-boost filtering
D. Homomorphic filtering

48 An Ideal Lowpass Filter (ILPF) in the frequency domain is a radial cylinder function. Why does applying an ILPF severely introduce 'ringing' artifacts in the spatial domain?

Frequency domain filtering Hard
A. Because the ILPF introduces non-linear phase shifts at the cutoff frequency.
B. Because removing high frequencies violates the Nyquist-Shannon sampling theorem, causing aliasing that manifests as rings.
C. Because the inverse Fourier transform of a 2D cylinder is a 2D sinc function (or Bessel function of the first kind), which has infinite oscillating side lobes.
D. Because the sharp cutoff acts as a spatial domain high-pass filter, accentuating edges periodically.

49 Consider a Butterworth Lowpass Filter (BLPF) of order , defined as . As the order , which phenomenon becomes most prominent when filtering a natural image?

Frequency domain filtering Hard
A. The filter perfectly preserves both high and low frequencies, eliminating any blurring.
B. The BLPF approaches an Ideal Lowpass Filter, resulting in pronounced spatial ringing artifacts.
C. The BLPF approaches a Gaussian Lowpass Filter, ensuring zero ringing artifacts.
D. The transition band of the filter becomes perfectly flat, rendering the filter equivalent to an identity transform.

50 Homomorphic filtering is designed to improve the appearance of an image by simultaneous intensity range compression and contrast enhancement. It achieves this by modeling the image as the product of illumination and reflectance . What is the exact sequence of operations in homomorphic filtering?

Frequency domain filtering Hard
A. Logarithm DFT High-frequency emphasis filter IDFT Exponential
B. DFT Logarithm High-pass filter Exponential IDFT
C. Logarithm DFT Low-pass filter IDFT Exponential
D. Exponential DFT Low-pass filter IDFT Logarithm

51 In the baseline JPEG compression standard, the spatial domain image is divided into blocks and transformed using the Discrete Cosine Transform (DCT). Which step in the JPEG pipeline is primarily responsible for its lossy nature and achieves the most significant compression?

Image file formats Hard
A. Huffman or Arithmetic entropy coding of the zig-zag scanned AC coefficients.
B. Differential Pulse Code Modulation (DPCM) applied to the DC coefficients.
C. The application of the forward Discrete Cosine Transform to the spatial blocks.
D. Element-wise division of the DCT coefficients by a quantization matrix followed by rounding.

52 Salt-and-pepper noise is a bipolar impulse noise where pixels are randomly degraded to the maximum (salt) or minimum (pepper) intensity values. If the probability of salt is and pepper is , what is the theoretical spatial domain limit of a purely linear spatial filter (like a mean filter) in removing this noise at high noise densities ()?

Image noise and its types Hard
A. Linear filters convert bipolar impulse noise into Gaussian noise, which can then be easily removed using a secondary linear filter.
B. Linear filters are mathematically proven to perfectly eliminate impulse noise if the kernel size strictly equals .
C. Linear filters fail because they distribute the extreme outlier values across the neighborhood, causing pervasive blurring without eliminating the impulses.
D. Linear filters will successfully remove the noise but cause aliasing in the frequency domain.

53 The continuous Laplacian is a linear, isotropic second-derivative operator defined as . When discretizing this operator for digital image processing using a kernel that incorporates diagonal neighbors, what must the sum of all coefficients in the mask equal, and why?

Spatial domain filtering techniques Hard
A. One, to preserve the average background intensity of the image during convolution.
B. -1, to ensure the high-frequency components are strictly inverted before edge masking.
C. Zero, because the derivative of a constant intensity area must yield zero.
D. Eight, because there are exactly 8 neighbors contributing to the central pixel.

54 According to the 2D Nyquist-Shannon sampling theorem, undersampling a continuous image containing high spatial frequencies leads to aliasing. In digital images, aliasing frequently manifests as visually distinct, low-frequency artifact patterns that do not exist in the original scene. What is the technical term for these patterns?

Introduction to image processing Hard
A. Moiré patterns
B. Mach bands
C. Gibbs phenomenon
D. Speckle artifacts

55 Bit-plane slicing breaks down an 8-bit image into 8 binary planes. Plane 7 contains the Most Significant Bits (MSB) and Plane 0 contains the Least Significant Bits (LSB). If a complex natural image is subjected to bit-plane slicing, what is the typical visual characteristic of Plane 0?

Contrast enhancement Hard
A. It contains the global illumination gradient, appearing as a smooth transition from dark to light.
B. It perfectly retains the sharpest structural edges of the objects but lacks any gray-level shading.
C. It resembles a high-contrast binary silhouette of the primary objects in the image.
D. It appears as visually unstructured, random noise because it represents the finest, lowest-magnitude intensity variations.

56 In an Automated Optical Inspection (AOI) pipeline for printed circuit boards (PCBs), a system must identify microscopic hairline fractures in copper traces while ignoring uniform, large variations in solder mask illumination. Which sequence of operations represents the most robust algorithmic synthesis for this task?

Applications of image processing and computer vision Hard
A. Apply a Gaussian Lowpass Filter followed by a morphological erosion with a large structuring element.
B. Apply a Top-Hat morphological transform followed by Canny edge detection.
C. Apply global histogram equalization followed by an Ideal Lowpass Filter.
D. Apply an arithmetic mean filter followed by global thresholding.

57 To properly display or design filters for the 2D Discrete Fourier Transform (DFT) of an image , it is common practice to shift the zero-frequency (DC) component to the center of the frequency grid. Mathematically, how is this achieved strictly in the spatial domain prior to the transform?

Frequency domain filtering Hard
A. By convolving with a Dirac delta function
B. By multiplying by
C. By multiplying by
D. By taking the absolute value of and dividing by its maximum

58 The Tagged Image File Format (TIFF) relies on a specific structural hierarchy to support immense flexibility, allowing it to contain multiple images, varying color spaces, and different compression algorithms (LZW, ZIP, etc.) in one file. What is the core data structure inside a TIFF that enables this flexibility?

Image file formats Hard
A. Image File Directories (IFDs) containing arrays of tagged entries.
B. A globally linked Huffman tree defining the color palette.
C. A standardized header block restricted to 1024 bytes containing rigid EXIF nodes.
D. A strict continuous multi-channel interleaved byte stream.

59 The Sobel edge detection operator utilizes a kernel to approximate the gradient of the image. The -direction kernel uses values . What is the theoretical justification for using a weight of '2' for the center row, as opposed to a uniform weight of '1' used in the Prewitt operator?

Spatial domain filtering techniques Hard
A. It ensures that the convolution sum reaches exactly zero, which Prewitt kernels fail to achieve.
B. It strictly satisfies the Nyquist criterion for discrete spatial derivatives, preventing edge aliasing.
C. It provides greater smoothing along the axis orthogonal to the derivative, reducing the effect of high-frequency noise on edge detection.
D. It is required to make the kernel separable into 1D filters, which is mathematically impossible for the Prewitt operator.

60 A continuous image undergoes a contrast stretching transformation defined by a piecewise linear function. If the function maps the intensity range to , and it is strictly true that while and , what does this specific transformation behave as?

Contrast enhancement Hard
A. A hard binary thresholding function at threshold .
B. A purely linear negation (image inversion) function.
C. A histogram equalization function matching a uniform distribution.
D. An identity transformation leaving the image unchanged.