Knowledge / Biomedical Engineering / Medical image processing

Medical image processing

Biomedical Engineering (B.E./B.Tech) · Medical imaging · free study notes for exams, placements and interviews

In short

Medical image processing is the set of computational steps that turn raw detector data from X-ray, CT, MRI, ultrasound and nuclear scanners into images a radiologist or an algorithm can read reliably - reconstruction, enhancement, restoration, segmentation, registration, quantification, compression and storage. It matters because the raw signal is noisy, low in contrast and geometrically distorted; diagnosis depends on what processing recovers and on not creating artefacts that look like disease. In Indian universities it is a core paper in Biomedical/Medical Electronics (and appears in GATE BM as "image enhancement, segmentation, registration, reconstruction"), and employers - Philips Healthcare Bengaluru, GE Healthcare, Siemens Healthineers, Wipro GE, Qure.ai, Niramai, DeepTek, HCL/TCS medical-device divisions, AIIMS/SCTIMST research groups - interview on exactly these steps. The regulatory frame is the Medical Devices Rules, 2017 under CDSCO, which bring software intended for diagnosis in as a medical device, and the DICOM standard for every image file and network transfer.

Explained

Digital image fundamentals and the medical image

Image enhancement (spatial and frequency domain)

Noise, restoration and reconstruction

Segmentation, morphology and feature extraction

Registration, fusion, compression and visualisation

Indian standards, regulation and quality

Key points

Formulas and examples

HU = 1000 × (μ_tissue − μ_water) / μ_water — μ = linear attenuation coefficient (cm⁻¹); HU dimensionless
Stored-value rescale: HU = RescaleSlope × StoredValue + RescaleIntercept (DICOM tags 0028,1053 and 0028,1052)
Displayed grey: output = 0 if f ≤ WL − WW/2; = 255 if f ≥ WL + WW/2; else 255 × (f − (WL − WW/2))/WW
Histogram equalisation: s_k = (L−1) × Σ_{j=0}^{k} n_j / N — L = grey levels, n_j = pixel count at level j, N = total pixels
Convolution: g(x,y) = Σ_s Σ_t w(s,t) f(x−s, y−t) — w = kernel (with f(x+s, y+t) the same sum is correlation); for an m×n mask the cost is mn multiply-adds per pixel
SNR = mean signal / SD of noise; CNR = |S_A − S_B| / σ_background (both dimensionless)
PSNR = 10 log₁₀(MAX² / MSE) dB; MSE = (1/MN) ΣΣ [f(x,y) − g(x,y)]² — MAX = 255 for 8-bit
Compression ratio CR = original size / compressed size (bits per pixel after = bit depth / CR)
Dice = 2|A∩B| / (|A| + |B|); Jaccard = |A∩B| / |A∪B|; Dice = 2J/(1+J)
Wiener: F̂(u,v) = [ H*(u,v) / (|H(u,v)|² + S_n/S_f) ] G(u,v) — S_n/S_f = noise-to-signal power ratio
Image data size (bytes) = rows × columns × slices × (bit depth/8) × channels
Nyquist: pixel pitch Δ ≤ 1/(2 f_max); Nyquist frequency = 1/(2Δ) line pairs per mm

Example 1 - HU and windowing. A CT voxel has μ = 0.206 cm⁻¹; water μ = 0.190 cm⁻¹.

Example 2 - study size and transfer time. A chest CT: 512 × 512 pixels, 400 slices, 16 bits stored, single channel.

Example 3 - histogram equalisation (3-bit image, L = 8, N = 64 pixels).

r_kn_kp(r_k)CDFs_k = round(7×CDF)
080.1250.1251
1100.1560.2812
2160.2500.5314
3140.2190.7505
4100.1560.9066
540.0630.9697
620.0311.0007
700.0001.0007

Example 4 - segmentation scoring. An automated liver segmentation gives 86,000 voxels; the radiologist's ground truth has 90,000; the overlap is 82,000.

Example 5 - denoising, SNR and PSNR. A region of interest in an MR image has mean 540 and background noise SD 18; after a 3×3 mean filter the noise SD falls by √9 = 3 (ideal, uncorrelated noise) to 6.

FilterTypeBest againstCost to the image
Mean / boxLinearGaussian noiseStrong edge blur
GaussianLinearGaussian noiseSmooth blur, controllable σ
MedianNon-linearSalt-and-pepper, speckle spikesRemoves thin lines, rounds corners
Bilateral / NLMNon-linearLow-dose CT, MR noiseSlow; can look waxy
WienerLinear, optimal MSEBlur + known noiseNeeds PSF and NSR estimates
Laplacian / unsharpLinear sharpeningSoft imagesAmplifies noise and ringing
TaskClassical methodLearning-based method
SegmentationOtsu, region growing, level setsU-Net, nnU-Net
Detection/CADFeature + SVM/random forestFaster R-CNN, YOLO
RegistrationMutual information + B-splineVoxelMorph-type networks
DenoisingNLM, wavelet, WienerCNN/GAN denoisers for low-dose CT
ReconstructionFBP, OSEMDeep-learning image reconstruction

Where it is used

Interview questions

Common mistakes

Related topics

X-ray imaging basics · CT and MRI basics · Ultrasound basics · Nuclear medicine imaging: PET and SPECT · Digital signal processing and transforms · Biomedical instrumentation and medical device regulation

Open in the Knowledge reader →Find jobs →