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

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

[Octave-bug-tracker] [bug #47115] label2rgb from image-package doesn't w


From: anonymous
Subject: [Octave-bug-tracker] [bug #47115] label2rgb from image-package doesn't work for labels with value above the uint16 limit
Date: Thu, 11 Feb 2016 06:59:15 +0000
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.103 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?47115>

                 Summary: label2rgb from image-package doesn't work for labels
with value above the uint16 limit
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Thu 11 Feb 2016 06:59:13 AM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Filip
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: Any

    _______________________________________________________

Details:

When running label2rgb() on a labelled image with labels larger than 65535
(the 16 bit unsigned integer limit), the function returns an error:

>> label2rgb(lw);
error: ind2rgb: X must be an indexed image
error: called from
    ind2x at line 32 column 5
    ind2rgb at line 49 column 10
    label2rgb at line 126 column 8


Example code:

lw = zeros(10, 10);
lw(1, 1) = 65535 + 1;
label2rgb(lw);





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47115>

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




reply via email to

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