🖥
🖥
🖥
🖥
AugeLab Studio Manual
English
Ask or search…
K
Comment on page

Make Image

You can make custom-designed images with this block.

Make Image Node Documentation

The Make Image node in AugeLab Studio allows you to create an image with the provided dimensions and color. It generates a new image as output, which can be used for various image processing tasks in your workflow.

Node Overview

The Make Image node takes three input sockets: Width, Height, and Color. It creates a new image with the specified dimensions and fills it with the provided color. The node outputs the generated image, which can be further processed or analyzed in your workflow.

Node Interaction

  1. 1.
    Drag and drop the Make Image node from the node library onto the canvas in AugeLab Studio.
  2. 2.
    Connect the Width input socket to a node that provides the desired width of the image.
  3. 3.
    Connect the Height input socket to a node that provides the desired height of the image.
  4. 4.
    (Optional) Connect the Color input socket to a node that provides the desired color of the image. If not connected, the default color is black.
  5. 5.
    The node will automatically evaluate and output the generated image.

Input and Output Sockets

  • Input Sockets:
    • Width: The desired width of the image in pixels.
    • Height: The desired height of the image in pixels.
    • Color: The desired color of the image. This can be a single pixel value or a color image.
  • Output Sockets:
    • Image: The generated image with the specified dimensions and color.

Implementation Details

The Make Image node follows these steps to create the image:
  1. 1.
    Dimension Inputs: It receives the desired width and height of the image through the input sockets.
  2. 2.
    Color Input: It receives the desired color of the image through the input socket. If not connected, the default color is black.
  3. 3.
    Image Creation: It creates a new image with the specified dimensions using NumPy (np.zeros) and sets the initial color.
  4. 4.
    Image Output: It outputs the generated image through the output socket.

Usage

  1. 1.
    Drag and drop the Make Image node from the node library onto the canvas in AugeLab Studio.
  2. 2.
    Connect the Width input socket to a node that provides the desired width of the image.
  3. 3.
    Connect the Height input socket to a node that provides the desired height of the image.
  4. 4.
    (Optional) Connect the Color input socket to a node that provides the desired color of the image.
  5. 5.
    The node will automatically evaluate and output the generated image.
  6. 6.
    Connect the output image to other nodes in your workflow for further processing or analysis.

Notes

  • The Make Image node allows you to create an image with specified dimensions and color.
  • The dimensions should be positive integer values representing the width and height of the image in pixels.
  • The color can be a single pixel value (grayscale) or a color image (RGB).
  • If the Color input socket is not connected, the default color is black (all pixels set to 0).
  • The generated image can be connected to other nodes in your workflow for various image processing tasks.
  • The Make Image node is useful when you need to create an image with specific dimensions for testing or generating synthetic data.
  • Combine the Make Image node with other image processing nodes to create powerful image analysis pipelines.
  • Experiment with different width, height, and color values to generate images of various sizes and colors.
  • The Make Image node is a versatile tool for working with image data in AugeLab Studio.
  • Use the output image of the Make Image node as input for other nodes, such as feature extraction, filtering, or machine learning algorithms.
  • Leverage the interactive nature of AugeLab Studio to iterate and refine your image processing workflows using the Make Image node.