Skip to content

Image Convert Grayscale

Class: ConvertGrayscaleBlockV1

Source: inference.core.workflows.core_steps.classical_cv.convert_grayscale.v1.ConvertGrayscaleBlockV1

Block to convert an RGB image to grayscale. The output image will have only one channel.

Type identifier

Use the following identifier in step "type" field: roboflow_core/convert_grayscale@v1to add the block as as step in your workflow.

Properties

Name Type Description Refs
name str Enter a unique identifier for this step..

The Refs column marks possibility to parametrise the property with dynamic values available in workflow runtime. See Bindings for more info.

Available Connections

Compatible Blocks

Check what blocks you can connect to Image Convert Grayscale in version v1.

Input and Output Bindings

The available connections depend on its binding kinds. Check what binding kinds Image Convert Grayscale in version v1 has.

Bindings
  • input

    • image (image): The input image for this step..
  • output

    • image (image): Image in workflows.
Example JSON definition of step Image Convert Grayscale in version v1
{
    "name": "<your_step_name_here>",
    "type": "roboflow_core/convert_grayscale@v1",
    "image": "$inputs.image"
}