Back to Browse

Module 1.3: Non-Linear Transformation | Logarithmic Transformation | Solved Numerical Example 2 #DIP

3.7K views
Feb 26, 2025
4:41

In Digital Image Processing (DIP), the Logarithmic Transformation is a powerful point-processing technique used to expand the dark pixels in an image while compressing the higher-level brightness values. Think of it as a way to "pull" details out of the shadows when your image has a dynamic range that’s too wide for the human eye (or a computer monitor) to see clearly. 1. The Mathematical Formula: The transformation is mapped by the following equation: s = c log(1 + r) Where: s: The output intensity (processed pixel). r: The input intensity (original pixel). We use (1 + r) because log(0) is undefined; adding 1 ensures the minimum value starts at 0. c: A scaling constant, usually calculated as c = {L-1}/log(1 + R_{max})} to ensure the output fits within the display range (like 0–255). 2. Key Characteristics a) Dynamic Range Compression: It is most famous for compressing images with a massive range of pixel values (like Fourier Spectra) into a range that fits on a standard screen. b) Enhancing Dark Details: The slope of the log curve is very steep for low input values ($r$). This means small changes in dark areas are mapped to large changes in the output, making hidden details visible. c) Compressing Highlights: Conversely, the curve flattens out for high input values, meaning bright areas lose some contrast to make room for the darker details. 3. Primary Applications: a) Fourier Spectrum Visualization: Raw Fourier transform data often contains values ranging from 0 to 10^6. If displayed directly, you’d only see a single bright dot. Applying a log transform makes the complex patterns visible. b) Medical Imaging: Used to highlight low-intensity features in X-rays or scans where subtle tissue differences might be lost in the "dark". c) Radar & Satellite Imagery: Useful when the sensor captures a wider range of light than the human eye can naturally perceive. You may follow the following reference books for this subject: Reference Books: 1. R.C.Gonzalez and R.E.Woods, “Digital Image Processing”, Prentice Hall, 3rd Edition,2011. 2. S. Sridhar , “Digital Image Processing”, Oxford University Press,2011 3. BhabatoshChanda and D. DuttaMajumder, “Digital Image Processing and Analysis”, PHI,2011. If you have any suggestion/feedback or if you want videos on any topic related to digital image processing , please do comments in my video or write email to me: [email protected] #DigitalImageProcessing #ImageProcessing #ComputerVision #MachineLearning #AIImageProcessing #ImageEnhancement #ImageSegmentation #ImageAnalysis #DataScience #DeepLearning #ImageRecognition #ImageFilters #OpenCV #ComputerGraphics #ImageProcessingTutorials #MorphologicalOperations #ImageMorphology #DigitalImageEnhancement, #ImageEnhancement, #PhotoEnhancement, #ImageProcessing, #PhotoEditing, #AIImageEnhancement, #ImageRestoration, #PhotoRetouching, #EnhancePhotos, #ImageQuality, #UpscaleImage, #ColorCorrection, #SharpenImage, #LowLightEnhancement, #ComputerVision,

Download

0 formats

No download links available.

Module 1.3: Non-Linear Transformation | Logarithmic Transformation | Solved Numerical Example 2 #DIP | NatokHD