[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Using imread with PixelRegion parameter in Octave 3.2.3 on Windows XP
From: |
Erik Waldron |
Subject: |
Using imread with PixelRegion parameter in Octave 3.2.3 on Windows XP |
Date: |
Thu, 15 Mar 2012 20:07:50 -0700 |
Hi,
I'm using Octave 3.2.3 on Windows XP and am trying to read in a
subsample of a 1.6k by 1.4k pixel tif image by using the 'PixelRegion'
parameter of imread. I've tried many syntax permutations including
defining a cell array for the parameter value but always get the
following errors. A typical command is below. Any guidance would be
most appreciated, thanks.
Erik.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> A = imread('m611_multiframe_trial0001-0001-00000000.tif','PixelRegion', [400
> 500], [400 500])
error: imread: invalid image file: Invalid call to __magick_read__.
Correct usage is:
-- Function File: M = __magick_read__(FNAME, INDEX)
-- Function File: [M, COLORMAP] = __magick_read__(FNAME, INDEX)
-- Function File: [M, COLORMAP, ALPHA] = __magick_read__(FNAME, INDEX)
Additional help for built-in functions and operators is
available in the on-line version of the manual. Use the command
`doc <topic>' to search the manual index.
Help and information about Octave is also available on the WWW
at http://www.octave.org and via the address@hidden
mailing list.
error: called from:
error: C:\Octave\3.2.3_gcc-4.4.0\share\octave\3.2.3\m\image\imread.m
at line 74, column 7
octave-3.2.3.exe:2:C:\Octave\3.2.3_gcc-4.4.0\bin\workingfolder
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Using imread with PixelRegion parameter in Octave 3.2.3 on Windows XP,
Erik Waldron <=