FAQ Database Discussion Community


Bag of Words Representation [closed]

matlab,image-processing,machine-learning,computer-vision,image-segmentation
I would like to implement bag of words representation for my project. I computed the codebook of visual words of images by using their features and descriptors.Then, I obtained cluster centers using k-means. For the bag of words representation part, it is asked that you should use manually labeled segments...

Illuminant variant image in road recognition

image-processing,computer-vision,image-segmentation
Recently I've been doing some study on the topic Road Recognition. There is a problem that if you have illuminant variant images, the recognition results will not be satisfactory if you just use the normal segmentation approach. Here, shadow removal will improve the results a lot, but for the image,...

Wound Segmentation using Wavelet Transform in OpenCV

opencv,image-processing,image-segmentation,wavelet,wavelet-transform
We tried Local Histogram approach for wound segmentation which didn't work well for all kinds of images and then we taught to use Wavelet transform for wound segmentation. Which Wavelet transform will be good for wound segmentation and some tips to implement it ?? Is there any better way than...

How to accurately acquire line segments from the projection plot?

image,matlab,image-processing,image-segmentation,text-segmentation
So this is basically something very simple, as in just get the horizontal projection plot and from that get the location of the lines on the image. But the problem is that the threshold that is applied is very variable. If I stay at a safe level, the correct number...

How to programatically perform image segmentation in real-time

opencv,image-processing,computer-vision,image-segmentation
I am currently trying to segment ultrasound images of blood vessels (video frames), such as the one directly below. Using a simple binary filter on the saturation channel (code below), I can get a nonsatisfactory result such as the 3rd image below. Of course, I tried to dilate the filtered...

“hard” supervision in image segmentation with python

python,image,opencv,image-processing,image-segmentation
There are several packages and methods for segmentation in Python. However, if I know apriori that certain pixels (and no others) correspond to a particular object, how can I use that to segment other objects? Which methods implemented in python would lend themselves to this approach? Thanks....

Why are there dashed lines in segments?

image-processing,image-segmentation
I would like to learn image segmentation using SLIC algorithm in Matlab. After implementing that algorithm on some images, I saw that some lines of segments are dashed. However, I can obtain straight lines on a different image with same parameters. Required superpixel parameter is 500. Compactness factor is 20....

How to prevent exceeding matrix dimensions while dividing an image into blocks?

image,matlab,image-processing,image-segmentation
I have an image which I want to divide into overlapping blocks. I have set the box to be of size 8 rows and 8 columns, and the overlapping factor to be 4 rows/columns. This is what I have written to solve this: img = imread('a03-017-05.png'); overlap = 4 count...

Opencv import highgui in android studio is showing error.Cannot resolve(I added the library still the error remain)

android,opencv,image-segmentation
I have the following code which is for image segmentation using grabcut opencv. I am using opencv for the first time. I added the opencv library. While others worked perfectly highgui is still showing cannot resolve symbol.Do i need to add something else. (If you can help me with the...

How to setup my function with blockproc to process the image in parts?

image,matlab,image-processing,image-segmentation
I have an image: I want to divide this image into 3 equal parts and calculate the SIFT for each part individually and then concatenate the results. I found out that Matlab's blockproc does just that, but I do not know how to get it to work with my function....

Image segmentation with region-based thresholds in Matlab

matlab,image-processing,image-segmentation,threshold
I have a noisy image with multiple separated circular regions that are blurred out. An example of such image with six Region of Interests (ROI) is : image source Segmenting this image with global threshold is easy in Matlab using bwconncomp and a given threshold. But I want to set...

Detecting hand and segmenting image in Android application

android,opencv,computer-vision,image-segmentation
I have developed an android application which captures and processes images. I would like to add the following feature: Detect where a user's hand is in an image. Specifically, the app will use this to approximate where the user is pointing. Segment the image so that only the part of...

effect of ligting on image segmentation in matllab

matlab,image-processing,image-segmentation,fuzzy-c-means
I'm trying to do a segmentation task on the below picture. I'm using fuzzy c-means with some minimal pre-processing. The segmentation will have 3 classes: background(the blue region), meat(the red region) and fat(the white region). The background segmentation works perfectly. However meat-and-fat segmentation on the left side of the photo...

How can i remove overlaping circles after Hough Transform segmentation

matlab,image-segmentation,hough-transform
I'm working in image segmentation, testing a lot of different segmentation algorithms, in order to do a comparitive study. At the moment i'm using Hough transform to find circles in the image. The images that i'm using have plenty objects, so when Í count the objects the result is hudge....

Extracting foreground image as mask by thresholding

python,image-processing,image-segmentation,scikit-image
I'm looking for a robust way to extract the foreground from an image where the background has some noise in it. So, the image I want to use it on is: My attempt was to use the Otsu thresholding. I did that in Python as follows: from skimage.filter import threshold_otsu...

How to detect objects in an image based on colour?

image,matlab,image-processing,image-segmentation,text-segmentation
I am using a handwriting database for writer recognition. I'm using the QUWI database, it has a sample of an original image and a sample of the image segmented into lines by giving each line a different colour. For example here is the original image: (stackovrflow was not uploading this...

Overlapping sliding window over an image using blockproc or im2col?

image,matlab,image-processing,image-segmentation,dct
I have to apply dct2 to small windows of my image, preferably by using an overlapping window. I have found out that there are two functions in Matlab that can make this possible blockproc and im2col. I am having trouble understanding either and would appreciate some clarification. blockproc can be...

Grayscale segmentation/feature extraction/blob detection?

matlab,image-processing,feature-detection,image-segmentation,feature-extraction
I'm trying to find a starting point, but I can't seem to find the right answer. I'd be very grateful for some guidance. I also don't know the proper terminology, hence the title. I took an image of a bag with a black background behind it. And I want to...

Image processing approach

python,image-processing,image-segmentation,imagej
In the following greyscale image,I am trying to identify the objects that I have manually labelled in red. Does anyone have suggestions of how to do this? I have attempted to use a gaussian blur and thresholding but cannot exclusively identify these particles. Would edge detection be a good approach?...

How to segment an image and display it in separate window using Matlab? [closed]

matlab,image-processing,image-segmentation
I'm working on counting the defected tablets in the given blisters. For that I need to segment the tablet blisters like the image. And then have to compare each segmented image with the original image which has been stored already in the DataBase. In the base paper for which I'm...