|
From: | Przemek Klosowski |
Subject: | Re: Cannot read an image with imread() on Mac |
Date: | Mon, 07 Mar 2011 11:53:58 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b2 Thunderbird/3.1.7 |
On 03/07/2011 09:09 AM, conahorse wrote:
Hi, I'm using octave 3.2.4 on a Mac with Snow Leopard. When I try to read an image in the current directory I do something like: I = imread('cell.jpg') but an error occurs: Assertion failed: (semaphore_info != (SemaphoreInfo *) NULL), function LockSemaphoreInfo, file magick/semaphore.c, line 525. panic: Abort trap -- stopping myself...
It's the same problem that plagues the Linux (Fedora) versions of Octave: ImageMagick requires now an initialization call InitializeMagick(), which wasn't done by Octave's interface to IM.
http://savannah.gnu.org/bugs/?29474 https://bugs.launchpad.net/ubuntu/+source/graphicsmagick/+bug/636021 https://bugzilla.redhat.com/show_bug.cgi?id=655569THe distributions need to fix this in the packages, or you can compile your own version. I don't have a Mac, but other people on this list can point you to the procedure for Snow Leopard.
[Prev in Thread] | Current Thread | [Next in Thread] |