Research Article

Content-Based Image Retrieval Using Colour, Gray, Advanced Texture, Shape Features, and Random Forest Classifier with Optimized Particle Swarm Optimization

Algorithm 1

Feature Selection using Colour and Gray Texture Features with optimized PSO.
INPUT: Extracted Colour, Gray and Shape features as particles with respective weight for each particle.
OUTPUT: Relevant retrieved images based on the query image.
Step 1: Initialize all extracted feature as particles
Step 2: Initialize respective weight for all particles
Step 3: Combine information from both particles and weights
Step 4: Select best particle and combine these particles based on fitness value
Where the fitness value of a particle is calculated by using distance measure of the following equation
[20]
   // Where and are the features of database and query image, denotes weight of the ith particle //
Step 5: The retrieval of image in the database for the query image can be done by (1: N) process. This process can be repeated for all database and query image until retrieving top matched image.