The starting point for a new state.
Questions tagged [threshold]
715 questions
0
votes
1 answer
Why I can't do threshold opencv for skin segmentation provementin my android project?
I am doing final project about hand gesture recognition real time using android and opencv. I'm doing skin segmentation on it, by convert picture from camera frame (RGB) to YCrCb color and get the Cr and Cb value (range) from rectangle that is…

ichaka
- 37
- 3
0
votes
1 answer
Difficulty understanding using Threshold for Facial Recognition
This is an understanding based question for using a threshold approach for facial recognition. I understand in laymans terms how we can identify faces with threshold using the following steps:
Form eigenspace using top k eigenfaces
Project Training…

user2768498
- 155
- 1
- 2
- 9
0
votes
0 answers
Opencv Python: Get coordinates for two different coloured objects
I am trying to get the coordinates for two different coloured objects using opencv. I have researched it and come up with this code, but I am confused as to how to put bounding boxes, or get coordinates for the two largest objects of the two…

chromebookbob
- 193
- 1
- 3
- 8
0
votes
1 answer
MATLAB adaptive thresholding super slow
So I have a bunch of code thats been taking about a minute to run, traced it to the adaptive thresholding, one line in particular. Any suggestions as to how to speed this up or any explanation as to why this is unavoidable?..the "mIM=medfilt2(IM,[ws…

user3470496
- 141
- 7
- 33
0
votes
0 answers
paired-end reads merger (CASPER) fails
i'm merging Illumina paired-end reads with CASPER. For some reason it works for some files and doesn't for others. The terminal print "killed:9". 9 is the return value of os.system (i'm using python). I know CASPER stops merging if :
too many…
0
votes
3 answers
for loop to find threshold values between different data frames
I have 2 data frame with some matching columns (pollutants).
The first data frame contains the observations while the second one contains different thresholds for some pollutants.
Here a small subset of both data…

matteo
- 4,683
- 9
- 41
- 77
0
votes
0 answers
Python Apply Image Threshold on Block Size?
I have a 2D array as shown below:
[[118 127 133 ..., 213 211 211]
[125 128 130 ..., 213 213 213]
[119 124 130 ..., 214 213 213]
...,
[ 36 54 44 ..., 109 101 101]
[ 37 52 47 ..., 112 101 101]
[ 39 50 51 ..., 104 99 99]]
I need to apply…

Pete
- 754
- 2
- 13
- 27
0
votes
1 answer
Flash AS3 get bitmapdata region without transparent pixels
I have a pictures of goods. There is a white border around some images. White color is not uniform and has some shades (poor quality etc.). I need to cut this border. To remove white color I use:
bd.threshold(bd, rect, pt, ">", threshold, color,…

fresh-flash
- 50
- 7
0
votes
1 answer
OpenCV: threshold operation with unexpected result
I read a white picture using OpenCV:
I apply this threshold over it:
import cv2
# Read image
src = cv2.imread("threshold.png", cv2.CV_LOAD_IMAGE_GRAYSCALE)
# Set threshold and maxValue
thresh = 0
maxValue = 255
# Basic threshold…
user4584333
0
votes
1 answer
How to find maximum pixel intensity of the two regions obtained after finding the threshold of the image
We are working on DIP project where we found out the threshold of the gray scale image. Now we have to * find the maximum intensity of the two regions that we got, one region whose pixels are less than the threshold and the other whose pixels are…

Scooby
- 1
- 2
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…

cabeto14
- 43
- 6
0
votes
1 answer
Populate select fields on change with jquery and json depending on threshold values
I'm trying to use jQuery to populate four select fields dinamically parsing a fourlevel json array for a webshop depending on threshold values.
I hope someone could help how to dinamically change the selects only if the given value is bigger than…

Tamas
- 3
- 2
0
votes
1 answer
How can I invert the thresholded image by using pygame?
I can't find the true approach in order to invert the result image. I tried to use inverse=True argument inside pygame.transform.threshold method but it results in errors. In other words, I need to take inverse threshold.
def threshold_image(self,…

oğul can
- 3
- 1
0
votes
1 answer
Adjusting image to select thresholded pixels as a ROI in a 8-bit image, using ImageJ
When analysing an RGB colour image, I use a threshold (Image > Adjust > Threshold...) to set my desired gates for brightness, and choose 'Select' in order to select the thresholded pixels as a ROI. I can then simply use Analyse > Measure to gain…

jogall
- 651
- 6
- 21
0
votes
1 answer
properly combining merge sort and insertion sort in c++
This implementation works reasonably quickly when threshold is set to 0 and it never uses insertion sort, however when i set threshold to seemingly any size 2 or greater it runs at the same speed as just insertion sort. Both sorting functions sort…

user 2345243512
- 27
- 1
- 4