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

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

[Octave-bug-tracker] [bug #61827] [octave forge] (image) regionprops.m r


From: Hartmut
Subject: [Octave-bug-tracker] [bug #61827] [octave forge] (image) regionprops.m relies on incompatible behavior of array of integers
Date: Fri, 14 Jan 2022 18:30:26 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0

URL:
  <https://savannah.gnu.org/bugs/?61827>

                 Summary: [octave forge] (image) regionprops.m relies on
incompatible behavior of array of integers
                 Project: GNU Octave
            Submitted by: hardy
            Submitted on: Fri 14 Jan 2022 11:30:24 PM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: other
         Discussion Lock: Any
        Operating System: Any

    _______________________________________________________

Details:

I have observed that currently the function "regionprops.m" relies on an
(Matlab incompatible) behavior in Octave, that maybe be will change in Octave
7 (it is already changed in Octave 7.0.90).

Here is a test code that should not error:

pkg load image
L = uint8(checkerboard);
result = regionprops(L,"Centroid");


We will probably need to wait and see how a future Octave version deals with
those arrays of integer types before we can correct the image package. (see
comment #14 in bug #61788).




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61827>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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