Comment on page
Batch Processing
The Batch Processing function aims to process data in a practical way by using more than one data and a function group as a loop within a single function group rather than using it repeatedly. See the example below for better understanding.
We are using an Emboss Filter with 2D filter.Then we duplicate the blocks with copy paste.

At the bottom we used many blocks. With batch processing we will use only one 2D Filter Block.

Add a Batch Processing Function Block and connect other images to this block input sockets.This function blocks takes data and create a list. For this reason, we need to separate the list elements so that we can see the results, for this we use the Demux block.
So we can solve complex operations in a simpler way.

Also check out the document below;
The
Batch Processing
node in AugeLab Studio is used to process multiple inputs as a batch, reducing memory consumption and improving efficiency. It allows you to perform batch operations on multiple input data simultaneously.The
Batch Processing
node takes multiple input data and combines them into a single batch. This node is especially useful when you have a large number of inputs and want to process them together efficiently.- 1.Drag and drop the
Batch Processing
node from the node library onto the canvas in AugeLab Studio. - 2.Connect the desired input nodes to the
Input
sockets of theBatch Processing
node. - 3.Run the pipeline or execute the node to process the inputs and generate the batch output.
- 4.Retrieve the batch output from the
Batch
output socket.
The
Batch Processing
node extends the functionality of the Mux
node to support batch processing. It combines multiple inputs into a single batch, which can be passed to downstream nodes for batch operations.The node follows these steps during its implementation:
- 1.Batch Creation:
- The node collects the inputs connected to its input sockets.
- It creates a batch object to store the inputs as a single entity.
- 2.Batch Output:
- The node outputs the batch object through the
Batch
output socket. - The batch object can be passed to other nodes that support batch processing.
- Each input in the batch can be accessed individually by indexing.
- 1.Drag and drop the
Batch Processing
node from the node library onto the canvas in AugeLab Studio. - 2.Connect the desired input nodes to the
Input
sockets of theBatch Processing
node. - 3.Run the pipeline or execute the node to process the inputs and generate the batch output.
- 4.Retrieve the batch output from the
Batch
output socket. - 5.Pass the batch object to downstream nodes that support batch processing for efficient batch operations.
- The
Batch Processing
node allows you to process multiple inputs as a batch, reducing memory consumption and improving efficiency. - It combines multiple input data into a single batch object.
- The batch object can be passed to other nodes that support batch processing for performing batch operations.
- The
Batch Processing
node is useful when you have a large number of inputs and want to process them together efficiently.
Last modified 4mo ago