> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rubbrband.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Controlnet Preprocess Node

> The Controlnet Preprocess Node shows the outputs of various pre-processors for Controlnet

## Canny Edge Controlnet Preprocess Node

Creates an edge map from the base image.

<img src="https://rubbrband-static-assets-buckets.s3.us-east-1.amazonaws.com/docs/images/canny_preprocess.jpg" />

**Inputs**

<ResponseField name="Base Image" type="image" required={true}>
  The base image to process
</ResponseField>

**Settings**

<ResponseField name="High Threshold" type="number">
  A number between 0 and 255, that is a threshold for strong edges. Any pixel
  value higher than the threshold is taken as a "strong edge".
</ResponseField>

<ResponseField name="Low Threshold" type="number">
  A number between 0 and 255, that is a threshold for weak edges. Any pixel
  value lower than the threshold is not taken as an edge
</ResponseField>

<ResponseField name="Conditioning Scale" type="number">
  This setting only has an effect when used in a Controlnet Node, not a
  Controlnet Preprocessor Node.
</ResponseField>

**Outputs**

<ResponseField name="Image" type="mask">
  The output image after pre-processing
</ResponseField>

## Depth Map Controlnet Preprocess Node

Creates a depth map from the base image.

<img src="https://rubbrband-static-assets-buckets.s3.us-east-1.amazonaws.com/docs/images/depth_preprocess.jpg" />

**Inputs**

<ResponseField name="Base Image" type="image" required={true}>
  The base image to process
</ResponseField>

**Outputs**

<ResponseField name="Image" type="mask">
  The output image after pre-processing
</ResponseField>

## HED Map Controlnet Preprocess Node

Creates a "soft-edge" map using the base image. It's a map that isn't as pointed as a canny edge map, but instead highlights the higher level contours of the image.

<img src="https://rubbrband-static-assets-buckets.s3.us-east-1.amazonaws.com/docs/images/hed_preprocess.jpg" />

**Inputs**

<ResponseField name="Base Image" type="image" required={true}>
  The base image to process
</ResponseField>

**Outputs**

<ResponseField name="Image" type="mask">
  The output image after pre-processing
</ResponseField>

## Segmentation Map Controlnet Preprocess Node

Creates a map that segments various objects of the image.

<img src="https://rubbrband-static-assets-buckets.s3.us-east-1.amazonaws.com/docs/images/seg_preprocess.jpg" />

**Inputs**

<ResponseField name="Base Image" type="image" required={true}>
  The base image to process
</ResponseField>

**Outputs**

<ResponseField name="Image" type="mask">
  The output image after pre-processing
</ResponseField>

## OpenPose Controlnet Preprocess Node

Creates a stick-figure of the underlying subject in the pose from the image.

<img src="https://rubbrband-static-assets-buckets.s3.us-east-1.amazonaws.com/docs/images/openpose_preprocess.jpg" />

**Inputs**

<ResponseField name="Base Image" type="image" required={true}>
  The base image to process
</ResponseField>

**Settings**

<ResponseField name="Hand" type="boolean">
  If turned on, the pose will also take the position of the fingers of the hand
  into account.
</ResponseField>

<ResponseField name="Conditioning Scale" type="number">
  This setting only has an effect when used in a Controlnet Node, not a
  Controlnet Preprocessor Node.
</ResponseField>

**Outputs**

<ResponseField name="Image" type="mask">
  The output image after pre-processing
</ResponseField>
