Questions tagged [threshold]

The starting point for a new state.

715 questions
0
votes
1 answer

Query by example images after training in a SVM on Scikit learn python module

When I execute a SVM with a training set and a validation set i check results with a confusion matrix, and all is good. After that, how can i implement a system "query by example": i give a picture and return most similar image in an image set (…
postgres
  • 2,242
  • 5
  • 34
  • 50
0
votes
1 answer

Minimum threshold in Matlab Canny edge detector

Matlab Version : 7.8.0(R2009a) I am using Canny edge detector in Matlab to find the edges, But for my problem, I need some X amount of edges. I need more no. of edges then it is returned by setting threshold as 0. For example in the below image :…
Mangat Rai Modi
  • 5,397
  • 8
  • 45
  • 75
0
votes
1 answer

CG shader threshold function

Is there some builtin fragment function in CG that allows me to compute the following without conditionals? y = x>bias?1.0f:0.0f;
matthias_buehlmann
  • 4,641
  • 6
  • 34
  • 76
0
votes
1 answer

Efficient data structure for quality threshold clustering algorithm

I'm trying to implement the quality threshold clustering algorithm. The outline of it (taken from here) is listed below: Initialize the threshold distance allowed for clusters and the minimum cluster size Build a candidate cluster for each data…
0
votes
1 answer

Java - Make Plot Points, Near Linear - Exactly Linear

How would I go about changing points that are 'near' linear (within a threshold), actually linear? I have some code that checks if 3 points are linear to one another (give or take), and I want to replace those coordinates with new ones that are 100%…
Oliver Jones
  • 1,420
  • 7
  • 27
  • 43
0
votes
1 answer

how to call parts of lists in a given range

I have a problem that requires me to take in a users input and return all items of that value or higher than that value up to 100 im asking the user what grades he wants to see from a set of data that i have. So i will have the user input a grade…
spenman
  • 653
  • 3
  • 7
  • 11
0
votes
1 answer

Threshold image with trackbar

I am trying to set the threshold of an image at runtime. Currently my code looks like: ImageAttributes imageAttr = new ImageAttributes(); imageAttr.SetThreshold(kryptonTrackBar1.Value / 100); System.Drawing.Bitmap bmp = new…
Euro2012
  • 3
  • 2
0
votes
1 answer

opencvsharp Cv.Threshold returns void even for ThresholdType.Otsu

So I have used cvThreshold in the C++ version of OpenCV and when using CV_THRESHOLD_OTSU, i get a double as a return showing me what the threshold used was. In OpenCVSharp, the function is defined returning void only. Is it that i'm misusing it or…
Denis
  • 664
  • 9
  • 24
-1
votes
3 answers

Best thresholding technique for seperate a ECG graph from ECG grid?

There are two type of image thresholding techniques. 1.adaptive thresholding 2.Global thresholding what is the best algorithm we can use to seperate a ECG line from ECG grid?
user1150071
  • 285
  • 1
  • 2
  • 9
-1
votes
0 answers

please share the threshold suggestion for MySQL database

Could you please share the threshold value suggestions for Mysql database. I'm trying to monitor a Mysql database, but I don't know whcih metric should be monitored and their thresholds. Kindly help on this topic. Thank you! I don't know where to…
snow
  • 1
-1
votes
1 answer

Deleting key:value pairs in a list with value over a certain threshold

I´m stuck (as usual) and can't find a working solution om my problem. I´m new into this. I have a list like myList {'00:00': 24.3, '01:00': 31.22, '02:00': 30.69, '03:00': 30.16, '04:00': 31.04, '05:00': **153.48**, '06:00': **140.48**, '07:00':…
-1
votes
1 answer

How to find the length of the contour selected with area in python?

I am new to OpenCV. I have two questions to ask. I am trying to print the no of contours available after applying the area. I am getting the correct output in imshow but not in the print statement. I understood that print(len(contours)) gives the…
Sharmila
  • 1
  • 1
-1
votes
1 answer

searching Threshold Algorithm

I am currently working on a project. I have to separate the elements of the images I have got. On the first image you see the histogram of one of them. I want to calculate the threshold but I can't find a method of calculating the threshold that…
cedrik24
  • 31
  • 7
-1
votes
1 answer

opencv threshold problem for finding diff images

I have 2 images like below. I want to have differences two of them. I tried some codes with threshold. But no threshold different. two images threshold image is all black. How can I make differences are with color white on thresh? (the difference is…
nec
  • 51
  • 1
  • 8
-1
votes
1 answer

Threshold SQL Table

I have a screenshot of a GUI and need to make it into a SQL table. What would be the best way of going about this?
1122335
  • 45
  • 1
  • 11