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

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

[Octave-bug-tracker] [bug #58125] rgb2gray causes high cpu and will run


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #58125] rgb2gray causes high cpu and will run forever without any errors
Date: Mon, 6 Apr 2020 11:53:35 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0

Update of bug #58125 (project octave):

                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #2:

Thanks for your report. Is "flower2.bmp" the problematic image (if so can you
attach it to this report) or do you observe the same failure whatever the
image. 

As for debugging the best is to step through the function:


>>im = imread ("image.png");
>>dbstop rgb2gray
>>img = rgb2gray (im);
stopped in /opt/share/octave/5.2.0/m/image/rgb2gray.m at line 45
45:   if (nargin != 1)
debug> dbstep
...


Step through the code until you find the bottleneck.

 



    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via Savannah
  https://savannah.gnu.org/




reply via email to

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