Questions tagged [image-thresholding]

To be used with regards to converting any image to a binary image having two values 0 and 1. It is a simple elementary image segmentation step.

For details on various methods used visit THIS WIKI PAGE

189 questions
1
vote
1 answer

Hand segmentation using Depth thresholding

I want to segment hand from a depth image using depth thresholding. I used this kinect and leap dataset from this link- http://lttm.dei.unipd.it/downloads/gesture/ I tried these 2 codes, but the output I got is total black image in both the cases.…
0
votes
0 answers

Which thresholding method and corresponding parameter values would be suitable to binarize these images?

Firstly, I think Gaussian thresholding to be the suitable choice to binarize these images based on what I've read, that they are "useful for images with variable lightning conditions". If you think some other method is more suitable please let me…
0
votes
0 answers

Sauvola local image thresholding

How to apply Sauvola local image thresholding by MATLAB? I downloded the File Exchange contribution: https://www.mathworks.com/matlabcentral/fileexchange/40266-sauvola-local-image-thresholding?tab=reviews%2F2147193 But I don’t know how to use…
0
votes
1 answer

How to Apply threshold operator to highlight the largest object

I want to know how to apply threshold operator to highlight the largest object, which is the 3rd column of my output. Using this code I am going to compare 3 images using np.hstack(). img_hubble is the original image, dst is the blurred…
0
votes
1 answer

How to adjust thresholding parameters to mask an image in OpenCV?

I am trying to do some preprocessing on this image by creating a mask to separate the foreground from the background. The problem is when I use thresholding, it masks some of the background and im could not find any solution to improve this. As it…
0
votes
1 answer

Stein's Unbiased Risk Estimate (SURE) threshold calculation (Wavelets)

I want to perform wavelaet threshold processing on 1d signal using pywavelets. I wrote this code to find argmin of risk like it mentioned here (https://cdn.intechopen.com/pdfs/34936/InTech-Wavelet_denoising.pdf) to calculate SURE threshold, because…
0
votes
0 answers

Counting bacterial colonies on a Petri dish: blob and blob cluster detection on a heterogenous surface

I have a task of identifying the number of bacterial colonies on a relatively diverse set of top-down photos of a Petri dish located on a table. The basic process is the following: detect the Petri dish on the image, crop everything outside of…
0
votes
0 answers

Why is my threshold yen and remove small holes and objects not working (im not getting errors) when trying to do it on an image?

import matplotlib.pyplot as plt import pandas as pd from skimage import io, morphology, segmentation from PIL import Image from skimage.color import rgb2gray from scipy.ndimage import gaussian_filter from skimage.filters import threshold_yen import…
0
votes
0 answers

Thresholding an HSV image using its histogram

I'm doing a task in which i need to convert RGB image into an HSV image. But I only assign valid values to hue and saturation if the corresponding intensity is above a minimum value. Similarly I only assigned a valid value if the corresponding…
0
votes
1 answer

suggest appropiate background substraction method

I am performing outer edge detection for droplets of this image.The problem is that the image is having uneven illumination.Hence background substraction is not working properly.please help.Thanks Frame= cv2.rotate(Frame,…
0
votes
1 answer

Skewing text - How to take advantage of existing edges

I have the following JPG image. If I want to find the edges where the white page meets the black background. So I can rotate the contents a few degrees clockwise. My aim is to straighten the text for using with Tesseract OCR conversion. I don't see…
Dave
  • 687
  • 7
  • 15
0
votes
0 answers

How to avoid the MinAreaRec plot for the whole canvas of window?

So, I am trying to measure the line (check the attached code and result), the problem is when creating the boxplot points to measure the line it also creating boxplot points of the whole canvas of window no matter the image or thresholding value is.…
0
votes
1 answer

How to fill the gap created after thresholding the image?

I'm trying to segment the hand out of the image using OpenCV python. One of the images contains a ring on one of the fingers as shown here After thresholding I get this result: How can I reconnect the finger after thresholding?
0
votes
0 answers

Image recognition difficulties with OCR - reading numbers from a picture

I am trying to develop a python script which can read numbers from pictures, to be more exact I am trying to get the gas consumption. The numbers' locations are always the same. There are two "types" of pics, bright and dark. (I am taking photos…
0
votes
2 answers

Masking problems in 6 digit recognition using OpenCV with lighted meter

I am trying to recognize six digits from a meter using python-OpenCV. It's surprising how incredibly hard it is to set morphological operations working in the right way, given the time I have spent adjusting the focus/distance of my raspberry pi…
Ajned
  • 523
  • 5
  • 21