Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

It is often found in image processing and related fields that real world data is unsuitable for direct use. This warrants the inclusion of pre-processing

image text in transcribed

It is often found in image processing and related fields that real world data is unsuitable for direct use. This warrants the inclusion of pre-processing steps before any other operations are performed. An example of this is histogram equalization (HE) and its extension adaptive histogram equalization (AHE) The goal of this problem is to implement a MATLAB function for AHE as described in Chapter 1 of Adaptive Histogram Equalization - A Parallel Implementation. The function has the following specifications: (i) The desired function AHEO takes two inputs: the image im and the contextual region size wam-stze. (ii) Using the pseudocode in Algorithm 1 as a reference, compute the enhanced image after AHE. (iii) You may use loops if necessary. You should not make use of any inbuilt MATLAB functions for AHE or HE. (iv) The function returns one output: the enhanced image after AHE. Algorithm 1 Pseudocode for Adaptive Histogram Equalization of an Image Pre-requirement: Pad the image im on all 4 sides by mirroring intensity values so that the contextual region for edge pixels remains valid. This can be done in MATLAB using padarray0 with the 'symmetric' argument I: function AHE(im, win size) 2 for each pizel (x, y) in image im do 3 rank0 contertualregion' im(i.j) then 7 rankrank +1 output(z, y) im(i.j) then 7 rankrank +1 output(z, y)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions