[ome-users] Calling API to import Aperio.svs Digital Slide
Curtis Rueden
ctrueden at wisc.edu
Mon Jul 30 16:58:58 BST 2012
Hi Mark,
> With a .NET application, what is the simplest way to call an API for
> importing an Aperio.svs digital slide, along with being able to save
> it's metadata?
The simplest way is to make a system call to one of the Bio-Formats command
line tools (http://loci.wisc.edu/bio-formats/command-line-tools). For
example, you could call "bfconvert" to convert it to a temporary file in a
format your application understands, then open that temporary file normally
from .NET.
The next-most-simple (and more performant) would be to write some Java code
that uses Bio-Formats to do exactly what you want, and then use a system
call with pipes to pass the inputs, and receive the outputs, within your
.NET application.
The most powerful and flexible way would be to use the Bio-Formats C++
bindings (http://loci.wisc.edu/bio-formats/bio-formats-c-bindings) to
access Bio-Formats via JNI in-process. Then you would have full access to
the entire Bio-Formats API, but with more dependencies (need to link to
Boost Thread library as well as Java's JVM.DLL).
For more details, see this page:
http://loci.wisc.edu/bio-formats/interfacing-non-java-code
Regards,
Curtis
On Mon, Jul 30, 2012 at 10:45 AM, <mark.plaskow at americanhealthtechnology.com
> wrote:
> With a .NET application, what is the simplest way to call an API for
> importing an Aperio.svs digital slide, along with being able to save
> it's metadata?
>
>
>
> _______________________________________________
> ome-users mailing list
> ome-users at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20120730/7980e694/attachment.html>
More information about the ome-users
mailing list