Chapter 7
Image Processing
TU BCA past exam questions
Past questions and answers
19 questions set from this chapter. Most repeated first.
- 2023 · 5 marks
Explain sampling and quantization with reference to digital image processing, further also calculate the size of image which is represented by 512 colors with x and y coordinates given as 1028*1028.
Answer
Sampling and quantization
A real scene is a continuous function of position and intensity. To store it in a computer it must be digitised in two ways.
- Sampling digitises the coordinate values . The image is measured at regular grid points, giving an array of pixels. The more samples, the higher the spatial resolution; too few samples cause aliasing and a blocky look. The sampling rate must be at least twice the highest spatial frequency (Nyquist).
- Quantization digitises the amplitude (intensity) values. The continuous range of brightness at each sample is mapped to one of discrete levels, where is the number of bits per pixel. Too few levels cause false contouring.
Image size
colours, so bits per pixel.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2023 · 5 marks
With the help of mathematical expression explain the effect of following noises on image and suggest filters to remove them
a) Gaussian noise
b) Salt and Pepper noise
Answer
(a) Gaussian noise
It is additive noise whose values follow a normal distribution, caused by sensor electronics, poor illumination and high temperature. The noisy image is
where is the mean and the variance. Every pixel is disturbed by a small random amount, so the image looks grainy and uniformly noisy.
Filters: a mean (averaging) filter or Gaussian smoothing filter, adaptive Wiener filter, or a low-pass filter in the frequency domain. These reduce variance, but also blur edges. Averaging images of the same scene reduces the noise variance by a factor .
(b) Salt and pepper noise
It is impulse noise in which some pixels are set to the extreme values, black (pepper, ) or white (salt, ), caused by faulty sensors, transmission errors and bit errors. Its probability density is
The image shows isolated white and black dots.
Filters: the median filter is the best, because the median ignores extreme values and keeps edges. Others: adaptive median filter (for high noise density), and contra-harmonic mean filter (positive order removes pepper, negative removes salt). Mean filters are poor because they smear the impulses.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2023 · 5 marks
Differentiate between image restoration and image enhancement.
Answer
| Basis | Image enhancement | Image restoration |
|---|---|---|
| Aim | Improve the visual appearance for a human viewer | Recover the original image from a degraded one |
| Nature | Subjective; depends on the viewer and the application | Objective; based on a mathematical model of degradation |
| Knowledge of degradation | Not needed | Needed or estimated (blur function , noise statistics) |
| Approach | Heuristic manipulation of contrast, brightness, sharpness | Inverse of the degradation model, e.g. inverse, Wiener, constrained least squares filtering |
| Result | May increase contrast but does not give the true image | Tries to give an estimate close to the original image |
| Examples | Histogram equalisation, contrast stretching, smoothing, sharpening | Deblurring, removal of motion blur, noise removal using a noise model |
| Performance measure | Visual judgement | Quantitative error, such as mean square error |
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2023 · 5 marks
Define ideal low pass filter. Under what condition does Butterworth low pass filter become an ideal low pass filter.
Answer
Ideal low pass filter (ILPF)
A filter that passes without attenuation all frequencies within a circle of radius (the cut-off frequency) from the origin of the frequency rectangle, and completely removes all frequencies outside it:
(measured from the centre of the shifted spectrum). The sharp cut-off causes ringing in the filtered image, since its spatial counterpart is a sinc function.
Butterworth low pass filter (BLPF) of order :
It has no sharp discontinuity; at , . For low order (1 or 2) there is almost no ringing; ringing grows with .
Condition to become ideal: as the order , the term goes to for (so ) and to for (so ). Hence the Butterworth filter approaches the ideal low pass filter as (with at itself).
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2023 · 5 marks
Explain about image compression standards
Answer
Image compression standards
Standards ensure that images compressed by one system can be decoded by another. They are issued by ISO, IEC and ITU-T.
1. Binary (bi-level) image standards
- CCITT Group 3 (ITU-T T.4): for fax; run-length coding with modified Huffman codes, optionally 2-D (modified READ).
- CCITT Group 4 (T.6): 2-D coding only (MMR); better compression of document images.
- JBIG and JBIG2: context-based arithmetic coding of bi-level images; JBIG2 handles text and halftone regions and has lossless and lossy modes.
2. Continuous-tone still image standards
- JPEG (ISO 10918): the baseline lossy standard, based on the DCT. Steps: split into blocks, DCT, quantization with a quantization table, zig-zag scan, DPCM of DC terms and run-length of AC terms, then Huffman (or arithmetic) coding. It also has a lossless predictive mode and progressive modes.
- JPEG 2000: uses the discrete wavelet transform and EBCOT coding. It has better quality at low bit rates, no blocking, lossless and lossy in one file, and region of interest and progressive transmission.
- JPEG-LS: low complexity near-lossless/lossless coding.
3. Video standards: MPEG-1, MPEG-2, MPEG-4 and H.261, H.263, H.264/AVC, H.265/HEVC. They add motion estimation and compensation to remove temporal redundancy.
4. Common file formats: GIF (LZW), PNG (DEFLATE, lossless), TIFF (multiple schemes), BMP (mostly uncompressed or RLE).
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2023 · 5 marks
Write short notes on:
a) Feature Extraction
b) Mach Band effect
Answer
(a) Feature extraction
Feature extraction is the process of measuring the attributes of an image or region that are useful for recognising or describing it, and representing them as a compact feature vector. It follows segmentation and precedes classification. It reduces the amount of data while keeping what discriminates one object from another.
Types of features:
- Boundary/shape features: perimeter, area, compactness, eccentricity, chain codes, Fourier descriptors, moments.
- Region/texture features: mean, variance, entropy, grey level co-occurrence matrix (GLCM), statistical and spectral texture.
- Colour features: colour histograms and moments.
- Edge and point features: corners, gradients, SIFT.
- Transform features: PCA, DCT, wavelet coefficients.
A good feature is invariant to translation, rotation and scale, and robust to noise.
(b) Mach band effect
The Mach band effect is a visual illusion in which the human eye perceives bands of overshoot and undershoot of brightness at the boundary between two regions of different intensity, even though the actual intensity is constant on each side. At a boundary from a dark to a light region, the darker side appears darker still, and the lighter side appears lighter, near the edge. It is caused by lateral inhibition in the retina, where the response of a receptor is affected by its neighbours. It shows that the perceived brightness is not a simple function of intensity, and that the eye is sensitive to edges, which is important in the design of edge enhancement and displays.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2023 · 10 marks
Define DFT and EFT. Prove that both the 2-D continuous and discrete Fourier transforms are linear operations.
Answer
Definitions
The question writes "EFT"; it is taken to mean the FFT (Fast Fourier Transform).
2-D continuous Fourier transform of :
2-D DFT of an image:
with the inverse .
FFT: it is not a different transform but a fast algorithm to compute the DFT. By using the symmetry and periodicity of the exponential, a DFT of size is split into DFTs of size (divide and conquer, decimation in time/frequency). The cost falls from to for 1-D, and the 2-D DFT is computed as row-wise FFTs followed by column-wise FFTs (separability).
Proof of linearity
Let denote the transform, and let , . We must show for constants .
Continuous case: since the integral of a sum is the sum of integrals, and constants can be taken out of the integral.
Discrete case: since summation is linear.
Hence both the continuous and the discrete 2-D Fourier transforms are linear operations. (The FFT, computing the same DFT, is also linear.)
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2023 · 10 marks
Define basic relationship between pixels. Draw the functional block diagram of image compression system and explain the purpose of each block.
Answer
Basic relationships between pixels
Let be a pixel at .
1. Neighbours
- 4-neighbours : .
- Diagonal neighbours : .
- 8-neighbours .
2. Adjacency (for pixels whose values lie in a set of allowed values)
- 4-adjacency: .
- 8-adjacency: .
- m-adjacency (mixed): , or and has no pixel with value in . It removes the ambiguity of multiple paths in 8-adjacency.
3. Path and connectivity: a path is a sequence of adjacent pixels from to . Two pixels are connected if a path exists between them within a set . A connected component is the set of all pixels of connected to a given pixel; is a region if it is a connected set. The boundary of a region is the set of its pixels that have a neighbour outside.
4. Distance measures: for , :
- Euclidean
- City block
- Chessboard
Functional block diagram of an image compression system
ENCODER
f(x,y) --> [ Mapper ] --> [ Quantizer ] --> [ Symbol encoder ] --> compressed data
|
DECODER channel/storage
f^(x,y) <-- [ Inverse mapper ] <-- [ Symbol decoder ] <-----------------+
Purpose of each block
- Mapper (transformer): converts the input into a form that reduces interpixel redundancy, for example run-length coding, predictive coding (differences), or a transform such as DCT/wavelet that packs energy into few coefficients. It is reversible.
- Quantizer: reduces the accuracy of the mapper's output according to a fidelity criterion, removing psychovisual redundancy. It is irreversible (lossy) and is omitted in lossless compression.
- Symbol encoder: assigns a short code to the most frequent values (Huffman, arithmetic, LZW), removing coding redundancy, and produces the bit stream. It is reversible.
- Symbol decoder: reverses the symbol encoding.
- Inverse mapper: reverses the mapping operation (inverse DCT, adding predictions) to rebuild the image . There is no inverse quantizer to recover lost information.
If the compression is lossless; otherwise it is lossy.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2023 · 10 marks
Explain region growing, splitting and merging with suitable example.
Answer
Segmentation divides an image into regions. Region-based methods work directly with regions, using a homogeneity predicate (for example "all pixels differ by no more than ").
Region growing
Starts from one or more seed pixels and grows each region by appending neighbouring pixels (4- or 8-connected) that satisfy the similarity criterion, until no more pixels can be added.
Steps: (1) choose seeds; (2) choose a criterion, e.g. ; (3) examine the neighbours of the region and add those that satisfy it; (4) stop when none qualify.
Example. Image (4×4) with seed at the top-right pixel (value 9), , 4-connectivity:
Pixels with values from 7 to 11 are accepted. Starting from the seed, the neighbours 8 and 8 are accepted and then all pixels in the last two columns (values 8 or 9). The pixels in the first two columns (1 and 2) differ from 9 by 7 or more, so they are rejected. The grown region is the right half (8 pixels).
Drawbacks: the result depends on the seed and the threshold, and noise can cause leaks.
Region splitting and merging
Does not need seeds.
- Split: start with the whole image as one region. If is false, split it into four quadrants (quadtree). Repeat for each quadrant until every region satisfies or is a single pixel.
- Merge: merge adjacent regions if is true. Repeat until no more merging is possible.
Example. Same image, with : (max - min) .
- Whole image: max 9, min 1, so is false and it is split into four 2×2 quadrants.
- Top-left : true. Top-right : true. Bottom-left : true. Bottom-right : true. No further splitting.
- Merge: top-left with bottom-left : range 1, merged. Top-right with bottom-right : range 1, merged. Left with right: range 8, not merged.
Final result: two regions, the left half (dark) and the right half (bright).
Splitting and merging gives good results on images with natural region structure but blocky boundaries can appear because of quadtree splitting.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2025 · 5 marks
What are different image operations? Explain.
Answer
Image operations
Operations applied to digital images are classified as follows.
1. Point operations: the output at a pixel depends only on the input value at that same pixel, . Examples: negative (), thresholding, contrast stretching, log and power-law (gamma) transforms, brightness change.
2. Neighbourhood (local) operations: the output depends on the pixels in a neighbourhood, computed with a mask by convolution or correlation. Examples: smoothing (mean, Gaussian, median), sharpening (Laplacian), edge detection (Sobel, Prewitt).
3. Global operations: each output pixel depends on the whole image, such as the Fourier transform, histogram equalisation and frequency domain filtering.
4. Geometric (spatial) operations: change the positions of pixels: translation, rotation, scaling, shear, flip, crop, with interpolation (nearest neighbour, bilinear, bicubic) to find grey values at new positions.
5. Arithmetic and logical operations between images: addition (averaging to reduce noise), subtraction (change detection), multiplication (masking, shading correction), division; AND, OR, NOT, XOR for masking and region selection.
6. Morphological operations: erosion, dilation, opening and closing using a structuring element.
7. Transform operations: DFT, DCT, wavelet, used for filtering and compression.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2025 · 5 marks
What do you mean by image enhancement? Explain the Histogram Modeling with examples.
Answer
Image enhancement
Image enhancement is the process of processing an image so that the result is more suitable than the original for a specific application, for example by improving contrast, brightness and sharpness, or reducing noise. It does not add information and is subjective. Methods work in the spatial domain (directly on pixels: ) or the frequency domain (modifying the Fourier transform).
Histogram modeling (processing)
The histogram of a digital image with grey levels is , the number of pixels with level , or normalised . A dark image has its histogram at the low end, a bright image at the high end, and a low-contrast image in a narrow band. Histogram modeling changes the histogram to improve contrast.
Histogram equalisation makes the output histogram approximately uniform:
Example. 3-bit image (), pixels, counts for levels 0 to 7: 8, 10, 10, 2, 12, 16, 4, 2.
| cumulative | cum | |||
|---|---|---|---|---|
| 0 | 8 | 8 | 0.875 | 1 |
| 1 | 10 | 18 | 1.97 | 2 |
| 2 | 10 | 28 | 3.06 | 3 |
| 3 | 2 | 30 | 3.28 | 3 |
| 4 | 12 | 42 | 4.59 | 5 |
| 5 | 16 | 58 | 6.34 | 6 |
| 6 | 4 | 62 | 6.78 | 7 |
| 7 | 2 | 64 | 7.00 | 7 |
Levels 2 and 3 merge into 3, and levels 6 and 7 into 7. The levels are spread over the full range, which increases contrast.
Histogram specification (matching) maps the image to a chosen target histogram instead of a uniform one, by equalising both the image and the target and combining the mappings, giving more control.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2025 · 5 marks
Differentiate between low pass and high pass filtering.
Answer
| Basis | Low pass filtering | High pass filtering |
|---|---|---|
| Frequencies | Passes low frequencies, attenuates high | Passes high frequencies, attenuates low |
| Effect | Smooths or blurs the image; reduces noise | Sharpens the image; emphasises edges and fine details |
| Features affected | Removes edges, fine detail and noise | Keeps edges, lines and noise; removes smooth areas |
| Spatial mask | All coefficients positive, summing to 1 (average, Gaussian) | Positive centre with negative neighbours, summing to 0 (Laplacian, Sobel) |
| Frequency forms | Ideal, Butterworth, Gaussian LPF | (ideal, Butterworth, Gaussian) |
| Use | Noise reduction, blurring before segmentation | Edge detection, sharpening |
| Side effect | Loss of detail | Amplifies noise |
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2025 · 5 marks
Define image restoration. Explain Wiener filtering.
Answer
Image restoration
Image restoration is the process of recovering or estimating the original clean image from a degraded one, by using knowledge of the degradation (blur, noise) and applying the inverse of the process. The degradation model is
where is the original image, the degradation function (blur), noise and the observed image.
Wiener filtering
Inverse filtering, , amplifies noise strongly where is small or zero. The Wiener filter (minimum mean square error filter) finds the estimate that minimises the error
and takes both the degradation function and the noise statistics into account:
where is the complex conjugate of , is the power spectrum of the noise, and is that of the undegraded image.
- With no noise () it reduces to the inverse filter.
- Where noise dominates ( large) it suppresses those frequencies.
- When the spectra are unknown, the ratio is replaced by a constant : , with chosen by trial.
It gives better results than inverse filtering because it balances deblurring against noise amplification.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2025 · 5 marks
What are different morphological operations in an image? Explain.
Answer
Morphological operations are non-linear operations that process an image according to its shape, using a small structuring element (SE) that is slid over the image. They are mostly applied to binary images, and also to grayscale images.
1. Erosion (): a pixel stays 1 only if the SE placed at that pixel fits entirely inside the foreground. It shrinks objects, removes small noise and thin protrusions, and enlarges holes.
2. Dilation (): a pixel becomes 1 if the SE placed there overlaps the foreground at least once. It expands objects, bridges small gaps and fills small holes.
3. Opening (): erosion followed by dilation. It removes small objects and thin protrusions and smooths contours while keeping the object size roughly unchanged.
4. Closing (): dilation followed by erosion. It fills small holes and gaps and joins nearby objects.
5. Hit-or-miss transform: detects a specific shape or pattern using a pair of structuring elements (one for foreground, one for background).
6. Other operations: boundary extraction (), region filling, thinning, thickening, skeletonization and convex hull.
Uses include noise removal, boundary extraction, object counting, text/character recognition and shape analysis.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2025 · 5 marks
Explain different image compression standards.
Answer
Image compression standards are internationally agreed formats so that images can be compressed and decompressed by any compliant system.
1. Binary (bi-level) image standards
- CCITT Group 3 (T.4) and Group 4 (T.6): used for fax and document images. They use run-length coding combined with Huffman (Modified Huffman / Modified READ) codes. Group 4 is two-dimensional and gives higher compression.
- JBIG / JBIG2: context-based arithmetic coding for bi-level images. JBIG2 supports lossless and lossy modes and text/halftone regions.
2. Continuous-tone still image standards
- JPEG: lossy DCT-based standard. Steps: split the image into blocks, apply the DCT, quantize the coefficients, zig-zag scan, then apply run-length and Huffman (or arithmetic) coding. It also has a lossless predictive mode.
- JPEG 2000: uses the wavelet transform (DWT) instead of DCT, with EBCOT coding. It gives better quality at low bit rates, supports both lossy and lossless coding, region-of-interest coding and progressive transmission.
- JPEG-LS: low-complexity near-lossless/lossless compression.
3. Video compression standards
- MPEG-1, MPEG-2, MPEG-4 and H.261, H.263, H.264/AVC, H.265/HEVC: use DCT for spatial redundancy plus motion estimation and compensation (I, P, B frames) for temporal redundancy.
4. Other formats: GIF and PNG (lossless, LZW and DEFLATE based), and TIFF (container supporting several schemes).
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2025 · 5 marks
Write short notes on (Any two)
a. Feature reduction
b. Digital watermarking
c. Remote sensing
Answer
(a) Feature reduction
Feature reduction (dimensionality reduction) reduces the number of features used to describe an object or image while keeping the information needed for classification. It lowers computation and storage, avoids the curse of dimensionality and reduces over-fitting. There are two approaches: feature selection (choose a subset of the original features) and feature extraction (build new, fewer features from the originals). A common method is Principal Component Analysis (PCA), which projects data onto the eigenvectors of the covariance matrix with the largest eigenvalues. Another is Linear Discriminant Analysis (LDA).
(b) Digital watermarking
Digital watermarking embeds hidden information (a logo, serial number or signature) into an image so that it can be used later for copyright protection, ownership proof, authentication and tamper detection. Watermarks may be visible or invisible, and robust (survive compression, cropping, noise) or fragile (break on any modification). Embedding can be done in the spatial domain (for example by modifying the least significant bits) or in a transform domain (DCT, DWT, DFT), which is more robust. Key requirements are imperceptibility, robustness and capacity.
(c) Remote sensing
Remote sensing is acquiring information about the Earth's surface without physical contact, using sensors on satellites or aircraft that record reflected or emitted electromagnetic radiation in several spectral bands. Image processing is used for correction, enhancement, classification and change detection. Applications include land-use mapping, agriculture and crop monitoring, forestry, flood and glacier monitoring, weather forecasting and urban planning.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2025 · 10 marks
What are the uses of filters in digital image processing? Differentiate between Discrete Fourier Transform and Fast Fourier Transform. Explain histogram equalization.
Answer
Uses of filters in digital image processing
- Smoothing (low-pass) filters such as mean, Gaussian and median filters reduce noise and blur an image.
- Sharpening (high-pass) filters such as the Laplacian and unsharp masking enhance edges and fine detail.
- Edge detection filters (Sobel, Prewitt, Roberts) highlight boundaries.
- Band-pass/band-reject and notch filters remove periodic noise.
- Restoration filters (inverse, Wiener) remove degradation such as blur.
- They are also used in pre-processing for segmentation, feature extraction and compression.
Difference between DFT and FFT
| Basis | DFT | FFT |
|---|---|---|
| Nature | A mathematical transform that converts a signal from the spatial/time domain to the frequency domain | An efficient algorithm to compute the DFT |
| Complexity | computations | computations |
| Method | Direct evaluation of | Divide and conquer (decimation in time/frequency), reusing intermediate results |
| Speed | Slow for large | Very fast |
| Restriction | Any length | Usually a power of 2 (radix-2) |
| Result | Same | Same as DFT |
Histogram equalization
The histogram of an image shows the number of pixels at each gray level. Histogram equalization is a contrast-enhancement technique that spreads the gray levels so that the output histogram is approximately uniform.
For an image with pixels and gray levels, with pixels at level : The result is rounded to the nearest integer.
Steps: (1) compute the histogram, (2) compute the probabilities, (3) compute the cumulative distribution function, (4) multiply by and round, (5) map each old gray level to its new one.
It improves the contrast of images that are too dark or too bright, since frequently occurring levels are spread apart.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2025 · 10 marks
Why do we need image compression? Explain run length encoding and decoding with an example.
Answer
Need for image compression
Raw images need a lot of storage and bandwidth. For example, a 24-bit colour image takes about 3 MB, and video needs many such frames per second. Compression reduces storage space, transmission time and bandwidth cost. It works by removing coding redundancy, interpixel (spatial) redundancy and psychovisual redundancy.
Run length encoding (RLE)
RLE is a lossless method that replaces a sequence of identical consecutive values (a run) by a pair (value, run length). It works well for images with large uniform regions, such as binary and document images.
Encoding example
Row of pixels: Runs: four 0s, two 1s, three 0s, six 1s, one 0.
RLE output as (value, count): .
For gray-level data, e.g. the code is , which stores 6 numbers instead of 8.
Decoding
The decoder reads each pair and repeats the value for the stated count: , , , , . Concatenating gives back exactly the original row, so no information is lost.
Note: RLE can expand data when there are few repeats (for example, alternating pixels), so it is best used for binary or synthetic images, and often as one stage in standards such as CCITT fax and JPEG.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2025 · 10 marks
What is region based segmentation? Explain. What are different image edge detection operators?
Answer
Region-based segmentation
Region-based segmentation divides an image into regions of pixels that share similar properties (intensity, colour, texture), rather than looking for boundaries. The regions must satisfy: they cover the whole image, each is connected, they do not overlap, pixels in one region satisfy a predicate (e.g. similar gray level), and for adjacent regions.
Main approaches
- Region growing: start with seed pixels; add neighbouring pixels to the region if they satisfy a similarity criterion (for example ). Repeat until no more pixels can be added. Results depend on the choice of seeds and threshold.
- Region splitting and merging: start with the whole image. Split any region that fails the predicate into four quadrants (quadtree). Then merge adjacent regions whose union satisfies the predicate.
- Watershed and clustering-based methods are also region-based.
Advantages: gives closed, connected regions and works well on noisy images. Disadvantages: depends on seeds and thresholds, and is computationally heavy.
Edge detection operators
Edges are sudden changes in intensity, found with gradient or second derivative operators.
- Roberts ( masks): simple, uses diagonal differences, sensitive to noise.
- Prewitt (): gradient with equal weights, .
- Sobel (): like Prewitt but weights the centre row more, , giving some smoothing. Magnitude .
- Laplacian (second derivative): isotropic, finds zero crossings, very noise sensitive.
- Laplacian of Gaussian (LoG): smooths with a Gaussian first, then applies the Laplacian.
- Canny: Gaussian smoothing, gradient, non-maximum suppression and hysteresis thresholding. It gives thin, well-connected edges and is considered the best.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
Questions from TU BCA 2021 Seventh Semester Advanced .NET Technology (TU board exam, 2021), TU BCA 2023 Seventh Semester Advanced .NET Technology (TU board exam, 2023), TU BCA 2025 Seventh Semester Advanced .NET Technology (TU board exam, 2025), TU BCA 2021 Seventh Semester Artificial Intelligence (TU board exam, 2021), TU BCA 2023 Seventh Semester Artificial Intelligence (TU board exam, 2023), TU BCA 2025 Seventh Semester Artificial Intelligence (TU board exam, 2025), TU BCA 2021 Seventh Semester Cloud Computing (TU board exam, 2021), TU BCA 2023 Seventh Semester Cloud Computing (TU board exam, 2023), TU BCA 2024 Seventh Semester Cloud Computing (TU board exam, 2024), TU BCA 2025 Seventh Semester Cloud Computing (TU board exam, 2025), TU BCA 2021 Seventh Semester Cyber Law and Professional Ethics (TU board exam, 2021), TU BCA 2023 Seventh Semester Cyber Law and Professional Ethics (TU board exam, 2023), TU BCA 2024 Seventh Semester Cyber Law and Professional Ethics (TU board exam, 2024), TU BCA 2025 Seventh Semester Cyber Law and Professional Ethics (TU board exam, 2025), TU BCA 2021 Seventh Semester Database Administration (TU board exam, 2021), TU BCA 2023 Seventh Semester Database Administration (TU board exam, 2023), TU BCA 2025 Seventh Semester Database Administration (TU board exam, 2025), TU BCA 2024 Seventh Semester E-Governance (TU board exam, 2024), TU BCA 2025 Seventh Semester E-Governance (TU board exam, 2025), TU BCA 2023 Seventh Semester Image Processing (TU board exam, 2023), TU BCA 2025 Seventh Semester Image Processing (TU board exam, 2025), TU BCA 2024 Seventh Semester Network Administration (TU board exam, 2024) and TU BCA 2025 Seventh Semester Network Administration (TU board exam, 2025). Answers are written for this site; check them against your class notes.