The starting point for a new state.
Questions tagged [threshold]
715 questions
0
votes
2 answers
openlayers 3 set sensitivity on drag map
I'm trying to set a limit pixel before that ol3 consider a click event to move event with the code see bellow. I'm doing something wrong because with my code the map isn't draggable anymore.
window.app = {};
app.Drag = function() {
…

Slayes
- 395
- 1
- 5
- 15
0
votes
0 answers
R: length of 'dimnames' [2] not equal to array extent
I am trying to run a threshold autoregressive model in "r" with the tsDyn package.
I have run the following command in "r":
Tar <- TVAR(spread, lag=1, include = c("both"), model = ("TAR"), thDelay = 1, trim=0.1, mTh = 1, plot=TRUE)
and i get the…
0
votes
2 answers
SQL Server episode identification
I am working with a blood pressure database in SQL Server which contains patient_id, timestamp (per minute) and systolicBloodPressure.
My goals are to find:
the number of episodes in which a patient is under a certain blood pressure threshold
An…

Koot6133
- 1,428
- 15
- 26
0
votes
0 answers
How to know the White/Black amount in thresholded image in javascript
I have a frame, and apply it a grayscale and a thresold function, so I finally get an image in black and white.
How could I know the black or white color amount? Any javascript function to do so? I prefer not to include any extra libraries for that…

AlexAcc
- 601
- 2
- 10
- 28
0
votes
2 answers
How do I create a threshold of an image?
It is my understanding that thresholding is a step function meaning that pixel values are rounded off at each step. E.g. pixel value 33 would be rounded to 32(assuming there's a threshold of 32). In my code i am trying to accomplish thresholding but…

Micheal C.
- 101
- 3
- 11
0
votes
1 answer
How to handle large variation in Hue while threshold using its rangle
I wanted to binarize a color image in HSV color space using inRange function of opencv.
I found that with some RGB values, hue value drastically changes. For e.g.
1) RGB Value: 56, 40, 39 Its HSV Value: 2, 77, 56
2) RGB Value: 56, 40, 41 …

Pranay Soni
- 1
- 2
0
votes
1 answer
Area and second estimation from pandas graph
My x-axis data contain time in dd-mm-yy hr:min:ss with 15 minutes intervals e.g. 01/01/2010 00:00:00...01/01/2010 00:15:00 etc. The y-axis contain the corresponding signals. I would like to calculate the area above threshold values (in this case…

saltymisty73
- 39
- 5
0
votes
1 answer
How to set up my own probabilistic threshold in random forest?
I use python to run the random forest on an imbalanced dataset with binary target class. I wanna change the default probabilistic threshold 0.5 to another value to raise the recall and precision. I cannot find so far any defined method or class…

LUSAQX
- 377
- 2
- 6
- 19
0
votes
1 answer
dynamic threshold values in highchart - arearange
I have a highchart of type "arearange" line, such like
http://jsfiddle.net/gh/get/jquery/3.1.1/highslide-software/highcharts.com/tree/master/samples/highcharts/demo/arearange-line/
I want to use negative color for line, whenever the line is going…

user2000189
- 479
- 4
- 6
- 22
0
votes
0 answers
Best way to optimize result from 'Niblack' thresholding in MATLAB?
I have implemented Niblack thresholding onto an image in MATLAB (R2014B) as such:
function [ ] = processing_local( )
x = imread('HW8.png');
% Resize the image.
size(x);
x = imresize(x,[500 800]);
figure;
imshow(x);
…

Jay
- 49
- 1
- 8
0
votes
1 answer
Detect black ink blob on paper - Opencv Android
I'm new to openCV, I've been getting into the samples provided for Android.
My goals is to detect color-blobs so I started with color-blob-detection sample.
I'm converting color image to grayscale and then thresholding using a binary threshold.
The…

sebasira
- 1,739
- 1
- 22
- 41
0
votes
0 answers
Local Sauvola Implementation in Matlab
I am kind of new to Matlab and trying to implement Local Sauvola Image Thresholding Algorithm. But I am getting a complete white output as result. This is my code;
function sauvola(axFiltered)
global imgGray;
global imgFiltered;
k = 0.5;
R = 128;
n…

Hakan Ali Yasdi
- 105
- 1
- 4
- 14
0
votes
2 answers
Threshold for BayesShrink
I used a Function to calculate Threshold for BayesShrink. Normally the result of the Threshold gives me one value.when I use an image with size 128*128, the code work, but my image has a size of 380*992. the result gives me a Matrix oh threshold…

hajer
- 11
- 6
0
votes
2 answers
using im2bw in iterations with high amount of images
i am working extracting data from images using Matlab, i use the function im2bw in gray images for use later bwlabel but the threshold doesn't work in all images, by that the images gain noise and the data obtained isn't representative.
How i can…

JVidal
- 3
- 6
0
votes
1 answer
Automatic detection of B/W image against colored background. What should I do when local thresholding doesn't work?
I have an image which consists of a black and white document against a heterogeneous colored background. I need to automatically detect the document in my image.
I have tried Otsu's method and a Local Thresholding method, but neither were…

chennu
- 3
- 1
- 3