Re: Help-octave Digest, Vol 133, Issue 25

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Help-octave Digest, Vol 133, Issue 25

supr8sung
I'm using MAC OS with octave 4.2.0

Supreet Singh

On Mon, Apr 17, 2017 at 9:30 PM, <[hidden email]> wrote:
Send Help-octave mailing list submissions to
        [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.gnu.org/mailman/listinfo/help-octave
or, via email, send a message with subject or body 'help' to
        [hidden email]

You can reach the person managing the list at
        [hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Help-octave digest..."


Today's Topics:

   1. Octave 2D Plots (Shagana Kugathasan)
   2. Problems with octave (Supreet Singh)
   3. Re: Problems with octave (Doug Stewart)


----------------------------------------------------------------------

Message: 1
Date: Mon, 17 Apr 2017 07:22:15 +0000 (UTC)
From: Shagana Kugathasan <[hidden email]>
To: "[hidden email]" <[hidden email]>
Subject: Octave 2D Plots
Message-ID: <[hidden email]>
Content-Type: text/plain; charset="utf-8"

Love programmers,We are students at the NGU in Germany and need to create a presentation about Octave 2D Plots. This involves creating, exporting and manipulating 2D plots. Unfortunately, we have no experience with the program and it would be very helpful for us if you could provide us step by step instructions so that we can deliver a good presentation on the subject.

Lovely greets from Germany?
Shagana Kugathasan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gnu.org/archive/html/help-octave/attachments/20170417/ae12deff/attachment.html>

------------------------------

Message: 2
Date: Mon, 17 Apr 2017 20:09:22 +0530
From: Supreet Singh <[hidden email]>
To: [hidden email]
Subject: Problems with octave
Message-ID:
        <CAGwaq91aGGdxGRJ5PZ0xTNgomoqadGYdJJmJQ5++DsR=[hidden email]>
Content-Type: text/plain; charset="utf-8"

I have been using octave for studying the computer vision course through
Udacity but facing alot of problems.Is there anyone who can help me in
figuring out these problems.
Supreet Singh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gnu.org/archive/html/help-octave/attachments/20170417/14db4bee/attachment.html>

------------------------------

Message: 3
Date: Mon, 17 Apr 2017 11:18:29 -0400
From: Doug Stewart <[hidden email]>
To: Supreet Singh <[hidden email]>
Cc: Help GNU Octave <[hidden email]>
Subject: Re: Problems with octave
Message-ID:
        <CAAohRsbRd5tz0e4W4i6TRniUv_=[hidden email]>
Content-Type: text/plain; charset="utf-8"

On Mon, Apr 17, 2017 at 10:39 AM, Supreet Singh <[hidden email]>
wrote:

> I have been using octave for studying the computer vision course through
> Udacity but facing alot of problems.Is there anyone who can help me in
> figuring out these problems.
> Supreet Singh
>
> _______________________________________________
> Help-octave mailing list
> [hidden email]
> https://lists.gnu.org/mailman/listinfo/help-octave
>
> Yes we can help.
Tell us what version of octave you have.
What OS.

and describe the problem very precisely


--
DAS

<https://linuxcounter.net/user/206392.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gnu.org/archive/html/help-octave/attachments/20170417/de835f78/attachment.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave


------------------------------

End of Help-octave Digest, Vol 133, Issue 25
********************************************


_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Help-octave Digest, Vol 133, Issue 25

supr8sung
See firstly houghtf function is not accepting the 3rd parameter and also immaximas isn't working and also facing some problems in 1-D transformation

Supreet Singh

On Tue, Apr 18, 2017 at 12:12 AM, Supreet Singh <[hidden email]> wrote:
I'm using MAC OS with octave 4.2.0

Supreet Singh

On Mon, Apr 17, 2017 at 9:30 PM, <[hidden email]> wrote:
Send Help-octave mailing list submissions to
        [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.gnu.org/mailman/listinfo/help-octave
or, via email, send a message with subject or body 'help' to
        [hidden email]

You can reach the person managing the list at
        [hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Help-octave digest..."


Today's Topics:

   1. Octave 2D Plots (Shagana Kugathasan)
   2. Problems with octave (Supreet Singh)
   3. Re: Problems with octave (Doug Stewart)


----------------------------------------------------------------------

Message: 1
Date: Mon, 17 Apr 2017 07:22:15 +0000 (UTC)
From: Shagana Kugathasan <[hidden email]>
To: "[hidden email]" <[hidden email]>
Subject: Octave 2D Plots
Message-ID: <[hidden email]>
Content-Type: text/plain; charset="utf-8"

Love programmers,We are students at the NGU in Germany and need to create a presentation about Octave 2D Plots. This involves creating, exporting and manipulating 2D plots. Unfortunately, we have no experience with the program and it would be very helpful for us if you could provide us step by step instructions so that we can deliver a good presentation on the subject.

Lovely greets from Germany?
Shagana Kugathasan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gnu.org/archive/html/help-octave/attachments/20170417/ae12deff/attachment.html>

------------------------------

Message: 2
Date: Mon, 17 Apr 2017 20:09:22 +0530
From: Supreet Singh <[hidden email]>
To: [hidden email]
Subject: Problems with octave
Message-ID:
        <CAGwaq91aGGdxGRJ5PZ0xTNgomoqadGYdJJmJQ5++DsR=[hidden email]>
Content-Type: text/plain; charset="utf-8"

I have been using octave for studying the computer vision course through
Udacity but facing alot of problems.Is there anyone who can help me in
figuring out these problems.
Supreet Singh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gnu.org/archive/html/help-octave/attachments/20170417/14db4bee/attachment.html>

------------------------------

Message: 3
Date: Mon, 17 Apr 2017 11:18:29 -0400
From: Doug Stewart <[hidden email]>
To: Supreet Singh <[hidden email]>
Cc: Help GNU Octave <[hidden email]>
Subject: Re: Problems with octave
Message-ID:
        <CAAohRsbRd5tz0e4W4i6TRniUv_=[hidden email]>
Content-Type: text/plain; charset="utf-8"

On Mon, Apr 17, 2017 at 10:39 AM, Supreet Singh <[hidden email]>
wrote:

> I have been using octave for studying the computer vision course through
> Udacity but facing alot of problems.Is there anyone who can help me in
> figuring out these problems.
> Supreet Singh
>
> _______________________________________________
> Help-octave mailing list
> [hidden email]
> https://lists.gnu.org/mailman/listinfo/help-octave
>
> Yes we can help.
Tell us what version of octave you have.
What OS.

and describe the problem very precisely


--
DAS

<https://linuxcounter.net/user/206392.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gnu.org/archive/html/help-octave/attachments/20170417/de835f78/attachment.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave


------------------------------

End of Help-octave Digest, Vol 133, Issue 25
********************************************



_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Help-octave Digest, Vol 133, Issue 25

Andreas Weber-6
In reply to this post by supr8sung
Am 17.04.2017 um 20:42 schrieb Supreet Singh:
> I'm using MAC OS with octave 4.2.0
> Supreet Singh

Aaaaaaand your problem is?


_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Help-octave Digest, Vol 133, Issue 25

James Sherman
In reply to this post by supr8sung
On Mon, Apr 17, 2017 at 2:46 PM, Supreet Singh
<[hidden email]> wrote:
> See firstly houghtf function is not accepting the 3rd parameter and also
> immaximas isn't working and also facing some problems in 1-D transformation
>
> Supreet Singh
>
> On Tue, Apr 18, 2017 at 12:12 AM, Supreet Singh <[hidden email]>
> wrote:
>>
>> I'm using MAC OS with octave 4.2.0

You really need to be more specific, and give a minimal working
example (https://en.wikipedia.org/wiki/Minimal_Working_Example) of
what your problem is.  For example, just testing the Hough transform
function, from the example given in the documentation:

im = rand(16,16);
bw = edge(im);
H = houghtf(bw, "circle", [3, 7]);

and to find some maximums:
[ R, C ] = immaximas(H(:,:,1), 1);

gives no errors and produces a seemingly reasonable result.  Are you
possibly using an old version of the image package?

Hope this helps,

James Sherman Jr.

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Help-octave Digest, Vol 133, Issue 25

James Sherman
On Mon, Apr 17, 2017 at 9:23 PM, Supreet Singh
<[hidden email]> wrote:

> See what I'm trying to do is......
> frizzy = imread('frizzy.png');
> frizzy_gray=rgb2gray(frizzy);
> edges=edge(frizzy_gray,'canny');
> [accum theta rho]=houghtf(edges);
> imagesc(accum, 'XData', theta,'YData',rho);
>
>
> Supreet Singh
>
> On Tue, Apr 18, 2017 at 1:12 AM, James Sherman Jr. <[hidden email]>
> wrote:
>>
>> On Mon, Apr 17, 2017 at 2:46 PM, Supreet Singh
>> <[hidden email]> wrote:
>> > See firstly houghtf function is not accepting the 3rd parameter and also
>> > immaximas isn't working and also facing some problems in 1-D
>> > transformation
>> >
>> > Supreet Singh
>> >
>> > On Tue, Apr 18, 2017 at 12:12 AM, Supreet Singh
>> > <[hidden email]>
>> > wrote:
>> >>
>> >> I'm using MAC OS with octave 4.2.0
>>
>> You really need to be more specific, and give a minimal working
>> example (https://en.wikipedia.org/wiki/Minimal_Working_Example) of
>> what your problem is.  For example, just testing the Hough transform
>> function, from the example given in the documentation:
>>
>> im = rand(16,16);
>> bw = edge(im);
>> H = houghtf(bw, "circle", [3, 7]);
>>
>> and to find some maximums:
>> [ R, C ] = immaximas(H(:,:,1), 1);
>>
>> gives no errors and produces a seemingly reasonable result.  Are you
>> possibly using an old version of the image package?
>>
>> Hope this helps,
>>
>> James Sherman Jr.
>
>

Hi Supreet,

Please keep replies sent to the mailing list in case others have the
same problem or have better insight into a solution to your problem.
Also, please bottom post as it makes the conversation easier to follow
for those reading along.  Also, to aid in others helping you, a
minimal working example is one that people can run themselves (for
example, I do not have the frizzy.png image you used in your example),
and you should describe what about your example doesn't work the way
you think it should, so modifying your code slightly, I ran this:

im = rand(16);
edges=edge(im,'canny');
[accum theta rho]=houghtf(edges);

Which caused the error:

error: element number 3 undefined in return list
error: called from
    foo at line 3 column 17

So, looking at the documentation for houghtf:

 -- Function File: H = houghtf (BW)
 -- Function File: H = houghtf (BW, METHOD)
 -- Function File: H = houghtf (BW, METHOD, ARG)

It doesn't seem that houghtf is defined or has a second or third
output  (is there somewhere that implies that there is?  or is this a
MATLAB compatibility issue?).  From your variable names, I think
you're looking for the R described in the documentation, and is
actually the second output (though undocumented) so a call like this,
I think, is what you're looking for:

[accum, rho]=houghtf(edges);

And to find the angles of the lines, from the documentation:

     These can be set through the third input argument ARG.  This must
be a vector of real numbers, and is
     by default 'pi*(-90:90)/180'.

So, unless you specify it in ARG, theta would always be:
theta = pi*(-90:90)/180;

Its been a long time since I dealt with the Hough transform, so make
sure to check that those values of rho match what you would expect
them to be.

Hope this helps,

James Sherman Jr.

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Loading...