|
| 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:51:01 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0 |
Follow-up Comment #4, bug #58125 (project octave):
stuck at I = rgb * xform;
octave:3> img_gray=rgb2gray(img)
stopped in /usr/local/share/octave/5.2.0/m/image/rgb2gray.m at line 45
45: if (nargin != 1)
debug> dbstep
stopped in /usr/local/share/octave/5.2.0/m/image/rgb2gray.m at line 49
49: is_int = isinteger (rgb);
debug> dbstep
stopped in /usr/local/share/octave/5.2.0/m/image/rgb2gray.m at line 50
50: if (is_int)
debug> dbstep
stopped in /usr/local/share/octave/5.2.0/m/image/rgb2gray.m at line 51
51: cls = class (rgb);
debug> dbstep
stopped in /usr/local/share/octave/5.2.0/m/image/rgb2gray.m at line 54
54: = colorspace_conversion_input_check ("rgb2gray", "RGB", rgb);
debug> dbstep
stopped in /usr/local/share/octave/5.2.0/m/image/rgb2gray.m at line 58
58: xform = [0.298936; 0.587043; 0.114021];
debug> dbstep
stopped in /usr/local/share/octave/5.2.0/m/image/rgb2gray.m at line 59
59: I = rgb * xform;
debug> dbstep
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58125>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |