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 2D array of discrete picture elements called pixels
B. A series of text strings and metadata
C. A continuous one-dimensional audio waveform
D. A continuous analog signal

2 What is the primary goal of digital image processing?

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

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. There is no difference; the terms mean exactly the same thing.
B. Image processing only deals with 3D models, while computer vision deals with 2D images.
C. Image processing outputs an image, while computer vision outputs understanding or decisions.
D. Image processing outputs text, while computer vision outputs 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. Adjusting image brightness and contrast
B. Object detection and facial recognition
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. Sending text messages between doctors
B. Compiling software code for hospital databases
C. Enhancing X-ray, CT, and MRI scans for better diagnosis
D. Creating financial spreadsheets for hospital administration

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

applications of image processing and computer vision Easy
A. Natural Language Processing
B. Database Management
C. Audio Signal 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. TIFF
B. BMP
C. PNG
D. JPEG

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

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

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 difference in luminance or color that makes an object distinguishable from its background
C. The physical size of the printed image
D. The amount of disk space the image occupies

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 cropping
B. Format conversion
C. Image compression
D. Contrast enhancement

11 What does an image histogram graphically represent?

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

12 What is the main objective of histogram equalization?

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

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

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

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

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

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

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

16 What does a spatial domain filter operate directly on?

spatial domain filtering techniques Easy
A. The geometric coordinates of detected objects
B. The Fourier transform coefficients of the image
C. The color metadata of the image file
D. The individual pixels 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. High-pass filter
B. Mean (Average) filter
C. Laplacian filter
D. Median filter

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

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

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

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

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

frequency domain filtering Easy
A. The overall average brightness of the image
B. The physical dimensions (width and height) of the image
C. Smooth backgrounds and uniform color areas
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. Compressing a high-resolution image into a JPEG format, followed by transmitting it over a network.
B. Enhancing the contrast of a medical X-ray, followed by an algorithm that identifies and classifies a tumor.
C. Applying a median filter to remove noise, followed by using a Sobel operator to detect edges.
D. Converting an RGB image to grayscale, and then applying histogram equalization to improve contrast.

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: Applying white balance and noise reduction; CV: Detecting faces to draw bounding boxes.
B. IP: Estimating the depth of the scene; CV: Adjusting the brightness.
C. IP: Compressing the image to JPEG; CV: Sharpening the image.
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 have smoother color transitions but lose high-frequency edge details.
C. The image will appear exactly the same as long as the file size remains constant.
D. The image will become blurry and exhibit a checkerboard pattern.

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. Correcting the skew of the scanned document.
B. Binarizing the scanned document using Otsu's thresholding.
C. Applying a morphological closing operation to bridge gaps in broken text strokes.
D. Mapping a segmented connected component to the letter 'A' using a trained model.

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. Autonomous driving obstacle avoidance.
B. Automated reading of vehicle license plates at a toll booth.
C. Restoration of an old, degraded photograph by removing scratches.
D. Facial recognition for smartphone unlocking.

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. Lossy WebP
B. JPEG
C. GIF
D. PNG

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

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

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 increase the contrast of the bright pixels while compressing the dark pixels.
B. To invert the image intensities, producing a negative image.
C. To compress the dynamic range of an image, expanding dark pixels and compressing bright pixels.
D. To threshold the image into a binary format.

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 applies contrast stretching.
B. It performs intensity-level slicing.
C. It reverses the image, creating a negative.
D. It performs a thresholding operation, creating a binary image.

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 remain clustered at the lower intensity levels, but the contrast will decrease.
B. It will become completely flat with exactly equal numbers of pixels at every intensity level.
C. It will be stretched across the entire intensity range, though not perfectly flat due to discrete pixel values.
D. It will be shifted perfectly to the higher intensity levels, making the image overly bright.

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

histogram equalization and specification Medium
A. When we need the output image to have a specific predefined histogram shape rather than a uniform one.
B. When processing time is strictly limited, as specification is computationally faster than equalization.
C. When the image requires maximum global contrast enhancement without any specific target distribution.
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 step function.
B. must be a strictly decreasing function.
C. must be a monotonically increasing function.
D. must be a periodic 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. Salt-and-pepper (impulse) noise
B. Speckle noise
C. Gaussian noise
D. Uniform 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. Periodic noise
B. Gaussian 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 severely blurs the edges, whereas the median filter preserves edge sharpness while replacing the extreme noise values.
B. Because the average filter increases the dynamic range of the noise.
C. Because the median filter alters all pixel values in the image uniformly.
D. Because the median filter is a linear filter and therefore computationally faster.

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 matrix filled entirely with .
B. A Laplacian filter.
C. A median 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 adding a Gaussian noise pattern to the original image.
C. By subtracting a blurred (low-pass filtered) version of the image from 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. Ringing effect (Gibbs phenomenon)
B. Salt-and-pepper noise
C. Multiplicative speckle
D. False contouring

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. The average brightness (DC component) of the image.
B. Edges, sharp transitions, and noise.
C. Smooth gradients and uniform backgrounds.
D. Slowly varying color transitions.

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 utilize spatial domain operations exclusively, whereas CV systems rely entirely on frequency domain transforms.
D. DIP systems output an enhanced scalar matrix, whereas CV systems output highly abstracted semantic descriptors or decisions.

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. for
C.
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 the number of output bins is always strictly less than the number of input bins.
C. Because spatial filtering is required before discrete equalization can map non-linear intensities.
D. Because discrete transformations cannot break pixel groupings; all pixels with a specific input intensity must map to exactly the same output intensity .

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. Magnetic Resonance Imaging (MRI) and range imaging, representing Rayleigh noise.
C. Thermal imaging circuits, representing Gaussian (electronic) 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. An Arithmetic Mean filter
D. A Min 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. Homomorphic filtering
D. High-boost 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 sharp cutoff acts as a spatial domain high-pass filter, accentuating edges periodically.
B. 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.
C. Because removing high frequencies violates the Nyquist-Shannon sampling theorem, causing aliasing that manifests as rings.
D. Because the ILPF introduces non-linear phase shifts at the cutoff frequency.

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 BLPF approaches a Gaussian Lowpass Filter, ensuring zero ringing artifacts.
B. The filter perfectly preserves both high and low frequencies, eliminating any blurring.
C. The transition band of the filter becomes perfectly flat, rendering the filter equivalent to an identity transform.
D. The BLPF approaches an Ideal Lowpass Filter, resulting in pronounced spatial ringing artifacts.

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. DFT Logarithm High-pass filter Exponential IDFT
B. Logarithm DFT High-frequency emphasis filter IDFT Exponential
C. Exponential DFT Low-pass filter IDFT Logarithm
D. Logarithm DFT Low-pass filter IDFT Exponential

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. Differential Pulse Code Modulation (DPCM) applied to the DC coefficients.
B. Element-wise division of the DCT coefficients by a quantization matrix followed by rounding.
C. Huffman or Arithmetic entropy coding of the zig-zag scanned AC coefficients.
D. The application of the forward Discrete Cosine Transform to the spatial blocks.

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 will successfully remove the noise but cause aliasing in the frequency domain.
C. Linear filters are mathematically proven to perfectly eliminate impulse noise if the kernel size strictly equals .
D. Linear filters fail because they distribute the extreme outlier values across the neighborhood, causing pervasive blurring without eliminating the impulses.

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. Mach bands
B. Gibbs phenomenon
C. Speckle artifacts
D. Moiré patterns

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 appears as visually unstructured, random noise because it represents the finest, lowest-magnitude intensity variations.
C. It perfectly retains the sharpest structural edges of the objects but lacks any gray-level shading.
D. It resembles a high-contrast binary silhouette of the primary objects in the image.

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 an arithmetic mean filter followed by global thresholding.
B. Apply global histogram equalization followed by an Ideal Lowpass Filter.
C. Apply a Top-Hat morphological transform followed by Canny edge detection.
D. Apply a Gaussian Lowpass Filter followed by a morphological erosion with a large structuring element.

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 taking the absolute value of and dividing by its maximum
C. By multiplying by
D. By multiplying by

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. A standardized header block restricted to 1024 bytes containing rigid EXIF nodes.
B. A globally linked Huffman tree defining the color palette.
C. Image File Directories (IFDs) containing arrays of tagged entries.
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 is required to make the kernel separable into 1D filters, which is mathematically impossible for the Prewitt operator.
C. It strictly satisfies the Nyquist criterion for discrete spatial derivatives, preventing edge aliasing.
D. It provides greater smoothing along the axis orthogonal to the derivative, reducing the effect of high-frequency noise on edge detection.

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. An identity transformation leaving the image unchanged.
D. A histogram equalization function matching a uniform distribution.