error: `nonmax_supress'

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

error: `nonmax_supress'

astie darmayantie
Hello i need some help regarding image processing in octave.

I want to use canny edge detection from built in octave edge.m
i wrote this on my octave terminal : edgeim=edge(im,'canny',[0.1 0.2],1);
and i keep having this error.
"
error: `nonmax_supress' undefined near line 376 column 12
error: called from:
error:   /usr/share/octave/3.6.2/m/image/edge.m at line 376, column 10 "

could you tell me what's wrong with my code and how should i repair it?

Thank you

--
Regards,


Astie Darmayantie


_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: error: `nonmax_supress'

Søren Hauberg
On Aug 1, 2012, at 6:32 AM, astie darmayantie wrote:

> I want to use canny edge detection from built in octave edge.m
> i wrote this on my octave terminal : edgeim=edge(im,'canny',[0.1 0.2],1);
> and i keep having this error.
> "
> error: `nonmax_supress' undefined near line 376 column 12
> error: called from:
> error:   /usr/share/octave/3.6.2/m/image/edge.m at line 376, column 10 "
>
> could you tell me what's wrong with my code and how should i repair it?

How did you install the 'image' package? 'nonmax_surpress' is a separate function that needs to be compiled. This should be done automatically when you install the 'image' package, so it sounds like something failed on that account.

Søren

_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: error: `nonmax_supress'

Søren Hauberg
In reply to this post by astie darmayantie
Hi

Please remember to CC the list so that others may follow and join the discussion.

On Aug 1, 2012, at 3:26 PM, [hidden email] wrote:

> Oh well, I installed it via software.opensuse.org and yes it's unstable one since there isn't any stable package availabe for my distro version.
> Do you have any solution for this? :)

Not sure. Have you tried

  pkg install -forge image

?

> And can I ask other question?
> Here I have 2 .m file , let say A and B
> I try to call a function from A.m, while A.m requires a function wrote in B.m ..
> It's should be fine, since there's smoothly running in matlab.
> But in octave, they said an error in B.m that there is an undefine variable, which is already initiated in A.m and call in B.m
> Do you get what I mean? :)
> Because it is little confusing when I try to wrote it down into words rather than showing the error :)

I have to confess I did not understand the question :-(

Søren

> ------Original Message------
> From: Søren Hauberg
> To: astie darmayantie
> Cc: [hidden email]
> Subject: Re: error: `nonmax_supress'
> Sent: Aug 1, 2012 8:18 PM
>
> On Aug 1, 2012, at 6:32 AM, astie darmayantie wrote:
>
>> I want to use canny edge detection from built in octave edge.m
>> i wrote this on my octave terminal : edgeim=edge(im,'canny',[0.1 0.2],1);
>> and i keep having this error.
>> "
>> error: `nonmax_supress' undefined near line 376 column 12
>> error: called from:
>> error:   /usr/share/octave/3.6.2/m/image/edge.m at line 376, column 10 "
>>
>> could you tell me what's wrong with my code and how should i repair it?
>
> How did you install the 'image' package? 'nonmax_surpress' is a separate function that needs to be compiled. This should be done automatically when you install the 'image' package, so it sounds like something failed on that account.
>
> Søren
>
>
> Sent from my BlackBerry®
> powered by Sinyal Kuat INDOSAT

_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: error: `nonmax_supress'

martin_helm
On Aug 1, 2012, at 3:26 PM, [hidden email] wrote:
>> > Oh well, I installed it via software.opensuse.org and yes it's unstable one since there isn't any stable package availabe for my distro version.
>> > Do you have any solution for this? :)
I am using openSUSE, can you give me the link, which repository you
used  for the package.
In my image package the following test works:

octave:1> pkg load image
octave:2> im = rand(100);
octave:3> edgeim=edge(im,'canny',[0.1 0.2],1);
octave:4>

without error, my image package is installed with the "pkg install
-forge image" and not via rpm.
So uninstall the  image package rpm with yast and do it as Søren suggested.

You should also file a bug report to the openSUSE bugtracker so that it
will be resolved, it seems to be a packaging error, it is obviously no
octave problem.
_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: error: `nonmax_supress'

astie darmayantie
In reply to this post by astie darmayantie
Waw, thank you for the help!

Much appreciated :)
------Original Message------
From: Martin Helm
To: [hidden email]
Cc: Søren Hauberg
Cc: Octave-help
Subject: Re: error: `nonmax_supress'
Sent: Aug 1, 2012 8:49 PM

On Aug 1, 2012, at 3:26 PM, [hidden email] wrote:
>> > Oh well, I installed it via software.opensuse.org and yes it's unstable one since there isn't any stable package availabe for my distro version.
>> > Do you have any solution for this? :)
I am using openSUSE, can you give me the link, which repository you
used  for the package.
In my image package the following test works:

octave:1> pkg load image
octave:2> im = rand(100);
octave:3> edgeim=edge(im,'canny',[0.1 0.2],1);
octave:4>

without error, my image package is installed with the "pkg install
-forge image" and not via rpm.
So uninstall the  image package rpm with yast and do it as Søren suggested.

You should also file a bug report to the openSUSE bugtracker so that it
will be resolved, it seems to be a packaging error, it is obviously no
octave problem.

Sent from my BlackBerry®
powered by Sinyal Kuat INDOSAT
_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: error: `nonmax_supress'

astie darmayantie
In reply to this post by astie darmayantie
Well.. I tried pkg command on my suse 12.2 and cnf pkg they said there's no command like that.
So maybe I try to use another edge detection method instead. Thx for the help anyway :)

------Original Message------
From: Martin Helm
To: [hidden email]
Cc: Søren Hauberg
Cc: Octave-help
Subject: Re: error: `nonmax_supress'
Sent: Aug 1, 2012 8:49 PM

On Aug 1, 2012, at 3:26 PM, [hidden email] wrote:
>> > Oh well, I installed it via software.opensuse.org and yes it's unstable one since there isn't any stable package availabe for my distro version.
>> > Do you have any solution for this? :)
I am using openSUSE, can you give me the link, which repository you
used  for the package.
In my image package the following test works:

octave:1> pkg load image
octave:2> im = rand(100);
octave:3> edgeim=edge(im,'canny',[0.1 0.2],1);
octave:4>

without error, my image package is installed with the "pkg install
-forge image" and not via rpm.
So uninstall the  image package rpm with yast and do it as Søren suggested.

You should also file a bug report to the openSUSE bugtracker so that it
will be resolved, it seems to be a packaging error, it is obviously no
octave problem.

Sent from my BlackBerry®
powered by Sinyal Kuat INDOSAT
_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: error: `nonmax_supress'

martin_helm
Am 02.08.2012 07:03, schrieb [hidden email]:
> Well.. I tried pkg command on my suse 12.2 and cnf pkg they said there's no command like that.
> So maybe I try to use another edge detection method instead. Thx for the help anyway :)
>
>
You need to run that inside an octave session! Not as a command at your
bash

martinh@ganymed:~> octave

octave:1> pkg install -forge image

If you get an error after that you are missing dependencies, in such
case give us the output and I tell you what you need to install.
_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: error: `nonmax_supress'

astie darmayantie
I am sorry i thought it was a bash script! pardon me..

I already try to call it in octave terminal then i got these error.

"__spatial_filtering__.cc:20:24: fatal error: octave/oct.h: No such file or directory
compilation terminated.
make: *** [__spatial_filtering__.oct] Error 1
'make' returned the following error: make: Entering directory `/tmp/oct-axl0KF/image-1.0.15/src'
mkoctfile -Wall __spatial_filtering__.cc
make: Leaving directory `/tmp/oct-axl0KF/image-1.0.15/src'
error: called from `pkg>configure_make' in file /usr/share/octave/3.6.2/m/pkg/pkg.m near line 1385, column 9
error: called from:
error:   /usr/share/octave/3.6.2/m/pkg/pkg.m at line 827, column 5
error:   /usr/share/octave/3.6.2/m/pkg/pkg.m at line 383, column 9"


any idea? thank you :)



2012/8/2 Martin Helm <[hidden email]>
Am 02.08.2012 07:03, schrieb [hidden email]:
> Well.. I tried pkg command on my suse 12.2 and cnf pkg they said there's no command like that.
> So maybe I try to use another edge detection method instead. Thx for the help anyway :)
>
>
You need to run that inside an octave session! Not as a command at your
bash

martinh@ganymed:~> octave

octave:1> pkg install -forge image

If you get an error after that you are missing dependencies, in such
case give us the output and I tell you what you need to install.



--
Regards,


Astie Darmayantie


_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: error: `nonmax_supress'

martin_helm
Am 02.08.2012 13:37, schrieb astie darmayantie:

> I am sorry i thought it was a bash script! pardon me..
>
> I already try to call it in octave terminal then i got these error.
>
> *"__spatial_filtering__.cc:20:24: fatal error: octave/oct.h: No such
> file or directory
> compilation terminated.
> make: *** [__spatial_filtering__.oct] Error 1
> 'make' returned the following error: make: Entering directory
> `/tmp/oct-axl0KF/image-1.0.15/src'
> mkoctfile -Wall __spatial_filtering__.cc
> make: Leaving directory `/tmp/oct-axl0KF/image-1.0.15/src'
> error: called from `pkg>configure_make' in file
> /usr/share/octave/3.6.2/m/pkg/pkg.m near line 1385, column 9
> error: called from:
> error:   /usr/share/octave/3.6.2/m/pkg/pkg.m at line 827, column 5
> error:   /usr/share/octave/3.6.2/m/pkg/pkg.m at line 383, column 9"*
>
> any idea? thank you :)

sudo zypper install octave-devel
_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: error: `nonmax_supress'

astie darmayantie
In reply to this post by astie darmayantie
yet still having this after i installed octave devel

In file included from /usr/include/octave-3.6.2/octave/../octave/ov.h:43:0,
                 from /usr/include/octave-3.6.2/octave/../octave/oct-obj.h:34,
                 from /usr/include/octave-3.6.2/octave/../octave/ov-fcn.h:32,
                 from /usr/include/octave-3.6.2/octave/../octave/ov-builtin.h:28,
                 from /usr/include/octave-3.6.2/octave/../octave/defun-int.h:28,
                 from /usr/include/octave-3.6.2/octave/../octave/defun-dld.h:30,
                 from /usr/include/octave-3.6.2/octave/../octave/oct.h:36,
                 from __spatial_filtering__.cc:20:
/usr/include/octave-3.6.2/octave/../octave/oct-hdf5.h:27:18: fatal error: hdf5.h: No such file or directory
compilation terminated.
make: *** [__spatial_filtering__.oct] Error 1
'make' returned the following error: make: Entering directory `/tmp/oct-72b2HY/image-1.0.15/src'
mkoctfile -Wall __spatial_filtering__.cc
make: Leaving directory `/tmp/oct-72b2HY/image-1.0.15/src'
error: called from `pkg>configure_make' in file /usr/share/octave/3.6.2/m/pkg/pkg.m near line 1385, column 9
error: called from:
error:   /usr/share/octave/3.6.2/m/pkg/pkg.m at line 827, column 5
error:   /usr/share/octave/3.6.2/m/pkg/pkg.m at line 383, column 9


2012/8/2 astie darmayantie <[hidden email]>
I am sorry i thought it was a bash script! pardon me..

I already try to call it in octave terminal then i got these error.

"__spatial_filtering__.cc:20:24: fatal error: octave/oct.h: No such file or directory
compilation terminated.
make: *** [__spatial_filtering__.oct] Error 1
'make' returned the following error: make: Entering directory `/tmp/oct-axl0KF/image-1.0.15/src'
mkoctfile -Wall __spatial_filtering__.cc
make: Leaving directory `/tmp/oct-axl0KF/image-1.0.15/src'
error: called from `pkg>configure_make' in file /usr/share/octave/3.6.2/m/pkg/pkg.m near line 1385, column 9
error: called from:
error:   /usr/share/octave/3.6.2/m/pkg/pkg.m at line 827, column 5
error:   /usr/share/octave/3.6.2/m/pkg/pkg.m at line 383, column 9"


any idea? thank you :)




2012/8/2 Martin Helm <[hidden email]>
Am 02.08.2012 07:03, schrieb [hidden email]:
> Well.. I tried pkg command on my suse 12.2 and cnf pkg they said there's no command like that.
> So maybe I try to use another edge detection method instead. Thx for the help anyway :)
>
>
You need to run that inside an octave session! Not as a command at your
bash

martinh@ganymed:~> octave

octave:1> pkg install -forge image

If you get an error after that you are missing dependencies, in such
case give us the output and I tell you what you need to install.



--
Regards,


Astie Darmayantie




--
Regards,


Astie Darmayantie


_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: error: `nonmax_supress'

Søren Hauberg
In reply to this post by astie darmayantie

On Aug 2, 2012, at 1:37 PM, astie darmayantie wrote:

> I am sorry i thought it was a bash script! pardon me..
>
> I already try to call it in octave terminal then i got these error.
>
> "__spatial_filtering__.cc:20:24: fatal error: octave/oct.h: No such file or directory
> compilation terminated.
> make: *** [__spatial_filtering__.oct] Error 1
> 'make' returned the following error: make: Entering directory `/tmp/oct-axl0KF/image-1.0.15/src'
> mkoctfile -Wall __spatial_filtering__.cc
> make: Leaving directory `/tmp/oct-axl0KF/image-1.0.15/src'
> error: called from `pkg>configure_make' in file /usr/share/octave/3.6.2/m/pkg/pkg.m near line 1385, column 9
> error: called from:
> error:   /usr/share/octave/3.6.2/m/pkg/pkg.m at line 827, column 5
> error:   /usr/share/octave/3.6.2/m/pkg/pkg.m at line 383, column 9"
>
> any idea? thank you :)

Looks like you need to install development files for Octave. If you installed Octave using your distributions package manager, you should be able to use the same to install a package called something like 'octave-devel' or 'octave-dev'. Then things should work.

Søren

>
>
>
> 2012/8/2 Martin Helm <[hidden email]>
> Am 02.08.2012 07:03, schrieb [hidden email]:
> > Well.. I tried pkg command on my suse 12.2 and cnf pkg they said there's no command like that.
> > So maybe I try to use another edge detection method instead. Thx for the help anyway :)
> >
> >
> You need to run that inside an octave session! Not as a command at your
> bash
>
> martinh@ganymed:~> octave
>
> octave:1> pkg install -forge image
>
> If you get an error after that you are missing dependencies, in such
> case give us the output and I tell you what you need to install.
>
>
>
> --
> Regards,
>
>
> Astie Darmayantie
>
> _______________________________________________
> Help-octave mailing list
> [hidden email]
> https://mailman.cae.wisc.edu/listinfo/help-octave

_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: error: `nonmax_supress'

martin_helm
In reply to this post by astie darmayantie
Am 02.08.2012 13:43, schrieb astie darmayantie:
> /usr/include/octave-3.6.2/octave/../octave/oct-hdf5.h:27:18: fatal
> error: hdf5.h: No such file or directory

sudo zypper install hdf5-devel
_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: error: `nonmax_supress'

martin_helm
Am 02.08.2012 13:46, schrieb Martin Helm:
> Am 02.08.2012 13:43, schrieb astie darmayantie:
>> /usr/include/octave-3.6.2/octave/../octave/oct-hdf5.h:27:18: fatal
>> error: hdf5.h: No such file or directory
> sudo zypper install hdf5-devel
To make your life easier just do a

sudo zypper si -d octave

this will install all the devel packages which are referenced in your
octave-devel
_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave