Fri 26 Feb 2016 06:33:38 AM UTC, comment #15:
Please test this again with the 4.0.1-rc3 release candidate if possible. There have been a few bug fixes related to plotting and displaying images on Windows systems.
|
Mon 22 Jun 2015 06:53:26 PM UTC, comment #14:
I've done a little testing, fltk seems to work fine so far. Both gnuplot and qt produce crashes.
How to enable debug option and submit a report ?
|
Sun 21 Jun 2015 01:16:27 PM UTC, comment #13:
Well, I can't replicate the crash on my side. It works fine and it doesn't crash. Also, if Octave crashes then it is a problem on Octave core. imshow() is in core and that is also causing to crash. both imhist and imshow create figures so my guess is that the issue is somewhere there.
Did you try with alternative graphics_toolkits? For example, does gnuplot also causes Octave to crash? See if gnuplot is listed with available_graphics_toolkits() and select it with "graphics_toolkit gnuplot"
|
Thu 18 Jun 2015 12:49:32 PM UTC, comment #12:
Update:
>> pkg load image
>> a = imread ('c:\pic17.jpg')
>> b = rgb2ycbcr (a)
>> imhist (b(:,:,1))
>> b(:,:,1) = b(:,:,1) * 1.5
>> c = ycbcr2rgb (b)
imshow (c) <- Octave closed unexpectedly
|
Thu 18 Jun 2015 12:44:25 PM UTC, comment #11:
Right now on my computer is working fine, the only thing I've done, after that was install more packages like signal, control, io, instrument-control etc.
In general, the crash sequence is:
>> pkg load image
>> a = imread ('c:\pic17.jpg')
>> b = rgb2ycbcr (a)
>> imhist (b(:,:,1))
(file #34255)
|
Thu 18 Jun 2015 11:06:37 AM UTC, comment #10:
On your first comment you say:
> I had this issue with v.3.8.2 but with 4.0.0 this occurs much more frequently.
So you are saying that the issue is not completely reproducible even on your system? I'm sorry but without being able to reproduce it on our side, there isn't much we can do. You'll have to give us more details on how to reproduce it.
|
Thu 18 Jun 2015 08:18:40 AM UTC, comment #9:
Thanks for the recommendations, I did remove the old Octave installation completely and followed the recommended steps, but the result is the same. After imhist, Octave closed without any warnings.
|
Thu 18 Jun 2015 06:29:07 AM UTC, comment #8:
@Dimitar:
Try to uninstall octave, and remove the leftovers in the
directory in which Octave was installed. Then install it from
ftp://ftp.gnu.org/gnu/octave/windows/octave-4.0.0_0-installer.exe
To install image pkg go to the directory
C:\Octave\Octave-4.0.0\src (if Octave was installed in c:\Octave)
and use
pkg install image-2.4.0.tar.gz
pkg load image
Good luck
|
Wed 17 Jun 2015 07:15:55 PM UTC, comment #7:
It doesn't work fine. Just loaded an image, converted the image to yuv and used imhist and Octave closed without any warnings.
|
Tue 02 Jun 2015 11:19:31 PM UTC, comment #6:
If it works fine if you install the image package properly then it's not a bug. You cannot simply copy the files from a package into core.
The warning you're getting may be from leftovers files you have left in /share/octave/4.0.0/m/image. Closing as invalid.
|
Tue 02 Jun 2015 04:38:56 PM UTC, comment #5:
>> plot (1:10);
>> image;
did not produce crashes.
after: pkg install -forge image
removing: imhist.m from /share/octave/4.0.0/m/image
pkg load image
both imhist and rgb2ycbcr were forking fine in few tests.
Getting the following warnings thought:
warning: function C:\Octave\Octave-4.0.0\share\octave\pac
kages\image-2.4.0\analyze75read.m shadows a core library
function
..................
|
Tue 02 Jun 2015 04:09:25 PM UTC, comment #4:
Retagging release from 4.0.0-rc4 to 4.0.0.
|
Tue 02 Jun 2015 03:26:13 PM UTC, comment #3:
Adding the image package maintainer in cc.
It doesn't sound like you are installing the image package correctly, I don't know if that's related or not.
Crashing while plotting may be one issue, may or may not be image package specific. Can you plot anything, e.g a simple line plot or a simple image?
Do these also crash Octave?
|
Tue 02 Jun 2015 01:58:01 PM UTC, comment #2:
Q: What do you mean by "crash" ?
A: When press [ENTER] after imhist Octave exit, no error messages.
Q: How did you install Octave (where did you download it) ?
A: Initially had 3.8.2, downloaded from SourceForge and installed via the Octave installer, it had crashes bus less frequently. The 4.0.0 version was just installed from the zip, un-packed.
Q: how did you install the image package ?
A: Just copy the m files in /share/octave/4.0.0/m/image
Q: are you expecting that your uint8 Nx3 array is a colormap?
A: Yes, it was working fine with 3.8.2, but on 4.0.0 is not working.
|
Tue 02 Jun 2015 01:37:09 PM UTC, comment #1:
Thanks for your bug report. These are both problems with functions in the image package, retitling appropriately.
imhist works for me (on Linux). What do you mean by "crash", does Octave exit or do you get an error message?
How did you install Octave (where did you download it) and how did you install the image package (automatically with the installer or pkg install command)?
Specifically to rgb2ycbcr, are you expecting that your uint8 Nx3 array is a colormap? Because Octave expects a colormap to be a double array with values between 0 and 1.
|
Tue 02 Jun 2015 06:29:27 AM UTC, original submission:
I had this issue with v.3.8.2 but with 4.0.0 this occurs much more frequently. For example trying the following:
open GNU Octave (Experimental GUI)
i = imread ('c:\cam1.jpg')
imhist(i)
crash !!!
also some functions like rgb2ycbcr are not working in v.4.0.0 – getting: error: rgb2ycbcr: input must be a colormap (Nx3) or RGB image (NxMx3)
even thought the input is: uint8 Nx3.
|