20BCS3370
20BCS3370
Experiment: 1
Aim:
Write a program to implement various feature extraction techniques for image
classification.
Software Required:
PC/Laptop
Jupyter Notebook
Python 3 or above
Description:
There are several feature extraction techniques commonly used in image
classification tasks. These techniques aim to capture relevant information from
images and transform them into meaningful representations that can be used by
machine learning algorithms for classification. Some popular feature extraction
techniques are:
Histogram of Oriented Gradients (HOG): HOG computes the distribution of
gradient orientations in an image. It captures the shape and edge information
and has been particularly successful in object detection and pedestrian
recognition tasks.
Local Binary Patterns (LBP): LBP encodes the texture information by comparing
each pixel's intensity value with its neighbouring pixels. It is commonly used in
texture analysis tasks and has shown good performance in various image
classification applications.
Pseudo code/Algorithms/Flowchart/Steps:
1. Import necessary libraries
2. Load the dataset
3. Preprocess the images
Implementation:
imshow(image)
image.shape
Output: