Comment on page
Color Density Percentage
The
Color Density Percentage
node in AugeLab Studio calculates the color density percentage for each color channel in an input image.The
Color Density Percentage
node takes an input image and calculates the percentage of color density for the red, green, and blue channels. It provides the percentage values as well as the corresponding color intensity values for each channel.- Node Title: Color Density Percentage
- Node ID: OP_NODE_COLOR_DENS_PERC
The
Color Density Percentage
node has the following input socket:- ImageAny: The input image for which the color density percentages are calculated.
The
Color Density Percentage
node has the following output sockets:- Number: The percentage of color density for the red channel.
- Number: The intensity value of the red channel.
- Number: The percentage of color density for the blue channel.
- Number: The intensity value of the blue channel.
- Number: The percentage of color density for the green channel.
- Number: The intensity value of the green channel.
- 1.Drag and drop the
Color Density Percentage
node from the node library onto the canvas in AugeLab Studio. - 2.Connect the input image to the ImageAny input socket of the
Color Density Percentage
node. - 3.Run the pipeline.
- 4.The
Color Density Percentage
node will calculate the color density percentages for the red, green, and blue channels of the input image. - 5.Retrieve the output values from the corresponding output sockets for further processing or visualization.
- The
Color Density Percentage
node calculates the color density percentage for each color channel by dividing the sum of the color values by the sum of the intensity values. - The input image should be in the BGR color space.
- The output values represent the percentage of color density for each channel and the corresponding intensity values.
- The intensity value is extracted from the first pixel of each channel.
- The percentage values are rounded to the nearest integer.
- The intensity values are truncated to integers.
- The output values provide insights into the color distribution and density within the image.
That concludes the documentation for the
Color Density Percentage
node in AugeLab Studio. This node allows you to calculate the color density percentages for the red, green, and blue channels of an input image and extract corresponding intensity values for each channel.