From help-octave-request at bevo dot che dot wisc dot edu Tue Mar 9 22:57:04 2004 Subject: imread image sizing From: Ross Vandegrift To: help-octave at bevo dot che dot wisc dot edu Date: Tue, 9 Mar 2004 23:56:00 -0500 Hello everyone, I'm working on an image analysis project, and am using imread to read in a color 640x480 JPEG file and sample some points. Oddly though, when read in and displayed, the graphic is displayed as 320x240. If I manually run "display eye.jpg", the image is loaded as 640x480. I've tried setting "-size 640x480" and "-sample 640x480" in the options, neither one helps. Here's how I'm loading/displaying my image: [red, green, blue] = imread('jpg:eye.jpg', ["-size 640x480";]); red = red / 255; blue = blue / 255; green = green / 255; imshow(red, green, blue) It's not a critical problem or anything - I'm still able to work on the project at 320x240, but is there something I can do to get 640x480? Thanks! -- Ross Vandegrift ross at willow dot seitz dot com A Pope has a Water Cannon. It is a Water Cannon. He fires Holy-Water from it. It is a Holy-Water Cannon. He Blesses it. It is a Holy Holy-Water Cannon. He Blesses the Hell out of it. It is a Wholly Holy Holy-Water Cannon. He has it pierced. It is a Holey Wholly Holy Holy-Water Cannon. He makes it official. It is a Canon Holey Wholly Holy Holy-Water Cannon. Batman and Robin arrive. He shoots them. ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------