Jump to content

User:YusufSodawala123/Sample page

From Wikipedia, the free encyclopedia

The High Boost Filter is a non-linear digital filtering technique. The High Boost Filter, also known as High Boost Filtering, is a fundamental concept in the field of digital image processing. It is a technique utilized to enhance the sharpness and details of an image by accentuating its high-frequency components while preserving its low-frequency components. [1]

Algorithmic description

[edit]

The fundamental concept behind the High Boost Filter involves selectively amplifying high-frequency components within an image while preserving its low-frequency details. Analogous to traditional linear filters, the High Boost Filter operates on a non-linear paradigm, accentuating image sharpness by enhancing edges and fine details. This process begins with the extraction of high-frequency components through high-pass filtering, followed by amplification and integration with the original image. Unlike traditional filters that rely on weighted averages, the High Boost Filter's emphasis on frequency manipulation enables precise enhancement without sacrificing edge integrity. The filter's versatility extends to various dimensions, accommodating both one-dimensional and multidimensional data, ensuring comprehensive detail enhancement across diverse image types.

Formula

[edit]

Per Geeks For Geeks (2021).[2]

HPF = Original image - Low frequency components 
LPF = Original image - High frequency components 
HBF = A * Original image - Low frequency components 
    = (A - 1) * Original image + [Original image - Low frequency components]
    = (A - 1) * Original image + HPF 

Here,

  • HPF = High pass filtering, which means the higher frequency components are allowed to pass while low-frequency components are discarded from the original image.
  • LPF = Low pass filtering, which means the lower frequency components are allowed to pass while high-frequency components are discarded from the original image.
  • A = Amplification factor, determining the extent to which high-frequency components are enhanced relative to the original image.

MATLAB Implementation[2]

[edit]
% MatLab code for High Boost Filtering
% read the image in variable 'a'
a=imread("your_image.jpg");

% Define the High Boost Filter 
% with central value=4 and A=1.
HBF=[0 -1 0; -1 5 -1; 0 -1 0];

% Convolve the image 'a' with HBF.
a1=convn(a, HBF, 'same');

% Normalise the intensity values.
a2=uint8(a1);

%Display the sharpened image.
imtool(a2,[]);

% Define the HBF with Central value=8 and A=1.
SHBF=[-1 -1 -1; -1 9 -1; -1 -1 -1];

% Convolve the image 'a' with HBF.
a3=convn(a,SHBF, 'same');

% Normalise the intensity values.
a4=uint8(a3);

% Display the sharpened image.
imtool(a4,[]);

Solved Example

[edit]

Question:

[edit]

Given an original grayscale image with pixel values ranging from to , apply a High Boost Filter with an amplification factor and a kernel size of . The low-pass filtering operation is performed using a simple averaging filter. If a specific pixel in the original image has a value of and its neighboring pixels within the kernel have the following values:, compute the corresponding pixel value in the resulting High Boost Filtered image.

Solution:

[edit]

1. Compute the average value of the neighboring pixels:

[edit]

2. Compute the high-pass filtered value:

[edit]

3. Apply the amplification factor:

[edit]

4. Compute the resulting pixel value in the High Boost Filtered image:

Reference section

[edit]
  1. ^ "High Frequency Boost Filtering - File Exchange - MATLAB Central". in.mathworks.com. Retrieved 2024-05-02.
  2. ^ a b "Image Sharpening Using Laplacian Filter and High Boost Filtering in MATLAB". GeeksforGeeks. 2021-11-08. Retrieved 2024-05-02.

Return to the tutorial