Crop 360 to 180 Equirectangular:
The Crop 360 to 180 Equirectangular node is designed to transform a full 360-degree equirectangular image into a more focused 180-degree view by cropping the central portion of the image. This node is particularly useful for artists and creators who want to emphasize a specific area of a panoramic image without the distraction of the full 360-degree view. By focusing on the central 180 degrees, you can create a more immersive and detailed visual experience, which is ideal for applications where a narrower field of view is preferred. This node simplifies the process of cropping by automatically determining the central section of the image, ensuring that the most relevant part of the scene is retained.
Crop 360 to 180 Equirectangular Input Parameters:
image
The image parameter is the primary input for this node, representing the 360-degree equirectangular image that you wish to crop. This image should be provided as a tensor with four dimensions, typically in the shape of (B, H, W, C), where B is the batch size, H is the height, W is the width, and C is the number of color channels. The node will automatically crop the central 180-degree section of this image, effectively halving its width. There are no specific minimum or maximum values for this parameter, but the width of the image must be greater than 1 to ensure a valid crop.
Crop 360 to 180 Equirectangular Output Parameters:
Cropped 180 Image
The Cropped 180 Image is the output of the node, providing the central 180-degree section of the original equirectangular image. This output retains the original height and color channels but has its width reduced by half, resulting in a tensor with the shape (B, H, W//2, C). This cropped image is ideal for scenarios where a narrower field of view is desired, allowing you to focus on specific details or areas within the scene.
Crop 360 to 180 Equirectangular Usage Tips:
- Ensure that your input image is in the correct equirectangular format with four dimensions to avoid errors during processing.
- Use this node when you want to highlight specific areas of a panoramic image, such as in virtual tours or immersive experiences, where a full 360-degree view is not necessary.
Crop 360 to 180 Equirectangular Common Errors and Solutions:
ValueError: If the input image width is less than or equal to 1.
- Explanation: This error occurs when the width of the input image is too small to perform a valid crop operation.
- Solution: Ensure that the input image has a width greater than 1. If necessary, resize or adjust the image dimensions before using this node.
AssertionError: image should have 4 dimensions, got <actual_dim>
- Explanation: This error indicates that the input image does not have the required four dimensions.
- Solution: Verify that your input image is formatted correctly with four dimensions (B, H, W, C). Adjust the image format if needed before processing.
