octave-maintainers
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Re: need one more test in matlab for imformats
From
:
Brandon Miles
Subject
:
Re: need one more test in matlab for imformats
Date
:
Mon, 8 Jul 2013 13:26:43 -0400
Hi Carnë
I found they were both 1x1 doubles, so they were not read. My output is below from Matlab 2012b, win XP:
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
reply via email to
[
Prev in Thread
]
Current Thread
[
Next in Thread
]
need one more test in matlab for imformats
,
Carnë Draug
,
2013/07/08
Re: need one more test in matlab for imformats
,
Brandon Miles
<=
RE: need one more test in matlab for imformats
,
Marco Vassallo
,
2013/07/08
Re: need one more test in matlab for imformats
,
Carnë Draug
,
2013/07/08
RE: need one more test in matlab for imformats
,
Marco Vassallo
,
2013/07/09
Re: need one more test in matlab for imformats
,
Carnë Draug
,
2013/07/09
Prev by Date:
need one more test in matlab for imformats
Next by Date:
Re: binocdf inaccuracy in Octave
Previous by thread:
need one more test in matlab for imformats
Next by thread:
RE: need one more test in matlab for imformats
Index(es):
Date
Thread