Questions tagged [threshold]

The starting point for a new state.

715 questions
0
votes
2 answers

How to run a formula until max or threshold value

I am searching for an answer to the question below. I am creating individual-level life tables in excel and only need the formula to run until a max possible age of 100. I am using the excel formula below. This, ($G7+I$6) represents age + time…
0
votes
0 answers

How to improve the CRF threshold for lane detection

I am using Conditional Random Fields (CRF) for multi- lane detection in bad weather. However the super markings generated create false positive curves on the output images. Secondly the EKF does not seem to perform tracking well on the generated…
0
votes
1 answer

how can we apply threshold effect on png image using php

I have some greyscaled png image or colorful images. i want to apply the threshold effect using php language. I am still looking for the solution.
0
votes
1 answer

From a one-hot representation to the labels

My predictions are under a tensor pred, and pred.shape is (4254, 10, 3). So we have 4254 matrices of dimension (10, 3). Let's take a look on one of those matrices. W = array([[0.04592975, 0.09632163, 0.85774857], [0.03408821, 0.27141285,…
fgauth
  • 143
  • 1
  • 8
0
votes
0 answers

Get Binary image usin histogram colour range in python

I want to get a binary image using threshold. In my histogram below 50 and above 150 want to set 0 and 50-150 range set as 255. how to do in python?
0
votes
1 answer

Matlab adding rgb to binary image side by side

I'm supposed to add another image next to my threshold image with its original color like so: expected image But I'm unsure how to do it having only achieving the binary image threshold on matlab. How do I show images side by side? my result clear…
Jason Tan
  • 1
  • 2
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
1 answer

Detect values greater than threshold in an array and store result in a binary(1/0) array using thrust

Given an input array and a threshold, I need to create an output binary array with 1's for values greater than threshold and 0's for values less than threshold. I need to use thrust. My attempt as below solves the problem but looks very clumsy. How…
user27665
  • 673
  • 7
  • 27
0
votes
2 answers

Use findpeaks function on a time series only if this time series eclipses another

I have a question regarding findpeaks. I want to use it to detect peaks in my signal time series (Signal 1). This works fine, but I also have surrogate data, serving as a threshold of significance, of equal length (Signal 2). I now want to use…
Tydur
  • 3
  • 5
0
votes
1 answer

How do i set different threshold to get multiple values for ROC plot

Below is the code I have written to build a SVM model. I am using ROCR package for plotting the ROC plot. library(e1071) library(caret) library(gplots) library(ROCR) inTraining <- createDataPartition(data$Class, p = .70, list = FALSE) training <-…
user1083096
  • 167
  • 6
  • 18
0
votes
1 answer

Scan a matrix and find the maximum value in Matlab between 2 ranges

I have a matrix in the form of a text file, I was hoping to scan it using MATLAB, and scan for the maximum value in between 2 points (1.5 and 2) and use that as a threshold. I wrote a code but it rerturned an error. [filename, pathname] =…
Matlaber
  • 35
  • 7
0
votes
1 answer

can we apply threshold to single component of color space model like RGB and LAB?

trying to apply the Otsu threshold to single component "L" of LAB color space. But I can not figure out, how to specify it in OpenCV syntactically.
vimansa
  • 1
  • 3
0
votes
1 answer

Email is not getting triggerred from Logstash - ELK stack

I want to trigger e-mail from logstash, when a event occurred more then a threshold limit. I have searched and got some suggestion to configure with Mertic, but I m not getting any e-mail. Here is my code below - what wrong I have done here..?…
Krish
  • 19
  • 1
  • 2
  • 7
0
votes
1 answer

How to increase score threshold in solr

I'm running the following select query to find a restaurant in a certain area using Solr: { "responseHeader":{ "status":0, "QTime":0, "params":{ "q":"name:\"Sushi Hiro\"", "pt":"51.048688,-114.0778858", "d":"0.2", "fl":"*,score", …
0
votes
0 answers

Using ROC value as a threshold in confusion matrix

Is it possible to use AUC value as a threshold to build the confusion matrix?