Questions tagged [threshold]

The starting point for a new state.

715 questions
6
votes
3 answers

Detect the vein pattern in leaves?

My aim is to detect the vein pattern in leaves which characterize various species of plants I have already done the following: Original image: After Adaptive thresholding: However the veins aren't that clear and get distorted , Is there any way…
vini
  • 4,657
  • 24
  • 82
  • 170
6
votes
1 answer

Delete 90% of random rows by condition pandas

I have a pandas dataframe and want to delete 90% of data which satisfies condition. The condition is very simple. If the value of the column "Parameter1" is greater than a threshold, then delete it. My question is how to delete 90% of them, not 90%…
cuga
  • 123
  • 1
  • 8
6
votes
2 answers

How to calculate the total time duration of concentration crossing a threshold multiple times?

Using R, I am trying to calculate the total time duration for each individual where this time duration is the time spent above certain threshold. For example, in the plot below I have the concentration data for 3 subjects (ID), and I would like to…
Malek Ik
  • 101
  • 11
6
votes
1 answer

vertical line in histogram with pyplot

i've computed an Otsu's thresholding for a kinect depth image and now i want point out the optimal thresholding value on the histogram, using for example axvline with pyplot in opencv2. I'm a beginner with python and programming too, this is the…
Giulio
  • 83
  • 1
  • 2
  • 7
6
votes
2 answers

How do I define color groups based on numerical threshold values for ggplot2 scatterplot

I have a data set that contains 2 variables x = event number & y = assay amplitude. I am trying to create a scatterplot in ggplot2 where all of the points that are > 3000 are colored in one color and all of the points < 3000 are in a different…
user3502134
  • 63
  • 1
  • 4
6
votes
3 answers

Android Real Time Black-White Threshold Image

I have a code that turns a bitmap that has the grey colors into a bitmap of black and white colors, using this code: // scan through all pixels for (int x = 0; x < width; ++x) { …
TiagoM
  • 3,458
  • 4
  • 42
  • 83
6
votes
4 answers

Two different thresholds in HighCharts 3.0

With HighCharts 3.0, it is now possible to indicate to colors above and below one threshold. Like this example : http://jsfiddle.net/highcharts/YWVHx/ Following code : $(function () { …
Thordax
  • 1,673
  • 4
  • 28
  • 54
6
votes
2 answers

Android: Adaptive Thresholding

I'm trying to implement adaptive thresholding algorithm by Derek Bradley using Android. But it is returning black pixels all the time. Here is my code snippet. Please suggest me about what should I do. Thanks in advance. public static Bitmap…
Moyeen
  • 469
  • 2
  • 8
  • 17
6
votes
3 answers

Sharepoint: The view cannot be displayed because the number of lookup and workflow columns it contains exceeds the threshold (8)

I have following problem with my Sharepoint website. (The view cannot be displayed because the number of lookup and workflow columns it contains exceeds the threshold (8) enforced by the administrator) but any solution I have found online points me…
Eugene Rowe
  • 93
  • 1
  • 2
  • 5
6
votes
1 answer

How to solve ODEs with an internal threshold?

I have the following function containing some odes: myfunction <- function(t, state, parameters) { with(as.list(c(state, parameters)),{ if (X>20) { # this is an internal threshold! Y <- 35000 dY <- 0 …
Claudia
  • 996
  • 1
  • 10
  • 27
5
votes
2 answers

What should be the ideal thresholding technique for enhancing parts of the image?

What thresholding techique should i apply for the image in order to highlight the bright regions inside the image as well as the outer boundary.. The im2bw function does not give a good result Help!! Edit: Most of my images have the following…
vini
  • 4,657
  • 24
  • 82
  • 170
5
votes
1 answer

What is the main difference between rootMargin & threshold in Intersection Observer API?

As I learned that once you have set rootMargin:"0px", it means that the effect will be produced when the element you have selected has been completed visible on screen and have 0px of margin with respect to the viewport or any relative. In threshold…
Ibad Shaikh
  • 2,704
  • 3
  • 15
  • 27
5
votes
1 answer

What is the purpose of ignore_thresh and truth_thresh in the YOLO layers in yolov3.cfg?

I am attempting to explain the purposes of different parameters in the yolov3.cfg file, however, I can't find any explanation for ignore_thresh and truth_thresh. My current (limited) understanding is that they are either related to non-max…
Jonas
  • 137
  • 2
  • 10
5
votes
0 answers

How to make code coverage threshold on gitlab or in YAML

I've configured CI on gitlab but now I need to configure code coverage threshold. How can I do this? Is is possible to configure it using gitlab or I need to write python script for it? I've checked yaml file attributes and I haven't found it. Could…
Serg Shapoval
  • 707
  • 1
  • 11
  • 39
5
votes
2 answers

Set every pixel of a Mat to a certain value, if it´s lower than a value?

Im trying to do the following in OpenCV. How can I set every pixel of a Mat to a certain value, if it´s lower than a value? So I want to do something like the threshold, but not quite, as I don't want to touch pixels above the given threshold. For…
J.J
  • 99
  • 1
  • 4
1 2
3
47 48