Yes, it functions well.
Bye.
Adrián
On Thu, Nov 10, 2011 at 4:02 PM, Carnë Draug <carandraug+...@gmail.com>wrote:
> On 10 November 2011 17:06, Adrián del Pino <delpinonavarr...@gmail.com>
> wrote:
> > Hi
> >
> > please always make "reply to all" and keep the mailing list CC'ed so
> > others can join in the discussion (specially if others have matlab and
> > cantest this for us).
> >
> > OK. I'll do.
> >
> >> I have tested this program with several images, and it always ran well
> (It
> >> does what I need).
> >
> > Can you explain this better. Do you mean to say that the function I
> > sent you last night is always working good, or that the previous
> > version had always been working good in other cases and my
> > modifications to it were too much?
> >
> > Of course. I only asked that counts ([counts, x] = imhist(img);) array
> were
> > correct, and it works fine when I tested it. However, I cannot assure
> that
> > this function gives always the correct answer because I do not take care
> of
> > all the inputs, for example, imhist(X, map). In fact, imhist(img, n) does
> > not work when I test it with n = 2.
>
> You're right. I'll have to fix that specifying n part.
>
> >> Besides, the histogram does not display.
> >
> > The histogram should only display if you ask for no output values (at
> > least that's what I understood from the MatLab documentation..
> >
> > [counts,x]=imhist(img); ## no image, just output
> > imhist(img); ## no output, just image
> >
> > In my computer, it does not display the image using the second
> sentence.
>
> Can you try if it shows with the attached file?
>
> Carnë
>
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev