Questions tagged [threshold]

The starting point for a new state.

715 questions
0
votes
1 answer

How to read digits from some images using Python

I have some pics from which I want to read digits. I used pytesseract as well as cv2 threshold. import cv2 import pytesseract pytesseract.pytesseract.tesseract_cmd = r"C:\Program Files\Tesseract-OCR\tesseract.exe" crop =…
0
votes
0 answers

opencv Threshold Truncate works as if it is inverted

I have noticed sth strange about cv.THRESH_TRUNC. Normally, this function should work like this: threshold : if src(x,y) > thresh otherwise : src(x,y) But in my code and in this tutorial…
0
votes
0 answers

Using rle() function in R for multiple conditions

I have the following data set. dput(s1[1:10,]) structure(list(V1 = c(1, 1, 1, 5, 5, 2, 2, 3, 1, 1), V2 = c(0, 0.55, 0.9, 3.125, 5, 19.96666667, 12.25, 35.15, 5.4, 58.58)), na.action = structure(260:270, .Names = c("260", "261", "262", "263",…
Lyndz
  • 347
  • 1
  • 13
  • 30
0
votes
0 answers

threshold a region in the iamge only when the region is larger than 10 pixels

How should I threshold (denoise) the image that has multiple regions with white regions. I have make make the white religions all 1s, but I want only the regions that is at least 10 pixels (or I think some number of pixels connected ) as 1s, and…
March2020
  • 13
  • 4
0
votes
2 answers

How do I create a function that defines a moving threshold along local maxima in R?

The goal is to quantify a certain growth. The definition is as follows: Every value in the sequence shall be compared to the preceding value and if the following value is greater than the preceding one, it shall be taken into regard (returned). If…
Eggimoney
  • 5
  • 3
0
votes
1 answer

qplot: Only graphing nodes below a threshold

I am trying to make a visual graph of a dissimilarity matrix. Using this site, I ran into the qgraph function from the package qgraph. Using the threshold flag, I am able to remove edges from my network above the supplied numerical value. This works…
Purrsia
  • 712
  • 5
  • 18
0
votes
2 answers

How to apply for loop with ddply function?

I want to calculate the number of days in each month with rainfall >= 2.5 mm for every column. I was able to calculate it for a single column after taking help from this post like require(seas) library (zoo) data(mscdata) dat.int <- (mksub(mscdata,…
UseR10085
  • 7,120
  • 3
  • 24
  • 54
0
votes
1 answer

Unable to set xticks for selecting appropriate cut-off threshold

During the model evaluation phase, I observed that my model predicted values in the range of 30.309 - 59.556. I wanted to set a threshold so that I can say the values greater than that threshold are correct else incorrect. I set the different…
Ali R. Memon
  • 121
  • 1
  • 1
  • 12
0
votes
0 answers

binarization of a stack of image by one threshold

I am going to binarize all my images in a stack with a threshold number e.g. 1200 for all of my images.However, I could not find it. The features that are available maintain different values for different images. Does anybody can help me about it…
Shalen
  • 95
  • 6
0
votes
1 answer

getting Error When I trying to Update CRM 2013SP1 to CRM 2015

I'm trying to do a CRM migration: CRM 2011 -> CRM2013SP1 -> CRM 2015 -> CRM2016 everything worked well with the CRM migration from 2011 to 2013 SP1, but with the 2013 SP1 to CRM 2015 I get this error message, could I get some help... : enter image…
0
votes
0 answers

How to get optimal cutoff values for two variables with linear programming

I am trying to use the simplex algorithm to determine the optimal values of two variables to target most appealing persons with a marketing campaign. The variables are individual treatment effects (as an output from a predictive model) and…
0
votes
2 answers

Unable to fetch item in SharePoint List (threshold > 5000 ) through CSOM

I am trying to create a Windows Form for populating the information from SharePoint List into Windows Form. However, when I am trying to fetch the item from the list, it throws me an error message An unhandled exception of type…
0
votes
1 answer

Set a minimum threshold among the elements of a list in python

Suppose that I want to create a list consisting of thousands of elements (float numbers). I want to set a minimum threshold among all of the items. So in each step, I want to append an element (float number) to the list and I want to check if the…
SNS
  • 13
  • 2
0
votes
0 answers

Creating a List of Event Counts

I am trying to loop through my data and for every time a threshold is exceeded, i want to rasie a flag and count it. At the end i want an output of a data frame having those rows that were flagged and their corresponding information I have gotten…
0
votes
0 answers

Can't get any Workflow from a Threshold List

I have created a script which works fine if a list is not threshold. Provided below is my script: Foreach($ListItem in $List){ #Get workflows and its properties and traversing each item $WorkflowInstance = Get-PnPWorkflowInstance -List…
MaakuD
  • 15
  • 7