Search found 69 matches

by jumpjack
2018-07-18T01:52:32-07:00
Forum: Fred's Scripts
Topic: Fisheye 235° to equirectangular
Replies: 38
Views: 66232

Re: Fisheye 235° to equirectangular

Anyway I had to edit the scripts to use the ./filename.exe syntax. I do not understand your comment here? In Windows, filename.suffix is never .exe for files. Bat scripts and Windows commands use .exe. My scripts would either be fisheye2rect or fisheye2rect.sh. You may use ./ as a prefix to the scr...
by jumpjack
2018-07-17T12:06:01-07:00
Forum: Fred's Scripts
Topic: Fisheye 235° to equirectangular
Replies: 38
Views: 66232

Re: Fisheye 235° to equirectangular

ok cygwin, as I remembered, is a nightmare: over 1 GB to download and configure just to have a script working... Anyway, MobaXterm does implement BC command and no errors are raised by this command line: ./fisheye2rect -o 90 -i 180 -l 500,500 400x300 test.jpg aaa.jpg This command line: ./fisheye2pan...
by jumpjack
2018-07-17T10:58:02-07:00
Forum: Fred's Scripts
Topic: Splitting spherical/pano image into square "components"
Replies: 5
Views: 17487

Re: Splitting spherical/pano image into square "components"

I guess pano2rect starts from equirectangular images, so I would need both fisheye2pano and pano2rect?
by jumpjack
2018-07-17T07:15:22-07:00
Forum: Fred's Scripts
Topic: Fisheye 235° to equirectangular
Replies: 38
Views: 66232

Re: Fisheye 235° to equirectangular

MobaXterm looks promising, I'll give a try with it.
by jumpjack
2018-07-17T05:52:21-07:00
Forum: Fred's Scripts
Topic: Fisheye 235° to equirectangular
Replies: 38
Views: 66232

Re: Fisheye 235° to equirectangular

As far as I can understand from your source, you use BC to verify if parameters are inside allowed limits, is that right? In such case, I've just to pay attention to what I write, but I should get right results. Also these errors appear to be related to script robustness rather than script functiona...
by jumpjack
2018-07-16T12:39:26-07:00
Forum: Fred's Scripts
Topic: Fisheye 235° to equirectangular
Replies: 38
Views: 66232

Re: Fisheye 235° to equirectangular

Well, I am getting the results I need, so I am happy with it! I don't know if I am skilled enought in Win+Lin to get a fully working, unmodified script. Now I am playing with your other script, Fishey2Rect, and I have a question, but I opened a specific thread: http://www.imagemagick.org/discourse-s...
by jumpjack
2018-07-16T12:37:08-07:00
Forum: Fred's Scripts
Topic: Splitting spherical/pano image into square "components"
Replies: 5
Views: 17487

Splitting spherical/pano image into square "components"

I found this script which allows extracting a rectangular image from a fishey image: Fisheye2Rect Unfortunately it looks like it uses cartesian coordinates to refer a point in the source spherical picture... which is a circle, so it's a little complicated to figure out which coordinates I need to us...
by jumpjack
2018-07-16T12:30:49-07:00
Forum: Fred's Scripts
Topic: Fisheye 235° to equirectangular
Replies: 38
Views: 66232

Re: Fisheye 235° to equirectangular

I have the windows versione of ImageMagick, it uses .exe files.

So bc command is not necessary for a proper output?

What about this error?
[: -eq: unary operator expected
by jumpjack
2018-07-16T12:07:30-07:00
Forum: Fred's Scripts
Topic: Fisheye 235° to equirectangular
Replies: 38
Views: 66232

Re: Fisheye 235° to equirectangular

It looks like your scripts cannot directly be used in Windows bash, they need a little tuning: when calling ImageMagick executables, script must use syntax ./FILENAME.exe rather than just the filename, and script itself must end by ".sh". Apart from this, one version of your script which I have had ...
by jumpjack
2018-07-16T01:20:48-07:00
Forum: Fred's Scripts
Topic: Fisheye 235° to equirectangular
Replies: 38
Views: 66232

Re: Fisheye 235° to equirectangular

There is no "-h}" at that line in my script! I know, i pasted the line in my post... but it's what the command prompt says. It also says another weird thing: --- FILE test.jpg DOES NOT EXIST OR IS NOT AN ORDINARY FILE, NOT READABLE OR HAS ZERO SIZE --- This is not true, it's a regular JPG image whi...
by jumpjack
2018-07-15T13:48:07-07:00
Forum: Fred's Scripts
Topic: Fisheye 235° to equirectangular
Replies: 38
Views: 66232

Re: Fisheye 235° to equirectangular

I installed Linux inside Windows 10, so now I can run BASH; I copied the script directly inside Imagemagick folder, together with test image, but if I run this commmand: bash fisheye2pano -v -90,52.5 -h 211.5 -f angle test.jpg out.png I get these errors: fisheye2pano: line 197: -h}: command not foun...
by jumpjack
2018-02-09T11:42:59-07:00
Forum: Users
Topic: 6 images (cube map) into equirectangular?
Replies: 19
Views: 40334

Re: 6 images (cube map) into equirectangular?

I'm very in trouble using Linux, but thanks fo the link.
by jumpjack
2017-10-03T07:41:53-07:00
Forum: Users
Topic: 6 images (cube map) into equirectangular?
Replies: 19
Views: 40334

Re: 6 images (cube map) into equirectangular?

I'll check if I can use this script to automate the task of obtaining sub-frames from spherical frames of a video.
by jumpjack
2017-09-19T02:19:50-07:00
Forum: Users
Topic: 6 images (cube map) into equirectangular?
Replies: 19
Views: 40334

Re: 6 images (cube map) into equirectangular?

This looks interesting, but the script sphericalpano2cube can only "look" left, front, right, back, over, under; I'd need to be able to specify how many degrees to look "left" or "right" (not just 90° or 270°). The final objective is to constantly look (virtually) at the same object while moving par...
by jumpjack
2017-08-12T05:15:34-07:00
Forum: Users
Topic: Extracting subframes from spherical frame
Replies: 1
Views: 2428

Extracting subframes from spherical frame

I have a 360° camera. I can view its images using an head mounted display, which shows a small portion of the whole image.
How can I use imagemagick to extract this portion, given looking direction and FOV?
Or should I use a different program?
I am on Windows 10.