Search found 61 matches

by jumpjack
2018-07-19T14:03:10-07:00
Forum: Fred's Scripts
Topic: Fisheye 235° to equirectangular
Replies: 38
Views: 13401

Re: Fisheye 235° to equirectangular

Yes, I did a horrible mess... but it is working. :-) Maybe .exe is not needed , but "convert" is a Windows system command and I want to be sure to execute IM convert, not Windows convert! Summary: unpack IM for Windows into any folder, let's call it ImageMagick regardless of path download needed scr...
by jumpjack
2018-07-19T12:24:58-07:00
Forum: Fred's Scripts
Topic: Fisheye 235° to equirectangular
Replies: 38
Views: 13401

Re: Fisheye 235° to equirectangular

I tried installing Cygwin but I gave up after seeing it's over 1 GB of stuff and dependencies to configure. I tried installing IM from rpm in MobaXterm without success. So I give up with Linux and I assume the algorithm is the same in Win and Lin, so if IM executables run in Windows, they work exact...
by jumpjack
2018-07-19T01:44:54-07:00
Forum: Fred's Scripts
Topic: Fisheye 235° to equirectangular
Replies: 38
Views: 13401

Re: Fisheye 235° to equirectangular

Yes this solves the issue about unary operator. The "^M" error remains, but I don't get why as I left the file in UNIX format as downloaded and just replaced the calls to IM executables as said. How could you replace the calls to convert.exe in my script without saving the file again. If opened it ...
by jumpjack
2018-07-19T01:43:03-07:00
Forum: Fred's Scripts
Topic: Fisheye 235° to equirectangular
Replies: 38
Views: 13401

Re: Fisheye 235° to equirectangular

I tried installing the Linux version in the Linux box, with no success (all I know about Linux is ls -l and chmod +x :-) , so I'm using Windows version.
by jumpjack
2018-07-18T11:52:40-07:00
Forum: Fred's Scripts
Topic: Fisheye 235° to equirectangular
Replies: 38
Views: 13401

Re: Fisheye 235° to equirectangular

Yes this solves the issue about unary operator.
The "^M" error remains, but I don't get why as I left the file in UNIX format as downloaded and just replaced the calls to IM executables as said.
by jumpjack
2018-07-18T06:22:19-07:00
Forum: Fred's Scripts
Topic: Splitting spherical/pano image into square "components"
Replies: 5
Views: 1600

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

Ok this set of commands, applied to 4 different spherical images created moving around a room (from test01.jpg to test04.jpg) should produce 48 different images, which should allow a 3d reconstruction of the room. Source images must be spherical images, 235° FOV, 2048x2048. ./fisheye2rect -i 235 -o ...
by jumpjack
2018-07-18T03:33:56-07:00
Forum: Fred's Scripts
Topic: Splitting spherical/pano image into square "components"
Replies: 5
Views: 1600

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

Ok now I am a bit confused. :shock: Input images for pano2rect and fisheye2pano scripts (from your pages): http://www.fmwconcepts.com/imagemagick/pano2rect/images/testimage2_diagram.jpg http://www.fmwconcepts.com/imagemagick/fisheye2pano/images/testimage2_diagram.jpg pano2rect output: http://www.fmw...
by jumpjack
2018-07-18T01:52:32-07:00
Forum: Fred's Scripts
Topic: Fisheye 235° to equirectangular
Replies: 38
Views: 13401

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: 13401

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: 1600

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: 13401

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: 13401

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: 13401

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: 1600

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: 13401

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