Which technique is primarily used in Convolutional Neural Networks (CNNs) to reduce the spatial dimensions of feature maps while retaining the most important information?
Answer: C
Pooling (e.g., Max Pooling or Average Pooling) is used in CNNs to reduce the spatial dimensions (height and width) of feature maps. This reduces computation, controls overfitting, and provides a form of translation invariance. Dropout is a regularization technique, Batch Normalization normalizes activations, and Flattening converts a multi-dimensional tensor into a 1D vector before fully connected layers.
Q.2Medium
In the context of object detection, what does the term 'Intersection over Union' (IoU) measure?
Answer: B
IoU (Intersection over Union) is a metric used to evaluate object detection algorithms. It is calculated as the area of overlap (intersection) between the predicted bounding box and the ground truth bounding box divided by the area of their union. A higher IoU indicates a more accurate detection. Option C describes Recall, and Option A describes pixel accuracy used in segmentation.
Q.3Medium
Which of the following best describes the role of the 'skip connections' in a U-Net architecture used for image segmentation?
Answer: B
In U-Net, skip connections concatenate feature maps from the encoder (contracting path) directly to the corresponding decoder (expanding path) layers. This allows the decoder to recover fine-grained spatial details that are lost during downsampling, which is crucial for precise pixel-wise segmentation. They do not replace pooling or affect the learning rate.
Q.4Medium
The Harris Corner Detector computes cornerness using the eigenvalues of the second-moment matrix M. Which condition correctly identifies a corner?
Answer: C
The Harris Corner Detector uses the eigenvalues of the second-moment matrix M to classify image regions. If both λ1 and λ2 are small, the region is flat. If one is large and one is small (λ1≫λ2 or vice versa), the region is an edge. If both λ1 and λ2 are large, the region is a corner. The Harris response is R=det(M)−k⋅(trace(M))2, and R>0 (large positive) indicates a corner.
Q.5Medium
In image processing, what is the primary purpose of applying a Gaussian filter to an image before edge detection?
Answer: C
Edge detection algorithms like Canny or Sobel compute image gradients, which are highly sensitive to noise. Applying a Gaussian filter (a smoothing/blurring operation) before edge detection reduces high-frequency noise in the image. This prevents noise pixels from being incorrectly identified as edges, resulting in cleaner and more accurate edge maps.
Q.6Medium
Which of the following statements about SIFT (Scale-Invariant Feature Transform) is correct?
Answer: C
SIFT (Scale-Invariant Feature Transform) works in two main stages: (1) Keypoint detection using the Difference of Gaussians (DoG) approximation of the Laplacian of Gaussian (LoG) across multiple scales, and (2) Descriptor creation using 128-dimensional histograms of gradient orientations in a 16x16 neighborhood around each keypoint. SIFT is invariant to scale, rotation, and partially to illumination. It uses floating-point descriptors, unlike BRIEF or ORB which use binary descriptors. It is computationally expensive, not suited for real-time use.
Q.7Medium
In semantic segmentation, what is the key difference between it and instance segmentation?
Answer: A
Semantic segmentation assigns a class label to every pixel in an image (e.g., all cars are labeled 'car'), but it does not differentiate between individual objects of the same class. Instance segmentation, on the other hand, not only classifies each pixel but also distinguishes between separate instances of the same class (e.g., Car 1, Car 2). Panoptic segmentation combines both. Semantic segmentation works on color images, not just binary images, and uses pixel masks, not bounding boxes.
Q.8Medium
The Hough Transform is used in computer vision to detect which types of shapes?
Answer: B
The Hough Transform is a feature extraction technique used to detect parametric shapes — shapes that can be described by a mathematical equation with parameters. The classical Hough Transform detects straight lines (parameterized by slope and intercept, or ρ and θ). It has been extended to detect circles (Circle Hough Transform) and ellipses. It is not limited to rectangles or irregular blobs, and does not handle Bezier curves directly.
Q.9Medium
In the context of Generative Adversarial Networks (GANs) applied to image synthesis, what is the role of the discriminator network?
Answer: B
In a GAN framework, there are two networks trained adversarially. The Generator takes random noise as input and tries to generate realistic images. The Discriminator takes an image as input and tries to classify it as either 'real' (from the training dataset) or 'fake' (generated by the generator). The generator improves by trying to fool the discriminator, while the discriminator improves by becoming better at distinguishing real from fake images. The encoder role belongs to VAEs (Variational Autoencoders).
Q.10Medium
Which of the following accurately describes the concept of 'Non-Maximum Suppression' (NMS) in object detection?
Answer: B
Non-Maximum Suppression (NMS) is a post-processing step in object detection pipelines (e.g., YOLO, Faster R-CNN). Object detectors often generate multiple overlapping bounding boxes for the same object. NMS works by selecting the bounding box with the highest confidence score and suppressing (removing) all other boxes that have an IoU greater than a predefined threshold with the selected box. This process is repeated until no overlapping boxes remain, resulting in a single clean detection per object.