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: Eli Chan
Subject: [Octave-bug-tracker] [bug #58125] rgb2gray causes high cpu and will run forever without any errors
Date: Mon, 6 Apr 2020 12:45:46 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0

Follow-up Comment #3, bug #58125 (project octave):


[comment #2 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 sent via Savannah
  https://savannah.gnu.org/




reply via email to

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