octave-patch-tracker
[Top][All Lists]
Advanced

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

[Octave-patch-tracker] [patch #9360] image package: new function otsuthr


From: Hartmut
Subject: [Octave-patch-tracker] [patch #9360] image package: new function otsuthresh.m
Date: Fri, 26 May 2017 12:56:19 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0

Follow-up Comment #1, patch #9360 (project octave):

Thanks for your contribution!

I've had a look at this new function:

* This is a wrapper around the already existing functionality of Otsu's
threshhold in Octave's graythresh function. So any wrong output values
wouldn't be due to this new otsuthresh function anyways. But it would still be
nice to have the outputs Matlab compatible. I have not checked the results of
the included tests in Matlab, have you? Do they give the same results in
Matlab?

* The included tests all pass.

* Nice demo included :)

* I have tested the example from the Matlab documentation
(http://de.mathworks.com/help/images/ref/otsuthresh.html). It gives the same
result with this new otsuthresh.m function. (I needed to use im2bw.m instead
of the new imbinarize.m to make the example run under Octave.)

(general remark: It would help to have some simple image files distributed
along with the image package. Those could be used for tests and demos more
easily. Or are there already some of those, in addition to phantom.m, that I
just don't know of?)

I would like to see this new function added to the image package. (To keep up
with Matlab changes, this was only introduced in R2016a...)

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?9360>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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