help-octave
[Top][All Lists]
Advanced

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

Octave bwlabel and imagesc in C++ API


From: attudlb
Subject: Octave bwlabel and imagesc in C++ API
Date: Thu, 6 Oct 2011 23:40:19 -0700 (PDT)

I am new to Octave C++ API. Trying use bwlabel and imagesc in C++.  My code
goes like the following:

#include<iostream>
#include&lt;octave/oct.h&gt;
#include&lt;octave/octave.h&gt;
#include&lt;octave/oct-rand.h&gt;

int main()
{

    Matrix A = octave_rand::matrix(10,10);
    std::cout << A;
    Matrix B =  mx_el_gt(A,0.39);
    std::cout << B;
    Matrix C = bwlabel(B,4);
    std::cout << C;
    imagesc(C);

}

I am unable to find how to use bwlabel and imagesc in Octave C++ API. Pls 
Help.

Thanks....
Attu D. L. B.

--
View this message in context: 
http://octave.1599824.n4.nabble.com/Octave-bwlabel-and-imagesc-in-C-API-tp3881136p3881136.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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