Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Convert Cubemap coordinates to equivalents in Equirectangular

I have a set of coordinates of a 6-image Cubemap (Front, Back, Left, Right, Top, Bottom) as follows:

[ [160, 314], Front; [253, 231], Front; [345, 273], Left; [347, 92], Bottom; ... ]

Each image is 500x500p, being [0, 0] the top-left corner. I want to convert these coordinates to their equivalents in equirectangular, for a 2500x1250p image.

I don't need to convert the whole image, just the set of coordinates. Is there any straight-forward conversion por a specific pixel?

Convert Cubemap coordinates to equivalents in Equirectangular

I have a set of coordinates of a 6-image Cubemap (Front, Back, Left, Right, Top, Bottom) as follows:

[ [160, 314], Front; [253, 231], Front; [345, 273], Left; [347, 92], Bottom; ... ]

Each image is 500x500p, being [0, 0] the top-left corner. I want to convert these coordinates to their equivalents in equirectangular, for a 2500x1250p image.

I don't need to convert the whole image, just the set of coordinates. Is there any straight-forward conversion por for a specific pixel?

Convert Cubemap coordinates to equivalents in Equirectangular

I have a set of coordinates of a 6-image Cubemap (Front, Back, Left, Right, Top, Bottom) as follows:

[ [160, 314], Front; [253, 231], Front; [345, 273], Left; [347, 92], Bottom; ... ]

Each image is 500x500p, being [0, 0] the top-left corner. I want to convert these coordinates to their equivalents in equirectangular, for a 2500x1250p image.

I don't need to convert the whole image, just the set of coordinates. Is there any straight-forward conversion for a specific pixel?

EDIT:

First of all, I want to insist on the fact that I don't have any image available (neither the 6 input images from the cubemap, nor the output equirectangular pano. What I have available is a set of pixel coordinates from 6 images that shape a skybox cubemap. I add a graphic example usign 250x250p images:

Front image: image description

Right image: image description

And so on for the other 4 images (Back, Left, Top, Bottom).

I have set in red some points, these points will be my input. Those points would have their equivalents in an equirectangular panorama:

image description

I have used a 1000x500p pano in this case.

So the input is the pixel coordinates [x,y] of the red points in the cubemap, together with the image they belong to. The [0,0] pixel is the top-left corner of each image:

{ Lamp1: [194,175], front; Chair: [151,234], front; TV: [31,81], right; Door: [107,152], back; Lamp2: [125,190], left }

And the output I want to obtain is the pixel coordinates in the equirectangular panorama:

{ Lamp1: [831,304]; Chair: [784,362]; TV: [898,206]; Door: [228,283]; Lamp2: [500,326]  }

I would like to know how to map from one set of coordinates to the other:

[194,175], front -> ? -> [831,304]

Convert Cubemap coordinates to equivalents in Equirectangular

I have a set of coordinates of a 6-image Cubemap (Front, Back, Left, Right, Top, Bottom) as follows:

[ [160, 314], Front; [253, 231], Front; [345, 273], Left; [347, 92], Bottom; ... ]

Each image is 500x500p, being [0, 0] the top-left corner. I want to convert these coordinates to their equivalents in equirectangular, for a 2500x1250p image.

I don't need to convert the whole image, just the set of coordinates. Is there any straight-forward conversion for a specific pixel?

EDIT:

First of all, I want to insist on the fact that I don't have any image available (neither the 6 input images from the cubemap, nor the output equirectangular pano. What I have available is a set of pixel coordinates from 6 images that shape a skybox cubemap. I add a graphic example usign using 250x250p images:

Front image: image description

Right image: image description

And so on for the other 4 images (Back, Left, Top, Bottom).

I have set in red some points, these points will be my input. Those points would have their equivalents in an equirectangular panorama:

image description

I have used a 1000x500p pano in this case.

So the input is the pixel coordinates [x,y] of the red points in the cubemap, together with the image they belong to. The [0,0] pixel is the top-left corner of each image:

{ Lamp1: [194,175], front; Chair: [151,234], front; TV: [31,81], right; Door: [107,152], back; Lamp2: [125,190], left }

And the output I want to obtain is the pixel coordinates in the equirectangular panorama:

{ Lamp1: [831,304]; Chair: [784,362]; TV: [898,206]; Door: [228,283]; Lamp2: [500,326]  }

I would like to know how to map from one set of coordinates to the other:

[194,175], front -> ? -> [831,304]

Convert Cubemap coordinates to equivalents in Equirectangular

I have a set of coordinates of a 6-image Cubemap (Front, Back, Left, Right, Top, Bottom) as follows:

[ [160, 314], Front; [253, 231], Front; [345, 273], Left; [347, 92], Bottom; ... ]

Each image is 500x500p, being [0, 0] the top-left corner. I want to convert these coordinates to their equivalents in equirectangular, for a 2500x1250p image.

I don't need to convert the whole image, just the set of coordinates. Is there any straight-forward conversion for a specific pixel?

EDIT:

First of all, I want to insist on the fact that I don't have any image available (neither the 6 input images from the cubemap, nor the output equirectangular pano. What I have available is a set of pixel coordinates from 6 images that shape a skybox cubemap. I add a graphic example using 250x250p images:

Front image: image description

Right image: image description

And so on for the other 4 images (Back, Left, Top, Bottom).

I have set in red some points, these points will be my input. Those points would have their equivalents in an equirectangular panorama:

image description

I have used a 1000x500p pano in this case.

So the input is the pixel coordinates [x,y] of the red points in the cubemap, together with the image they belong to. The [0,0] pixel is the top-left corner of each image:

{ Lamp1: [194,175], front; Chair: [151,234], front; TV: [31,81], right; Door: [107,152], back; Lamp2: [125,190], left }

And the output I want to obtain is the pixel coordinates of the red points in the equirectangular panorama:

{ Lamp1: [831,304]; Chair: [784,362]; TV: [898,206]; Door: [228,283]; Lamp2: [500,326]  }

I would like to know how to map from one set of coordinates to the other:

[194,175], front -> ? -> [831,304]

Convert Cubemap coordinates to equivalents in Equirectangular

I have a set of coordinates of a 6-image Cubemap (Front, Back, Left, Right, Top, Bottom) as follows:

[ [160, 314], Front; [253, 231], Front; [345, 273], Left; [347, 92], Bottom; ... ]

Each image is 500x500p, being [0, 0] the top-left corner. I want to convert these coordinates to their equivalents in equirectangular, for a 2500x1250p image.

I don't need to convert the whole image, just the set of coordinates. Is there any straight-forward conversion for a specific pixel?

EDIT:

First of all, I want to insist on the fact that I don't have any image available (neither the 6 input images from the cubemap, nor the output equirectangular pano. What I have available is a set of pixel coordinates from 6 images that shape a skybox cubemap. I add a graphic example using 250x250p images:

Front image: image description

Right image: image description

And so on for the other 4 images (Back, Left, Top, Bottom).

I have set in red some points, these points will be my input. Those points would have their equivalents in an equirectangular panorama:

image description

I have used a 1000x500p pano in this case.

So the input is the pixel coordinates [x,y] of the red points in the cubemap, together with the image they belong to. The [0,0] pixel is the top-left corner of each image:

{ Lamp1: [194,175], front; Chair: [151,234], front; TV: [31,81], right; Door: [107,152], back; Lamp2: [125,190], left }

And the output I want to obtain is the pixel coordinates of the red points in the equirectangular panorama:

{ Lamp1: [831,304]; Chair: [784,362]; TV: [898,206]; Door: [228,283]; Lamp2: [500,326]  }

I would like to know how to map from one set of coordinates to the other:

CUBEMAP [194,175], front -> ? -> [831,304]
[831,304] EQUIRECTANGULAR

Convert Cubemap coordinates to equivalents in Equirectangular

I have a set of coordinates of a 6-image Cubemap (Front, Back, Left, Right, Top, Bottom) as follows:

[ [160, 314], Front; [253, 231], Front; [345, 273], Left; [347, 92], Bottom; ... ]

Each image is 500x500p, being [0, 0] the top-left corner. I want to convert these coordinates to their equivalents in equirectangular, for a 2500x1250p image.

I don't need to convert the whole image, just the set of coordinates. Is there any straight-forward conversion for a specific pixel?

EDIT:

First of all, I want to insist on the fact that I don't have any image available (neither the 6 input images from the cubemap, nor the output equirectangular pano. What I have available is a set of pixel coordinates from 6 images that shape a skybox cubemap. I add a graphic example using 250x250p images:

Front image: image description

Right image: image description

And so on for the other 4 images (Back, Left, Top, Bottom).

I have set in red some points, these points will be my input. Those points would have their equivalents in an equirectangular panorama:

image description

I have used a 1000x500p pano in this case.

So the input is the pixel coordinates [x,y] of the red points in the cubemap, together with the image they belong to. The [0,0] pixel is the top-left corner of each image:

{ Lamp1: [194,175], front; Chair: [151,234], front; TV: [31,81], right; Door: [107,152], back; Lamp2: [125,190], left }

And the output I want to obtain is the pixel coordinates of the red points in the equirectangular panorama:

{ Lamp1: [831,304]; Chair: [784,362]; TV: [898,206]; Door: [228,283]; Lamp2: [500,326]  }

I would like to know how to map from one set of coordinates to the other:

CUBEMAP [194,175], front -> ? -> [831,304] EQUIRECTANGULAR

Convert Cubemap pixel coordinates to equivalents in Equirectangular

I have a set of coordinates of a 6-image Cubemap (Front, Back, Left, Right, Top, Bottom) as follows:

[ [160, 314], Front; [253, 231], Front; [345, 273], Left; [347, 92], Bottom; ... ]

Each image is 500x500p, being [0, 0] the top-left corner. I want to convert these coordinates to their equivalents in equirectangular, for a 2500x1250p image.

I don't need to convert the whole image, just the set of coordinates. Is there any straight-forward conversion for a specific pixel?

EDIT:

First of all, I want to insist on the fact that I don't have any image available (neither , neither the 6 input images from the cubemap, nor the output equirectangular pano. What I have available is a set of pixel coordinates from 6 images that shape a skybox cubemap. I add a graphic example using 250x250p images:

Front image: image description

Right image: image description

And so on for the other 4 images (Back, Left, Top, Bottom).

I have set in red some points, these points will be my input. Those points would have their equivalents in an equirectangular panorama:

image description

I have used a 1000x500p pano in this case.

So the input is the pixel coordinates [x,y] of the red points in the cubemap, together with the image they belong to. The [0,0] pixel is the top-left corner of each image:

{ Lamp1: [194,175], front; Chair: [151,234], front; TV: [31,81], right; Door: [107,152], back; Lamp2: [125,190], left }

And the output I want to obtain is the pixel coordinates of the red points in the equirectangular panorama:

{ Lamp1: [831,304]; Chair: [784,362]; TV: [898,206]; Door: [228,283]; Lamp2: [500,326]  }

I would like to know how to map from one set of coordinates to the other:

CUBEMAP [194,175], front -> ? -> [831,304] EQUIRECTANGULAR