Hi List,

I'm trying to run the "Camera Calibration Toolbox for Matlab"

http://www.vision.caltech.edu/bouguetj/calib_doc/

(in Mac OS X (Leopard) using MacPorts)

with Octave and IMO been rather successful. Kudos to Octave,
octave-forge and all the good people who support it.

Basically, with very little hacking, I've been able to go
through the whole camera calibration 'exercise'.

One or two gremlins in the works though.

1) zoom on;

In one or two places in the .m there is a statement:

zoom on;

which the octave forge (no op) compatibility function does not recognize

No problem, I've just commented this out, but looking at the
Toolbox instructions I suspect that this is used (under Matlab) to
kind of "pause until right click" -effect. Can anyone tell me if
this is so and suggest a Octave alternative.


2) rotate3d on;

Kind of similar issue to 'zoom on', I've just commented this out
and I can rotate the 3D plots no problem, but would like to know
if I'm missing something when I'm not using this?


3) uicontrol


I don't seem to be able to find 'uicontrol'.

>From octave-forge web site I inferred this might be in 'jhandles'
package (though the source code looked rather lacking in functionality
but I did take deeper look). However MacPorts does not list
jhandles as an available package.

Anyway, uicontrol is not used extensively, it is merely used to
generate a few buttons in a few windows to implement one or two
menus and view point changes. Can any one suggest an alternative
ui-kit/package or method to replace these with?

4) .m or .mat

The camera calibration parameters are saved into a text file
('Calib_Results.mat") . Except that the code when run
under Octave saved the file with the extension '.m'
Have not investigated this in detail yet, but is there
some incompatibility and if so any words of wisdom on this issue?


*******





This (Camera Calibration Toolbox) is quite useful package for anyone
interested in Camera Calibration and seems to be 99.9% compatible with
Octave so I would like to make it 100% compatible with both Matlab
and Octave. Any pointers to the right direction would be appreciated.

I'm an old hand with coding and have some Matlab/Octave experience
so I could probably figure this out by myself but would rather
avoid the dead end or otherwise wrong approaches by asking here.

br Kusti







------------------------------------------------------------------------------
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to