how to extract morphological features from a image

Technical Source
2 min readFeb 15, 2022

--

How to extract “morphological features”, based on the following information.

Apply contextual filters based on mathematical morphology to image, in particular, four very common morphological filters are considered:

opening (O), closing ©, opening by reconstruction (OR), and closing by reconstruction (CR).

For each of these filters, we used a structuring element (SE) whose dimensions increased from 9 to 25 pixels with steps of 2 pixels, resulting in nine morphological features.

The process of reconstruction for OR and CR operators is performed using a small (3-pixel diameter) SE. The entire process of morphological filtering increases the dimensionality of the datasets from four to 40 features.

Please can someone help me to do this….

i didnt understand how to do it…. should i do all the morphological operations to one image?? so totally how many features will i get? i am confused… please can someone tell me how to do it?

NOTE:-

Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

Read in a grayscale image, for example one of the MATLAB demo images like ‘cameraman.tif’. Then set up a window with true() or strel(), then call the morphological function they told you to, for example:

grayImage = imread('cameraman.tif');
subplot(1, 2, 1);
imshow(grayImage, []);
title('Original Image', 'FontSize', 30);
% Enlarge figure to full screen.
set(gcf, 'Units', 'Normalized', 'OuterPosition', [0 0 1 1]);
% Now do an opening.
openedImage = imopen(grayImage, true(11));
subplot(1, 2, 2);
imshow(openedImage, []);
title('Opened Image', 'FontSize', 30);

SEE COMPLETE ANSWER CLICK THE LINK

--

--

Technical Source
Technical Source

Written by Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.

No responses yet