BSc CSIT (TU) Science Image Processing (BSc CSIT, CSC413) Question Paper 2079 Nepal
This is the official BSc CSIT (TU) (Science stream) Image Processing (BSc CSIT, CSC413) question paper for 2079, as set in the regular annual examination. It carries 60 full marks and a time allowance of 180 minutes, across 12 questions. On Kekkei you can attempt this Image Processing (BSc CSIT, CSC413) past paper online with a timer, get instant AI feedback and step-by-step solutions, and track the topics where you lose marks — completely free. Whether you are revising for your BSc CSIT (TU) Image Processing (BSc CSIT, CSC413) exam or solving previous years' question papers, this 2079 paper is a great way to practise under real exam conditions.
Section A: Long Answer Questions
Attempt any TWO questions.
Explain the fundamental steps and components of a digital image processing system. Discuss the elements of visual perception.
Digital Image Processing (DIP) System
A digital image processing system acquires, processes, stores and displays images using a sequence of well-defined steps.
Fundamental Steps
- Image Acquisition – Capturing the image using a sensor (camera/scanner) and digitizing it (sampling + quantization).
- Image Enhancement – Improving subjective quality (e.g. contrast stretching, histogram equalization, sharpening).
- Image Restoration – Removing/undoing degradation using objective mathematical models (e.g. inverse, Wiener filtering).
- Colour Image Processing – Processing in colour models (RGB, HSI, CMYK).
- Wavelets and Multiresolution Processing – Representing images at multiple resolutions; basis of compression.
- Compression – Reducing storage/transmission size (JPEG, run-length, Huffman).
- Morphological Processing – Extracting shape components using dilation, erosion, opening, closing.
- Segmentation – Partitioning an image into objects/regions (edge, threshold, region growing).
- Representation and Description – Representing boundaries/regions and extracting features (descriptors).
- Object Recognition – Assigning labels to objects based on descriptors.
A knowledge base guides and constrains every stage.
Components of a DIP System
- Image sensors – sensor + digitizer that convert light into a digital signal.
- Specialized image-processing hardware – ALU/front-end for fast arithmetic-logic operations.
- Computer – general-purpose machine controlling the system.
- Image-processing software – modules/library to perform specific tasks.
- Mass storage – short-term, online and archival storage for large image data.
- Image displays – monitors to view results.
- Hardcopy devices – printers, film cameras to record output.
- Network/cloud – for transmission of images.
Elements of Visual Perception
- Structure of the human eye – Light enters through the cornea, passes the pupil/lens and is focused on the retina. The retina contains two photoreceptors:
- Cones (~6–7 million, concentrated at the fovea) – responsible for photopic (bright-light) and colour vision; high acuity.
- Rods (~75–150 million) – give scotopic (dim-light) vision; sensitive to low light but not colour.
- Image formation in the eye – The lens changes shape (accommodation) to focus objects; image size on the retina is obtained by similar triangles.
- Brightness adaptation – The eye adapts over a huge intensity range but only discriminates a small range at once; perceived brightness is non-linear (Weber's law).
- Simultaneous contrast – Perceived brightness of a region depends on its background.
- Mach bands – The eye over/undershoots intensity at edges, enhancing perceived edges.
These perceptual limits (intensity discrimination, spatial resolution, optical illusions) directly guide how images should be sampled, quantized and enhanced.
What is histogram equalization? Perform histogram equalization on a given 3-bit image with the listed gray-level distribution and show all steps.
Histogram Equalization
Histogram equalization is a contrast-enhancement technique that redistributes pixel intensities so the output histogram is approximately uniform (flat), spreading intensities across the full available range. It maps the input level to a new level using the cumulative distribution of the histogram:
where = number of gray levels, = total pixels, = pixel count at level .
Worked Example (3-bit image, , levels 0–7)
A representative distribution for a -pixel () 3-bit image:
| CDF | Round | ||||
|---|---|---|---|---|---|
| 0 | 8 | 0.125 | 0.125 | 0.875 | 1 |
| 1 | 10 | 0.156 | 0.281 | 1.969 | 2 |
| 2 | 10 | 0.156 | 0.438 | 3.063 | 3 |
| 3 | 2 | 0.031 | 0.469 | 3.281 | 3 |
| 4 | 12 | 0.188 | 0.656 | 4.594 | 5 |
| 5 | 16 | 0.250 | 0.906 | 6.344 | 6 |
| 6 | 4 | 0.063 | 0.969 | 6.781 | 7 |
| 7 | 2 | 0.031 | 1.000 | 7.000 | 7 |
Steps
- Compute the histogram (count for each level).
- Compute probabilities .
- Compute the cumulative distribution (running sum of ).
- Multiply by and round to the nearest integer to get the mapped level .
- Replace every pixel of level with .
Result Mapping
The equalized histogram uses the full range more evenly, giving better contrast. (For any specified distribution, apply the same five steps.)
Explain frequency-domain filtering. Discuss ideal, Butterworth, and Gaussian low-pass filters and compare their behaviour.
Frequency-Domain Filtering
In frequency-domain filtering, the image is transformed with the 2-D Discrete Fourier Transform (DFT), multiplied by a filter transfer function , and transformed back:
Procedure: (1) pad the image; (2) center the transform by multiplying by ; (3) compute ; (4) multiply by ; (5) inverse DFT; (6) take the real part and crop.
Low frequencies (near the origin) carry slowly varying intensity; high frequencies carry edges and noise. A low-pass filter (LPF) keeps low frequencies (smoothing/blurring).
Let be the distance from the centre and the cutoff.
Ideal Low-Pass Filter (ILPF)
Sharp cutoff — passes everything inside the circle, blocks everything outside. Causes severe ringing (ripple artifacts) because its spatial counterpart is a sinc function.
Butterworth Low-Pass Filter (BLPF) of order
Smooth transition controlled by order . Low → gentle, no ringing; high → approaches ILPF with some ringing. A good compromise between smoothing and artifacts.
Gaussian Low-Pass Filter (GLPF)
Very smooth transition; its inverse transform is also Gaussian (always positive) so it produces no ringing at all, but gives slightly more blurring than Butterworth at the same .
Comparison
| Filter | Transition | Ringing | Sharpness of cutoff |
|---|---|---|---|
| Ideal | Abrupt | Severe | Highest |
| Butterworth | Adjustable () | Mild/controllable | Moderate–high |
| Gaussian | Very smooth | None | Lowest |
Conclusion: Ideal gives the sharpest cutoff but worst ringing; Gaussian is artifact-free but blurs most; Butterworth offers a tunable balance and is most often used in practice.
Section B: Short Answer Questions
Attempt any EIGHT questions.
What is the difference between brightness and contrast?
Brightness refers to the overall lightness or darkness of an image — it is controlled by adding a constant to every pixel value, . Increasing brightness shifts the whole histogram to the right (lighter); decreasing shifts it left (darker).
Contrast refers to the difference between the lightest and darkest regions, i.e. the spread of intensity values. It is changed by scaling, (with increasing contrast). High contrast means a wide histogram spread; low contrast means values clustered together (flat, washed-out look).
| Aspect | Brightness | Contrast |
|---|---|---|
| Definition | Average intensity level | Difference between intensities |
| Operation | Additive (offset) | Multiplicative (gain/spread) |
| Histogram effect | Shifts left/right | Widens/narrows |
Explain bit-plane slicing.
Bit-Plane Slicing
An 8-bit grayscale pixel is represented by 8 bits. Bit-plane slicing decomposes the image into 8 binary images (bit planes), one per bit position, where each plane contains the value of that single bit for every pixel.
- Bit-plane 0 = least significant bit (LSB); bit-plane 7 = most significant bit (MSB).
- For pixel value , the bit of plane is .
Observations
- The higher-order planes (4–7) contain the visually significant data — most of the recognizable image structure.
- The lower-order planes (0–3) mainly carry fine detail and noise.
Uses
- Image compression – discarding low-order planes reduces storage with little visible loss.
- Analyzing relative importance of each bit to image content.
- Watermarking/steganography – hiding data in the LSB plane.
Example: value contributes a 1 to planes 7, 1 and 0, and 0 to the others.
What is a high-pass filter? Explain its use.
High-Pass Filter (HPF)
A high-pass filter is a filter that passes high spatial frequencies (rapid intensity changes such as edges, fine detail and noise) while attenuating low frequencies (smooth, slowly varying regions). It is the complement of a low-pass filter:
In the spatial domain it uses a kernel with a positive centre and negative surround whose coefficients sum to zero, e.g. the Laplacian mask:
0 -1 0
-1 4 -1
0 -1 0
Uses
- Edge detection / sharpening – emphasizes boundaries where intensity changes sharply.
- Detail enhancement – brings out fine texture and small features.
- High-boost / unsharp masking – sharpened image = original + scaled high-pass output.
- Feature extraction – pre-processing step for segmentation and recognition.
Because it removes the slowly varying background, the output of a pure HPF has a mostly dark, mean-zero appearance with bright edges.
Differentiate between the Fourier and cosine transforms.
Fourier Transform vs Discrete Cosine Transform (DCT)
The Discrete Fourier Transform (DFT) decomposes a signal/image into a sum of complex sinusoids (both sine and cosine), producing complex-valued coefficients (magnitude + phase). The Discrete Cosine Transform (DCT) expresses the data using only real cosine basis functions, producing real coefficients.
| Feature | Fourier Transform (DFT) | Cosine Transform (DCT) |
|---|---|---|
| Basis functions | Complex exponentials (sine + cosine) | Real cosines only |
| Coefficients | Complex (magnitude & phase) | Real |
| Implied symmetry | Periodic extension | Even (mirror) extension → fewer edge discontinuities |
| Energy compaction | Lower | Higher – energy concentrated in few low-frequency coefficients |
| Typical use | Frequency-domain filtering, spectral analysis | Image/video compression (JPEG, MPEG) |
Key point: Because the DCT assumes an even (mirrored) extension, it avoids the boundary discontinuities of the DFT and gives better energy compaction, which is why JPEG uses the DCT rather than the Fourier transform for compression.
Explain region growing in image segmentation.
Region Growing
Region growing is a region-based segmentation technique that groups pixels into larger regions starting from one or more seed points, based on a similarity (homogeneity) criterion.
Algorithm
- Select seed pixel(s) representing each region of interest.
- Examine the neighbours (4- or 8-connected) of the current region.
- Append a neighbour to the region if it satisfies the similarity predicate — e.g. its intensity differs from the seed/region mean by less than a threshold : .
- Repeat until no more pixels can be added.
- Start a new region from an unassigned seed and continue until all pixels are labelled.
Characteristics
- Similarity may use intensity, colour, texture, etc.
- Advantages: good for noisy images where edges are hard to detect; produces connected regions; gives correct results when criteria are well chosen.
- Disadvantages: sensitive to seed choice and threshold; can be computationally expensive; may cause over/under-segmentation.
It is the conceptual opposite of region splitting and merging, which starts from the whole image and subdivides it.
What is the use of the gradient operator in edge detection?
Gradient Operator in Edge Detection
An edge is a location of sharp intensity change. The gradient measures the rate and direction of that change and is therefore the basis of first-derivative edge detection. For image :
- Magnitude (edge strength):
- Direction (perpendicular to the edge):
Use
- The gradient magnitude is large at edges and near zero in smooth areas, so thresholding the magnitude detects edges.
- and are computed by convolving with masks such as Sobel, Prewitt or Roberts operators.
- The gradient direction tells the edge orientation, used in non-maximum suppression (e.g. Canny).
Thus the gradient operator both locates edges (via magnitude) and orients them (via direction).
Define morphological gradient.
Morphological Gradient
The morphological gradient of an image with a structuring element is the difference between its dilation and its erosion:
where is dilation and is erosion.
- Dilation expands bright regions; erosion shrinks them. Their difference is large only where intensities change rapidly, i.e. at object boundaries.
- The result highlights edges/boundaries of objects, similar to a gradient operator but defined by set/shape operations.
Related variants
- Internal gradient:
- External gradient:
Use: edge extraction and boundary detection in binary and grayscale images.
What is the role of quantization in image compression?
Role of Quantization in Image Compression
Quantization maps a large (or continuous) range of input values to a smaller set of discrete output levels, intentionally discarding less important information to reduce the data needed to represent the image. It is the main source of size reduction in lossy compression.
Role / Importance
- Reduces psychovisual redundancy – removes detail the human eye cannot perceive (e.g. fine high-frequency variations).
- In transform coders like JPEG, the DCT coefficients are divided by a quantization table and rounded; many high-frequency coefficients become zero, which then compress very efficiently with run-length and entropy coding.
- It controls the compression-ratio vs quality trade-off: coarser quantization (larger step) → higher compression but lower quality; finer quantization → better quality, larger file.
Types
- Scalar quantization – each value quantized independently.
- Vector quantization – groups of values quantized together.
Note: Quantization is irreversible (lossy) — the discarded information cannot be recovered, so it is absent from lossless schemes.
Write short notes on pseudo-colour image processing.
Pseudo-Colour Image Processing
Pseudo-colour (false-colour) processing assigns colours to the gray (intensity) levels of a monochrome image based on a specified rule. The image carries no real colour information; colour is added artificially to make features easier to interpret by the human eye, which distinguishes far more colours than gray shades.
Principal Techniques
- Intensity (density) slicing – The gray scale is partitioned into intervals (slices) by planes; each interval is mapped to a distinct colour. Simple but produces few colours.
- Gray-level to colour transformation – Each pixel's intensity is passed through three independent transformation functions producing red, green and blue outputs:
The three are combined to form the colour image, giving smoother, richer colour mappings than slicing.
Uses / Importance
- Enhances visual interpretation by exploiting the eye's superior colour discrimination.
- Widely used in medical imaging (X-ray, MRI), remote sensing/satellite images, thermal/infrared imaging and scientific visualization to emphasize regions of interest.
Difference from full colour: pseudo-colour is derived from a single intensity channel, whereas true colour comes from real RGB sensor data.
Frequently asked questions
- Where can I find the BSc CSIT (TU) Image Processing (BSc CSIT, CSC413) question paper 2079?
- The full BSc CSIT (TU) Image Processing (BSc CSIT, CSC413) 2079 (regular) question paper is available free on Kekkei. You can read every question online and attempt the paper under timed exam conditions.
- Does the Image Processing (BSc CSIT, CSC413) 2079 paper come with solutions?
- Yes. Every question on this Image Processing (BSc CSIT, CSC413) past paper includes a step-by-step solution, plus instant AI feedback when you attempt it on Kekkei.
- How many marks is the BSc CSIT (TU) Image Processing (BSc CSIT, CSC413) 2079 paper?
- The BSc CSIT (TU) Image Processing (BSc CSIT, CSC413) 2079 paper carries 60 full marks and is meant to be completed in 180 minutes, across 12 questions.
- Is practising this Image Processing (BSc CSIT, CSC413) past paper free?
- Yes — reading and attempting this Image Processing (BSc CSIT, CSC413) past paper on Kekkei is completely free.