Sie sind nicht angemeldet.

1

Freitag, 12. Juni 2009, 06:48

mode " view "

I am trying to get a 2d view from a sphere .jpg I am unable to get it to do anything. If I substitute cube6 instead of view, it does what it is supposed to do. If I have view, It flashes on the screen for a second and then shuts off. I know that I have to be doing something wrong, but what is it?

My syntax c:\krpano\ktransform view sphere.jpg output.jpg

I also tried .jpeg and .tif instead of .jpg

I also tried to add a path for the input and output images.

Jarredja

2

Dienstag, 16. Juni 2009, 20:11

mode " view "

hi Jarredja,

Good question... in the documentation http://krpano.com/tools/ktransform/ it seem that a fov parameter is needed with the view mode.
But how this parameter must be used??? I have tried this:
- c:\krpano\ktransform view sphere.jpg output.jpg 90
- c:\krpano\ktransform view sphere.jpg output.jpg fov=90
- c:\krpano\ktransform view sphere.jpg output.jpg -fov=90

but the result is arguments error

Klaus, perhaps an example in the ktransform documentation can help a lot ;)

Salut.

3

Dienstag, 16. Juni 2009, 20:47

mode " view "

Hi,

After more try, here is how it work:

c:\krpano\ktransform view sphere.jpg output.jpg 0 0 0 90
c:\krpano\ktransform view sphere.jpg output.jpg rx ry rz fov

syntax:
ktransform mode inputfile outputfile [rx ry rz [fov]] [options]

mode ... cube6, hcube, vcube, rotate, view
cube6 = transform to cube panorama images (6 images)
hcube = transform to horizontal cube panorama imagestrip
vcube = transform to vertical cube panorama imagestrip
rotate = rotates a sphere panorama image
view = creates a 2d view from a sphere image


rx,ry,rz ... rotate angles in degrees
(needed for view and rotate mode)
fov ... field of view in degrees
(needed for view mode)


http://krpano.com/tools/ktransform/

Salut.

4

Mittwoch, 17. Juni 2009, 02:08

Thanks michel,

It was right in front of me but I overlooked it.

Couldn't see the forest through the trees. *g*

5

Montag, 22. Juni 2009, 16:46

Hi Jarredja,
you are welcome. It was an occasion to learn for me also.
Perhaps the tree was a baobab. *rolleyes* This would explain… *smile*

Salut.

6

Donnerstag, 26. April 2018, 11:28

Hi,

After more try, here is how it work:

c:\krpano\ktransform view sphere.jpg output.jpg 0 0 0 90
c:\krpano\ktransform view sphere.jpg output.jpg rx ry rz fov

syntax:
ktransform mode inputfile outputfile [rx ry rz [fov]] [options]

mode ... cube6, hcube, vcube, rotate, view
cube6 = transform to cube panorama images (6 images)
hcube = transform to horizontal cube panorama imagestrip
vcube = transform to vertical cube panorama imagestrip
rotate = rotates a sphere panorama image
view = creates a 2d view from a sphere image


rx,ry,rz ... rotate angles in degrees
(needed for view and rotate mode)
fov ... field of view in degrees
(needed for view mode)


http://krpano.com/tools/ktransform/

Salut.
How to get rx,ry,rz from image paranomic ?
I don't know way to get it .

Thanks you