Comment on page
Get Dimension
The
Get Dimension
node in AugeLab Studio allows you to retrieve the dimensions of an input image and output them as a list.The
Get Dimension
node takes an input image and returns its dimensions as a list. The dimensions include the height, width, and number of channels (if applicable) of the image.- Node Title: Get Dimension
- Node ID: OP_NODE_IMAGE_DIMENSION
The
Get Dimension
node has the following input socket:- ImageAny: The input image for which you want to retrieve the dimensions.
The
Get Dimension
node has the following output socket:- Dimensions: A list containing the dimensions of the input image. The dimensions are represented as [height, width] or [height, width, channels] depending on the image type.
- 1.Drag and drop the
Get Dimension
node from the node library onto the canvas in AugeLab Studio. - 2.Connect the input image to the ImageAny input socket of the
Get Dimension
node. - 3.Run the pipeline.
- 4.The
Get Dimension
node will retrieve the dimensions of the input image. - 5.The dimensions will be outputted as a list from the Dimensions output socket of the
Get Dimension
node. - 6.Use the dimensions in subsequent nodes or display them in the console.
- The
Get Dimension
node supports images of any type, including grayscale and color images. - The dimensions of the input image will be outputted as a list [height, width] or [height, width, channels].
- If the input image is grayscale, the list will contain only two elements [height, width].
- If the input image is color, the list will contain three elements [height, width, channels].
That concludes the documentation for the
Get Dimension
node in AugeLab Studio. This node allows you to retrieve the dimensions of an input image and output them as a list.