Recover Resized Images in 2D ROI

You are currently viewing the documentation for the latest version (2.2.0). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

Function

This Step is used to recover a resized 2D image in an ROI to its original size based on scaling parameters, and place the recovered image on a black background of a specified size.

recover scaled images in 2d roi functional description

Usage Scenario

This Step is usually connected with Scale Image in 2D ROI and other Steps related to deep learning.

Input and Output

Input

Input port Data type Description

Image within 2D ROI

Image[]

The image within the 2D ROI to be recovered.

Original Image

Image

This port provides the recovery scale and other data from the original image required for this Step.

Scaling Parameters

JsonValue

This port provides the ROI scaling data required for this Step.

ROI Parameters

Number[]

This port provides the ROI-related data required for this Step.

Output

Output port Data type Description

Recovered Image

Image[]

The image recovered to its original size.

Is this page helpful?

You can give a feedback in any of the following ways:

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.