Color StatisticsThe 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.
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.
UNIQUE_COLORS - Number of unique colors in the current image
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_B - the minimum color or rgb of darkest pixel
MAX_COLOR_B - the maximum color or rgb of brightest pixel
MIN_COLOR_CHANNEL_B - the minimum value of the specific color channel
MAX_COLOR_CHANNEL_B - the maximum value of the specific color channel
COLOR_RANGE_B - maximum color minus minimum color (MAX_COLOR_CHANNEL - MIN_COLOR_CHANNEL)
STD_COLOR_B - standard deviation of colors
SUM_I - the pixel value summation of the specific color channel
NORMALIZED_SUM_I - the normalized pixel value summation of the specific color channel (pixel value / image size)
VARIANCE_COLOR_B - variance of colors (std^2)
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.
Center of Gravity
Moments of Inertia
|Color_Statistics Related Forum Posts||Last post||Posts||Views|
Hi, Im unable to solve this type obstacle avoidance; Kindly can you share the idea to make the rob...
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? ...
Combine 2 different pipeline
Hi, I have 2 different pipeline for different detection characteristics which is:
go to line feature
Hi STeven, I want to process the next blob after determining that the initial selected blob did not...
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...
Hi, I'm currently working with roborealm to measure some objects in a picture. I want to measure t...
Hi STeven, I still have a question regarding the Color_Statistics module. As I posted before (http:...
I am trying to do fine colour comparisons of items presented to a camera. I am using the COLOUR_STATISTICS after t...
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...
in RR at the bottom it shows RGB values of pixel. i want to get those values for further usage. &nbs...
can you tell me how to find defect in component using rooborealm? say a assembled product is coming in conveyor belt...