Pad 180 to 360 Equirectangular:
The Pad 180 to 360 Equirectangular node is designed to transform a 180-degree equirectangular image into a full 360-degree equirectangular image by applying padding. This process is particularly useful when you want to create a seamless panoramic view from a half-sphere image, allowing for a complete spherical representation. The node achieves this by adding padding to the sides of the original image, effectively doubling its width while maintaining the original height. This padding can be customized with a specific fill value, ensuring that the added areas blend smoothly with the existing image. By using this node, you can enhance your 180-degree images to provide a more immersive and comprehensive visual experience.
Pad 180 to 360 Equirectangular Input Parameters:
image
The image parameter is the primary input for this node, representing the 180-degree equirectangular image that you wish to convert into a 360-degree image. This parameter expects a tensor with four dimensions, typically structured as (Batch, Height, Width, Channels). The image serves as the base upon which padding will be applied to extend its width, creating a full 360-degree view. There are no specific minimum or maximum values for this parameter, but it is crucial that the image is correctly formatted to ensure successful processing.
fill_value
The fill_value parameter determines the value used to fill the padded areas of the image. This is a floating-point number, with a default value of 0.0, which typically represents a black or neutral color in the context of image processing. By adjusting the fill_value, you can control the appearance of the padded sections, ensuring they match or complement the original image's aesthetic. This parameter allows for customization of the padding, enabling you to achieve the desired visual effect in the final 360-degree image.
Pad 180 to 360 Equirectangular Output Parameters:
Padded 360 Image
The Padded 360 Image is the output of the node, representing the transformed image that now spans a full 360 degrees. This output is a tensor with the same height as the input image but with double the width, effectively creating a panoramic view. The padded areas are filled according to the specified fill_value, ensuring a seamless transition from the original image to the newly added sections. This output is crucial for applications requiring a complete spherical image, such as virtual reality environments or panoramic displays.
Pad 180 to 360 Equirectangular Usage Tips:
- Ensure your input image is correctly formatted as a 180-degree equirectangular image with four dimensions to avoid processing errors.
- Experiment with different
fill_valuesettings to achieve the best visual integration between the original image and the padded areas, especially if the image contains specific color themes or lighting conditions.
Pad 180 to 360 Equirectangular Common Errors and Solutions:
AssertionError: image should have 4 dimensions, got <number>
- Explanation: This error occurs when the input image does not have the required four dimensions, which are necessary for processing.
- Solution: Verify that your input image is formatted correctly with dimensions (Batch, Height, Width, Channels) before passing it to the node.
ValueError: Input image width is less than or equal to 1
- Explanation: This error indicates that the width of the input image is too small to be processed effectively.
- Solution: Ensure that the input image has a sufficient width, typically greater than 1, to allow for proper padding and conversion to a 360-degree image.
