The starting point for a new state.
Questions tagged [threshold]
715 questions
0
votes
0 answers
AS3 BitmapData Threshold Bug
The BitmapData class has threshold method which allows to check how many pixels satisfy some condition (e.g. "<=",">","=="); but the method does not appear to work properly when alpha channel in the threshold is in range (0,FF), although it works on…

zavr
- 2,049
- 2
- 18
- 28
0
votes
1 answer
Import threshold_yen and threshold_isodata from skimage.filter
I am working with different threshold algorithms from SKimage, and when I go to import certain packages I get an error, but have no problem with others. For example:
from skimage.filter import threshold_adaptive, threshold_isodata
returns the…

rifkinni
- 21
- 5
0
votes
1 answer
OpenCV OTSU threshold removing text
When I do an OTSU threshold on this image it always takes erodes away the same text every time no matter the lighting conditions.
Here is how I am calling the method:
threshold(outImg_gray(boxRoi), outImg_binarized(boxRoi), 0, 255,…
user2780240
0
votes
0 answers
how to detect movement on an accelerometer with a variable absolute position
I would like to sample data from the x axis of an accelerometer using python, and once the movement has exceeded a threshold I want to activate an alarm.
The dilemma I have is the accelerometer is not always level, and I want to take this into…

Ossama
- 2,401
- 7
- 46
- 83
0
votes
1 answer
Practical image processing books - For the example of canny filter
I know there exist many many books about image processing but I need an advise for a particular good one giving practical hints for using the algorithms. I don't need background information about HOW an algorithm works, e.g. HoughTrafo or Canny…

tim
- 9,896
- 20
- 81
- 137
0
votes
1 answer
How do I set threshold to my EditText?
Let's say when the user starts typing into the EditText, the autocomplete doesn't appear until the user has typed say maybe 20 characters?
I've tried placing the following code into the layout XML file but it didn't…

Fuchsia
- 77
- 1
- 7
0
votes
0 answers
Binarize poor quality image
UPDATED QUESTION:
Is it possible to binarize this image? I have a list of image, exactly the same with this picture.
I want the image to have black and white value only.
UPDATE:
I tried to binarize and remove noises from my images, but this is what…

julianconcepcion
- 187
- 3
- 18
0
votes
1 answer
Android: how to get good high and low threshold for canny edge detection using opencv
i am using opencv library for image processing process in android. The problem is when i use canny function for image. This is my code of using canny:
Imgproc.Canny(ImageMat, ImageMat, 0.4, 0.5);
i use low threshold 0.4 and 0.5 for high threshold,…

gussurya_w
- 93
- 5
- 14
0
votes
1 answer
How to trigger an OpenNMS event with thresholds
it seems that it is not possible for me to trigger an event in OpenNMS using a threshold...
first the fact (as much detail as i can)
i want to monitor a html file, better, the content.
if a value is not what i expected OpenNMS should call be.
my…

callidusTaurus
- 80
- 9
0
votes
1 answer
Update violation threshold limits via Sonar REST API
In the project I am working we are using Sonar for code quality and test coverage. We have set the error thresholds to exactly the number violations we currently have and test coverage respectively.
Now I would like to use Sonar's REST API to update…

svaret
- 325
- 2
- 13
0
votes
1 answer
Selecting a subset of rows based on a flexible combination of columns meeting a strict criteria
I need help solving a data subsetting problem using R. Here is part of a data frame:
df <- read.table(text="
Name C1 C2 C3 C4 C5
Bill 0.006 0.003 0 0.002 0
Frank 0 0.333 0.23 0.12 0
Ted …

user2946125
- 3
- 1
0
votes
1 answer
R: Finding the nearest raster cell within a threshold calculated between two rasters
I have two perfectly overlapping rasters (same extents and cell size). For every cell in one raster (i.e. for every XY), I would like to determine the Euclidean geographical distance to the closest cell within a given threshold difference between…

David Roberts
- 617
- 1
- 11
- 23
0
votes
1 answer
find top n numeric cells in a cell array
Hi I have a cell array 2 x 1000. the first column holds numeric (double) values, the second holds a string. i would like the find all cells in the first column that are above a certain value, and bring back the corresponding cells in the second…

brucezepplin
- 9,202
- 26
- 76
- 129
0
votes
1 answer
How to identify timestamps (indices) of multiple threshold crossings in continuous data
From an audio stream vector in Matlab I am trying to identify the time of onset and finish of audible events that occur multiple times within the time series data.
I am very much a novice with Matlab, but I have written code which identifies the…

MKW
- 1
- 1
0
votes
1 answer
Is the threshold of Haar-feature is calculated by the only way, Viola-Jones described in their paper?
I am implementing Viola-Jones face detection algorithm and bit confused about haar-feature threshold. I am calculating the threshold of haar-feature using follow. steps:
a) Calculate the haar-feature value in all positive(face) images respective to…

user2766019
- 577
- 4
- 7
- 20