help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling OpenCV from Octave


From: Ronald
Subject: Re: Calling OpenCV from Octave
Date: Thu, 20 Nov 2014 02:55:27 -0800 (PST)

> > There are various mex wrappers for opencv. The most prominent one is
> > in the OpenCV_contrib git repository. See:
> > https://github.com/Itseez/opencv_contrib/tree/master/modules/matlab
> >
> > Unfortunately Octave does not seem supported at the moment. Is
> > anyone else interested in making this work in Octave?
>
> Octave has a mex interface. Is it insufficient for this situation?
>
> Hi,
>
> AFAICS in the README file of this project (see "Run" section in  [1]),
> opencv methods are called in Matlab using dot notation. The only way that I
> know to use such syntax is to use classdef which is not supported in Octave
> 3.8 (and won't be until 4.2 at least).
>
>
I know of at least two cases that use the dot notation without classdef in
Octave 3.6.4:

pkg load java
x = java_invoke("java.lang.System","currentTimeMillis")
x.toString
clear x

pkg load windows % windows only I suppose
shell=actxserver('Shell.Application')
shell.MinimizeAll()
delete(shell)
clear shell

I think classdef is the only way to create things that use the dot notation
within the octave language. AFAIC this does not apply to classes/objects
created in other languages including mex/oct files.
--
Ronald




--
View this message in context: 
http://octave.1599824.n4.nabble.com/Calling-OpenCV-from-Octave-tp4667317p4667394.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]