How to do the acquired images(white blood cells) are sharpened using a gaussian un-sharp mask ?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Sir ,l am doing my project on wbc classification using CNN.So I have wbc image datasets it's first step is image enhancement.it including mainly 3 process,they are Noise removal,contrast adjustment and image sharpening. Here the acquired images are sharpened using a gaussian un-sharp mask. so how to do these all for wbc image.can you please help me to solve these problems.
<<
>>
0 Kommentare
Antworten (1)
prabhat kumar sharma
am 22 Feb. 2024
Hello Keerthi,
I understand that you are tyring white blood cell (WBC) classification using Convolutional Neural Networks (CNN), For this preprocessing the images is an important step to improve the performance of your model. Here's how you can perform the three main image enhancement processes you mentioned using MATLAB:
% Read the image
wbcImage = imread('wbc.jpg');
wbcImage = rgb2gray(wbcImage);
% Noise removal with Gaussian filter
filteredImage = imgaussfilt(wbcImage, 2);
% Contrast adjustment
contrastAdjusted = imadjust(filteredImage);
% Image sharpening with unsharp mask
sharpenedImage = imsharpen(contrastAdjusted, 'Radius', 2, 'Amount', 1);
% Display the original and enhanced images
subplot(1, 2, 1);
imshow(wbcImage);
title('Original Image');
subplot(1, 2, 2);
imshow(sharpenedImage);
title('Enhanced Image');
Output:
I hope it helps!
0 Kommentare
Siehe auch
Kategorien
Mehr zu Biomedical Imaging finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!