My question is about color tracking... What is the color threshold value for white in python ? I need to track the white color alone in a group of pictures. So I need to separate the white color. In order to do so I need to know the threshold value of white color...
What is the color threshold value for the white color?
1.8k Views Asked by Saravana Bhavan At
1
There are 1 best solutions below
Related Questions in COLORS
- X3DOM Inline Background skyColor
- Set Background Color on UIButton when Disabled?
- WPF text control with colors only
- Trying to make a random pixel in a bitmap a new color, but it is giving an error why
- background is not working properly
- LWJGL Drawing colored text to the screen issue
- Python: list of strings, change color of character if found (using xlsxwriter)
- How to plot colors on CIE 1931 Color Space in Matlab?
- Change all MenuItems ForeColor at once when click a button
- Selectioncolor doesn't work within KeyPress event
- Change color button in Kivy
- Matlab - Using symbols in gscatter
- Java replacing the background of an image
- Java JMapViewer: How can I change the color of a MapPolygon?
- How do I change symbol type colors on D3js?
Related Questions in THRESHOLD
- How to create rotated rectangular or polygonal ROI/mask?
- dynamic threshold values in highchart - arearange
- gamma distribution lower limit in R
- How to set up my own probabilistic threshold in random forest?
- log4j2 threshold for consoleappender
- Hashmap Capacity not increased even on reaching threshold
- R filter raster using focal() with threshold - defining correct function
- Adjusting image to select thresholded pixels as a ROI in a 8-bit image, using ImageJ
- Adaptive Threshold OpenCV IOS
- Applying Threshold to Matrix Within Cell Array
- Why my BGR2GRAY Mat returns a color blue in a basic threshold function? [OPENCV]
- Histogram of image not showing expected distribution
- set threshold for the probability result from decision tree
- How to make code coverage threshold on gitlab or in YAML
- Eliminate the values in the rows corresponding to a column which are zero in MATLAB
Related Questions in PHOTOGRAPHY
- Uploading pre-1970 photos to Google Photos
- Evaluating shutter speed in auto mode in Canon EOS DSLR
- How to programatically determine the center of a circle and crescent?
- Is there a Sharekit style plugin for sharing to Photo services?
- How to make photography mechanic in Unreal C++ integrated with Widget blueprints
- Tumblr exif : wrong focal length
- Long exposure camera - Software method
- Python program airnef not working on Canon 3000D
- Storing pictures on site or externally?
- How do I convert a 3D SBS dual-fisheye image to 3D SBS dual-equirectangular with only open-source tools?
- Building a community photography site, where can I store my photos online?
- Android method for automatically capturing photos and uploading them every X seconds
- Drupal Commerce - selling photography
- Python program Airnef stuck while downloading images
- Wordpress Website, page loading slows if I use a photo gallery plugin
Related Questions in COLOR-THEORY
- Is there a better than O(N^2) Algorithm to take a set of colors and return colors that contrast or are dissimilar?
- Munsell color space, CIE, and the mysterious 1.0257
- How to programmatically arrange a set of 256 RGB colors in 2D so that there all adjacent colours have a smooth transition
- How do I convert image colour temperature in a calibrated way?
- How to smoothly encode 2-dimensional location by colors
- Colorizing a table of items
- Color that is most contrast to a given set of colors?
- How Does White Balance Works Inside The Camera Itself When Manually Only A Single Pixel Color Selected To Correct Accordingly (White/Gray)
- Formula to Recompute Gradient Colors Based on Relative Difference Between Two Colors
- Converting an RGBW color to a standard RGB/HSB representation
- Calculating palettes from an initial color
- How to Judge if a Color is Green?
- How to implement the vivid light color blend in code?
- What is the color threshold value for the white color?
- How to tell if a color is imaginary/impossible?
Related Questions in COLOR-TRACKING
- Track by color with kinect and c#
- How to find RGB/HSV color parameters for color tracking?
- Silverlight 4 Motion and Color Tracking using Webcam
- OpenCV Python single (rather than multiple) blob tracking?
- What is the color threshold value for the white color?
- issue of the recognize people by their clothes color with not severe illumination environments
- how to get the min a contour of the color with HSV?
- mouse control with color tracking (osx+opencv+xcode)
- Colored Object Tracking Code
- matlab: color object tracking and position from video
- opencv cap.read has an Attribute error. How to troubleshoot?
- AForge, ColorTracking multiple Objects
- Use tracking.js on node.js
- Need to track down specific color line and get coordinates
- Actionscript 3 webcam color tracking
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
It depends on your pictures. Assuming that you're going to threshold using the RGB values, the RGB value for white is (255, 255, 255). But this value holds true for pure white color. If you have real-world pictures, you might have clearly white color at certain areas in your image but they wouldn't have the value (225, 255, 255). Factors like the shadow, lighting conditions, angle etc. contribute to the variance from pure white color value.
In order to threshold correctly, you need to check the range of values for your set of pictures. I recently worked on a similar problem and for my case, the range of values was as follows:
But please note that this accepts a lot of variation of white like light yellow. It will highly depend on your case so make sure you check the range on your data.
One way of that can be by displaying/showing your image using skimage and then hovering over white areas, it will display the RGB value on the bottom right corner of the image. Here is the code for showing an image in skimage:
You can create a range of values/threshold from the values you notice this way.