Color Statistics
The Geometric Statistics module adds a couple of image statistic variables centered around image geometry. These variables can then be used elsewhere in RoboRealm, for example in the conditional statement, VBScript module or exported to external programs using RoboRealm Plugins.
Interface
1. Scope - Click on the appropriate radio button to select if you want the statistics to be generated from the entire image or from an individual blob. If you select individual blobs non-black pixels in the current image will be used to form blobs. To see the statistics for an individual blob click on the blob within the main RoboRealm GUI window. That will switch the variable(x) denotation to that particular blob.
2. Pixel Source - If you need to group pixels of different colors into a blobs threshold or otherwise segment the current image BEFORE using this module and then select the "source" image as the image that contains the actual pixel values. This allows the module to segment blobs (of the same thresholded color) but then use the actual pixel values across that blob to determine the statistics.
Without this functionality the module would not be able to segment the current image correctly into individual blobs and end up generating hundreds of individual pixel blobs as a blob is defined as a collection of pixels with the SAME color/intensity.
3. Statistics - The module can produce many statistical numbers based on the current image. To reduce CPU load for those applications that only require some basic numbers you can select Basic Statistics that will produce a subset of Advanced Statistics that are faster to compute.
Variables
UNIQUE_COLORS - Number of unique colors in the current image
MODE_COLOR_R
MODE_COLOR_G
MODE_COLOR_B - The dominant color or the color which has the most number of pixels.
MODE_COLOR_COUNT - The number of pixels that are of the dominant color
MIN_COLOR_R
MIN_COLOR_G
MIN_COLOR_B - the minimum color or rgb of darkest pixel
MAX_COLOR_R
MAX_COLOR_G
MAX_COLOR_B - the maximum color or rgb of brightest pixel
MIN_COLOR_CHANNEL_R
MIN_COLOR_CHANNEL_G
MIN_COLOR_CHANNEL_B - the minimum value of the specific color channel
MAX_COLOR_CHANNEL_R
MAX_COLOR_CHANNEL_G
MAX_COLOR_CHANNEL_B - the maximum value of the specific color channel
COLOR_RANGE_R
COLOR_RANGE_G
COLOR_RANGE_B - maximum color minus minimum color (MAX_COLOR_CHANNEL - MIN_COLOR_CHANNEL)
STD_COLOR_R
STD_COLOR_G
STD_COLOR_B - standard deviation of colors
SUM_R
SUM_G
SUM_B
SUM_I - the pixel value summation of the specific color channel
NORMALIZED_SUM_R
NORMALIZED_SUM_G
NORMALIZED_SUM_B
NORMALIZED_SUM_I - the normalized pixel value summation of the specific color channel (pixel value / image size)
VARIANCE_COLOR_R
VARIANCE_COLOR_G
VARIANCE_COLOR_B - variance of colors (std^2)
MEAN_COLOR_R
MEAN_COLOR_G
MEAN_COLOR_B - the mean color
MEAN_INTENSITY - mean intensity/gray level
MAX_INTENSITY - maximum intensity/gray level
MIN_INTENSITY - minimum intensity/gray level
INTENSITY_RANGE - difference between lowest and highest intensity value
ENTROPY - representation of image entropy
Note that you can highlight the appropriate statistics and press CTRL-C to copy the information to your clipboard. This information can then be pasted into Excel or other statistics programs.
See Also
Center of Gravity
Geometric Statistics
Moments of Inertia
New Post |
Color_Statistics Related Forum Posts | Last post | Posts | Views |
Obstacle avoidance
Hi, Im unable to solve this type obstacle avoidance; Kindly can you share the idea to make the rob... |
7 year | 6 | 2332 |
blob sum pixel values
is there any variables that report the sum of all pixel values inside a blob? does it report every blob in the blob array? ... |
8 year | 2 | 2319 |
Combine 2 different pipeline
Hi, I have 2 different pipeline for different detection characteristics which is: 9 year |
18 |
3752 |
|
go to line feature
Hi STeven, I want to process the next blob after determining that the initial selected blob did not... |
11 year | 4 | 2672 |
Displaying the RGB of an image with RoboRealm
Hello all, I am a RoboRealm newbie and here is my problem: I want to use RoboRealm to capture the i... |
13 year | 2 | 3129 |
Measuring Depth
Hi, I'm currently working with roborealm to measure some objects in a picture. I want to measure t... |
13 year | 7 | 4869 |
Color Statistics
Hi STeven, I still have a question regarding the Color_Statistics module. As I posted before (http:... |
13 year | 2 | 2966 |
COLOUR_STATISTICS averages
I am trying to do fine colour comparisons of items presented to a camera. I am using the COLOUR_STATISTICS after t... |
15 year | 2 | 3439 |
Color in the lines
Attached is the image of three lines. Each line has a slightly varying color. Is it possible for me to get some color informatio... |
15 year | 3 | 3495 |
image RGB
in RR at the bottom it shows RGB values of pixel. i want to get those values for further usage. &nbs... |
15 year | 2 | 3335 |
defect detection
can you tell me how to find defect in component using rooborealm? say a assembled product is coming in conveyor belt... |
15 year | 2 | 3801 |