Giter VIP home page Giter VIP logo

image-compression-using-abc-algorithm's Introduction

Image-compression-using-ABC-algorithm

About Artificial Bee colony Algorithm.

In computer science and operations research, the artificial bee colony algorithm (ABC) is an optimization algorithm based on the intelligent foraging behaviour of honey bee swarm, proposed by Derviş Karaboğa in 2005.

This is a compression of image with few loss of data. A random image has been selected and fed in to the algorithm. Initially, the image is converted to gray scale and then resized to shape of 100 X 100.

This image array is considered as the food source for all the three bee phases.

  1. Employed bee phase
  2. On-looker bee phase
  3. Scout bee phase

Objective function is: Sum of all the values in the row (i.e., x1+x2+x3+......+x100). This code is implemented with out any constraints, It may be modified to work with constraints in the future.

Fitness function: 1/(1+value) if value is > 0. Else just 1+value.

Probability of fitness: value/sum (fitness_array)

Required libraries.

Pillow Numpy Random

References:

I will also recommned watching the below videos to get a better understanding. https://www.youtube.com/watch?v=vmQ49mRhGGw&t=1248s&ab_channel=Dr.HarishGarg https://www.youtube.com/watch?v=U9ah51wjvgo&t=1322s&ab_channel=NPTELIITGuwahati

image-compression-using-abc-algorithm's People

Contributors

adarsh-nl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.