Questions tagged [adaptive-threshold]

80 questions
0
votes
1 answer

Adaptive thresholding handling for big black letters

I have a document that has both very big and very small letters and I'm applying adaptive thresholding to it. cvtColor(mbgra, dst, CV_BGR2GRAY); GaussianBlur(dst, dst, Size(11, 11), 0); adaptiveThreshold(dst, dst, 255, ADAPTIVE_THRESH_GAUSSIAN_C,…
0
votes
1 answer

Transfer auto-threshold moments method from Image J to Python

I would like to transfer my image processing from Image J (Fiji) to Python. In Image J, I split the image into HSB, then use the Moments Auto-threshold on the B channel. On Python, I wish to have the value of the threshold t from which the…
0
votes
0 answers

How to threshold a grayscale image with lighting and noise

I am trying to threshold images with challenging noise. . The numbers on the side are the dimensions. I have tried various standard methods: ret,thresh1 = cv2.threshold(img,95,255,0) #cv2.THRESH_BINARY thresh2 =…
0
votes
1 answer

Optimize threshold to always be a particular value of the sensitivity/true positive rate

How can I code in r for the threshold of a predictive model to automatically be a value such that the sensitivity is a particular proportion/value for all runs of the model? For example, given the following scenarios: At threshold of 0.2; True…
Mikee
  • 783
  • 1
  • 6
  • 18
0
votes
1 answer

adaptiveThreshold getting blank (full white) image

I want to apply adaptiveThreshold using open cv library to my bitmap image, but once i do with following code, it shows blank (full white) image, please help me to resolve it. following is code: Mat grayMat = imread(getImageUri(this,…
0
votes
1 answer

How to identify the black dot in the image

I did adaptive thresholding with java OpenCV to identify the black dot which is in the image. However I failed to do that.My codes are as follows. When I was following the code which I wrote in here, the code unable to detect the black dot. /* *…
0
votes
0 answers

Adaptive Threshold output unclear

I have the following code and when I try to perform closing on the threshold image, it looks worse and doesn't remove the pepper noise. What is the output of an adaptive threshold? and how can I convert this back into a usable format so that closing…
0
votes
1 answer

Get darker lines of an image using opencv

How can we remove lighter lines of an image and get only darker lines? There is a sudoku game in the following image (taken from here). Adaptive Gaussian Thresholding gives really good result but it includes gray (lighter) lines too. Note: I tried…
Ricardo Cristian Ramirez
  • 1,194
  • 3
  • 20
  • 42
0
votes
1 answer

How to use Emugu CV for Adaptive Gaussian Thresholding of an image?

I was going through the documentation of Emugu CV but could not find which thing to use. Can someone show me some examples on how to use it for adaptive gaussian thresholding ?
bazzi
  • 559
  • 1
  • 8
  • 23
0
votes
1 answer

image binarization using newer Algorithms in opencv

I wanted to binarize low quality images and found that the existing solutions or programs which are implementations of global and local binarization techniques such as Sauvola’s method, NiBlack's method etc are not off much use. I did find a few…
Akshay Pai
  • 11
  • 3
0
votes
1 answer

Thresholding an RGB image

We have an RGB image. I want to apply adaptive thresholding on it. How can we find the threshold value??? I think we can separately find the threshold value of each channel but what next is the confusion?? or if you can provide some better solution…
0
votes
1 answer

Highcharts variable threshold

Is it possible to set a threshold that changes across the series? like the picture attached? I already went through this link ( http://api.highcharts.com/highcharts )and couldn't find anything similar, only static thresholds. Thanks in advance
0
votes
0 answers

How do I threshold this Image correctly?

I'm trying to threshold this image to get the characters more visible. I've used OTSU threshold but I don't get good results because when I convert the image to gray it is difficult to find a good threshold value. Would you please give me some…
0
votes
0 answers

Binarize poor quality image

UPDATED QUESTION: Is it possible to binarize this image? I have a list of image, exactly the same with this picture. I want the image to have black and white value only. UPDATE: I tried to binarize and remove noises from my images, but this is what…
julianconcepcion
  • 187
  • 3
  • 18
0
votes
1 answer

Thresholding for tiff stack looks at entire stack instead of individual tiff image

I have a tiff stack (b/w) and when I open individual images from the stack in imageJ, the contrast is perfect, however, when i open the entire stack (image sequence of moving things), the contrast is terrible for the end slides (where fluorescence…
ingrid
  • 555
  • 4
  • 17