Questions tagged [superpixels]

Superpixels are polygonal parts of a digital image resulting of a process of its partitioning into multiple segments.

Superpixels are polygonal parts of a digital image resulting of a process of its partitioning into multiple segments.

The idea of superpixels was originally developed by Xiaofeng Ren and Jitendra Malik.

52 questions
7
votes
0 answers

How to perform super pixel image segmentation and feature extraction

I am interested in multi class segmentation of skin tissues, I have 3000 skin tissue labels classified into 4 classes, I have created a CNN classification algorithm to train my classification model. I would like to use the classification model for…
5
votes
1 answer

Drawing Region Adjacency Graph

Having centroids of superpixels for an image, is there any MATLAB function for drawing region adjacency graph ? L = superpixels(A, 200); K=regionprops(L, 'Centroid'); % Detemining centroid coordinates of each superpixels P.S. Similar but…
dtr43
  • 135
  • 7
  • 19
5
votes
2 answers

Adjacent and non-adjacent superpixels for an superpixel in an image

After segmenting an image into N superpixels, I need to specify the superpixels that are adjacent or non-adjacent to one superpixel and determine this relationship for all superpixels. [L,NumLabels] = superpixels(A,200); How can I specify the…
5
votes
1 answer

identify the adjacent pixels in matlab

Let's assume A be, 1 1 1 1 1 1 1 2 2 3 3 3 4 4 2 2 3 3 4 4 2 2 2 3 4 4 4 4 3 3 5 5 5 5 5 5 I need to identify all the numbers which are adjacent to a particular intensity value. E.g. the intensities 1, 3, and 4 are…
user570593
  • 3,420
  • 12
  • 56
  • 91
4
votes
2 answers

Average colour of slic superpixel

I want to segment an image using slic superpixels and then replace the original colour of a superpixel with the average colour of said superpixel. import numpy as np import matplotlib.pyplot as plt from skimage import io from skimage.segmentation…
Steve Emman
  • 125
  • 10
4
votes
2 answers

Gabor Filter on on each Superpixel

I am working on superpixel for the feature extraction. I have successfully applied superpixel function to the image. A = imread('kobi.png'); [L,N] = superpixels(A,5); figure BW =…
Aadnan Farooq A
  • 626
  • 4
  • 8
  • 19
3
votes
3 answers

Add extra properties to regionprops in skimage

I'm using the regionprops function from the scikit-image (or skimage) package to compute region features of a segmented image using the SLIC superpixel algorithm from the same package. I need additional features than those computed in the fucntion,…
3
votes
1 answer

Boundary superpixels and adjacency matrix

Looking for a method to determine adjacent superpixels, I found this interesting solution. However, as I know, there is need to consider adjacency between superpixels which are located in the left and right boundaries. Also the adjacency for…
Ben25
  • 131
  • 1
  • 7
3
votes
1 answer

Best way of extracting features from SuperPixels such as gabor and HOG features

I've used the slic clustering algorithm to create superpixels of a biomedical image (whole slide image for the biomedical imaging experts). I want to extract different features, texture and spacial for the superpixels to create a feature…
3
votes
1 answer

Parallel loops and image processing in matlab

I am going to implement a salient object detection method based on a simple linear feedback control system (LFCS). The control system model is represented as in the following equation: I've come up with the following program codes but the result…
3
votes
3 answers

How to calculate average color of a superpixel in scikit-image

I have segmented my image using the quickshift method found in the scikit image libary. How can I calculate the average color and the area of a superpixel? How can I interpret the return value of the quickshift() method? The documentation says the…
3
votes
3 answers

Identify adjacent superpixels iteratively

Let A be: 1 1 1 1 1 1 1 2 2 3 3 3 4 4 2 2 3 4 4 4 4 4 4 4 4 4 5 5 6 6 5 5 5 5 5 6 I need to identify a particular superpixel's adjacent pixels, e.g. The 1st adjacency of 2 is 1, 3, 4 The 2nd adjacency of 2 is 5, 6 The 3rd adjacency of 2 is…
user570593
  • 3,420
  • 12
  • 56
  • 91
2
votes
2 answers

Create numpy array with shape of one array and values from a list

I have a (128x128) array consisting of values of which cluster/super-pixel each pixel belongs to, small 9x9 example: array([[0, 0, 1, 1, 1, 2, 2, 2, 2], [0, 0, 1, 1, 1, 2, 2, 2, 2], [0, 0, 1, 1, 1, 2, 2, 2, 2], [3, 3, 3, 3, 4,…
Qiicken
  • 43
  • 3
2
votes
1 answer

superpixels extracted via energy-driven sampling (SEEDS)

I am interested in superpixels extracted via energy-driven sampling (SEEDS) which is a method of image segmentation using superpixels. This is also what OpenCV uses to create superpixels. I am having troubles finding documentation behind the SEEDS…
Nick
  • 95
  • 3
  • 15
1
vote
0 answers

How could I improve my data structure for superpixel coordinates storage in image segmentation algorithms?

I am attempting to produce a python implementation of a certain superpixel algorithm. To do so, I would need a variable sk which stores the coordinates of each pixel in different superpixels. To be more specific, my current approach is sk =…
1
2 3 4