<commit_before>---
category: Blog
tag: Computer Vision
comments: true
date: 2013-08-25 13:00:00
layout: post
slug: superpixels-slic
title: Superpixels using SLIC
---

It's been two months since I have written about my work. Well, to be honest, I didn't do that much work which could be put up on a blog. I am working on a 3D application which is based on Android and when I get a chance, I'll post about it. Meanwhile, I am also working with SimpleCV as part of my Google Summer of Code 2013 prgoram. For the mid term, I was working on porting it to cv2 and cleaning up the legacy code. I need to write a post about all the updates and new features that it will have. One of the features that I am planning to add is Superpixels based on SLIC algorithm.

### What is a superpixel?
A superpixel can be defined as a group of pixels which have similar characteristics. It is generally color based segmentation. Superpixels can be very helpful for image segmentation. There are many algorithms available to segment superpixels but the one that I am using is state of the art with a low computational overhead.

![Superpixels based on SLIC](/assets/images/superpixels-SLIC1.jpg)
<commit_msg>title changed<commit_after>---
category: Blog
tag: Computer Vision
comments: true
date: 2013-08-25 13:00:00
layout: post
slug: superpixels-slic
title: SLIC based Superpixel Segmentation
---

It's been two months since I have written about my work. Well, to be honest, I didn't do that much work which could be put up on a blog. I am working on a 3D application which is based on Android and when I get a chance, I'll post about it. Meanwhile, I am also working with SimpleCV as part of my Google Summer of Code 2013 prgoram. For the mid term, I was working on porting it to cv2 and cleaning up the legacy code. I need to write a post about all the updates and new features that it will have. One of the features that I am planning to add is Superpixels based on SLIC algorithm.

### What is a superpixel?
A superpixel can be defined as a group of pixels which have similar characteristics. It is generally color based segmentation. Superpixels can be very helpful for image segmentation. There are many algorithms available to segment superpixels but the one that I am using is state of the art with a low computational overhead.

![Superpixels based on SLIC](/assets/images/superpixels-SLIC1.jpg)

{'fraction_non_alphanumeric': 0.04530201342281879, 'fraction_numerical': 0.01761744966442953, 'mean_word_length': 4.1735357917570495, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1073334', 'n_tokens_mistral': 652, 'n_tokens_neox': 612, 'n_words': 400}