[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<octave/oct.h>
#include<octave/octave.h>
#include<octave/oct-rand.h>
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.
- Octave bwlabel and imagesc in C++ API,
attudlb <=