|
From: | Marco Vassallo |
Subject: | RE: need one more test in matlab for imformats |
Date: | Mon, 8 Jul 2013 19:35:31 +0200 |
________________________________
> Date: Mon, 8 Jul 2013 13:26:43 -0400 > Subject: Re: need one more test in matlab for imformats > From: address@hidden > To: address@hidden > CC: address@hidden > > Hi Carnë > > I found they were both 1x1 doubles, so they were not read. My output > is below from Matlab 2012b, win XP: I've found exactly the same as Brandon on MatlabR2008a Marco > > What are the values of img1 and img2? Is any of them the actual image > (a large matrix) or the size of the filename? > > Brandon > > >> fmt = imformats ('bmp'); > fmt.read = @(x) size(x); > fmt.isa = @(x) true; > imformats ('update', 'bmp', fmt); > img1 = imread ('Test_BMP', 'bmp'); > > fmt = imformats ('jpg'); > fmt.read = @(x) size(x); > fmt.isa = @(x) true; > imformats ('update', 'jpg', fmt); > img2 = imread ('Test_JPG', 'jpg'); > >> img1 > > img1 = > > 1 > > >> img2 > > img2 = > > 1 > |
[Prev in Thread] | Current Thread | [Next in Thread] |