Hi Jason,<br><br>Sorry to hear that bfopen is not working for you. What version of MATLAB are you running? It works on my system with R14, but maybe older versions of MATLAB have problems with the syntax we are using.<br><br>
You could try removing the empty parentheses around ChannelFiller, so that the line looks like this:<br><br><font size="2">
r = loci.formats.ChannelFiller;</font><br><br>If it still causes a problem, you could also try removing that line entirely -- it is needed to properly expand indexed color images, but it is unlikely that your OIBs are stored using indexed color.<br>
<br>-Curtis<br><br><div class="gmail_quote">On Feb 1, 2008 9:44 AM, Brown, Jason <<a href="mailto:Jason_Brown@urmc.rochester.edu">Jason_Brown@urmc.rochester.edu</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">







<div>

<br>

<p><font size="2">I am trying to use the bfopen m-file to open a .oib file in MATLAB. When I run the code I get the following error:<br>
<br>
??? Error: File: C:\Documents and Settings\Jason\My Documents\Hospital\MatLab\Washington\bfopen.m Line: 29 Column: 32<br>
Expected a variable, function, or constant, found ")".<br>
<br>
This is the code from the m-file for the line it is talking about.<br>
r = loci.formats.ChannelFiller();<br>
r = loci.formats.ChannelSeparator(r);<br>
r = loci.formats.FileStitcher(r);<br>
<br>
Anyone else run into this problem. I've never programmed anything like this so can't really debug it myself...<br>
<br>
Thanks for the help,<br>
<br>
Jason Brown<br>
Dept. of Neurosurgery<br>
University of Rochester Medical Center</font>
</p>

</div>

<br>_______________________________________________<br>ome-users mailing list<br><a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a><br><a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" target="_blank">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br>
<br></blockquote></div><br>