<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<p>Does the SDK from 3DHistech work on Linux?</p>
<p>Thanks.<br>
thomas<br>
</p>
<div class="moz-cite-prefix">On 4/10/2020 10:23 AM, PD Dr. med. M.
Weihrauch wrote:<br>
</div>
<blockquote type="cite" cite="mid:HE1P189MB041109402E3069482018509192DE0@HE1P189MB0411.EURP189.PROD.OUTLOOK.COM">
<meta content="text/html; charset=utf-8">
<div dir="auto">3dHistech can also give you there SDK. it is
somewhat buggy, but reads all files..</div>
<div dir="auto"><br>
</div>
<div dir="auto">best </div>
<div dir="auto"><br>
</div>
<div dir="auto">Martin</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div id="composer_signature" dir="auto">
<div dir="auto" style="font-size:85%; color:#575757">Von meinem
Samsung Galaxy Smartphone gesendet.</div>
</div>
<div dir="auto"><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>-------- Ursprüngliche Nachricht --------</div>
<div>Von: "T. N." <a class="moz-txt-link-rfc2396E" href="mailto:ca95129@hotmail.com"><ca95129@hotmail.com></a> </div>
<div>Datum: 10.04.20 10:16 (GMT+01:00) </div>
<div>An: <a class="moz-txt-link-abbreviated" href="mailto:openslide-users@lists.andrew.cmu.edu">openslide-users@lists.andrew.cmu.edu</a> </div>
<div>Betreff: Re: openslide_read_region filling buffer with 0's
for Mirax </div>
<div><br>
</div>
<div>
<p>I don't work with C interface, I just use the tools under
Linux and recently have problem with the Mirax files
generated by the new 3DHistech scanner. The new file format
does contain some extra information that OpenSlide rejects or
doesn't understand. I read in other mailing lists that people
have successfully use 3DHistech converter (free download from
3DHistech site) to convert from MIRAX format to MIRAX format
(same format conversion) and can successfully use the
converted file with OpenSlide. The converter basically removes
the extra overlapping information from the file, This is an
extra step that needs to be done on the scanner PC. Is there
possibility that OpenSlide library can be updated to avoid
this conversion step, eg, skipping the overlapping information
in the new Mirax format.</p>
<p>Regards,<br>
Thomas<br>
</p>
<div class="moz-cite-prefix">On 4/9/2020 11:21 PM, Terry Wilson
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">I am using the C interface to the windows
version of OpenSlide. I have successfully used it to for a
number of different formats, however, the same code does not
appear to be working for Mirax slides. I am able to open
the slide and see the various properties, however, anytime I
try calling openslide_read_region, it always just fills in
the buffer with 0's. According to the documentation that is
an indication of some error, however, calling
openslide_get_error immediately after just returns a null
error object.
<div><br>
</div>
<div>I saw an older post from someone on this mailing list
who seemed to have the exact same problem I am having with
Mirax slides ... unfortunately they seemed to eventually
get it working but had no idea what they changed to get it
to work. So I am looking for some suggestions on what to
try. I have tried retrieving all the data for the entire
level 0 using a tile size of 512x512 and they all seem to
come back with 0's. I tried getting an entire higher
level (level 6) with one call but same result. I have
also tried various different Mirax slides (including some
of the demo ones from the OpenSlide site) The code is
pretty simple:</div>
<div><br>
</div>
<div>// Try reading a single tile</div>
<div>// x, y values start at 0,0 and increase based on the
tile size</div>
<div>int size = 512;</div>
<div><br>
</div>
<div>uint32_t *data = new uint32_t[size * size];<br>
<br>
openslide_read_region(openslide, data, x, y, 0, size,
size);<br>
const char* err = openslide_get_error(openslide);<br>
if (err != NULL)<br>
{<br>
printf("error detected");<br>
}<br>
<br>
</div>
<div>I used openslide_get_property_names /
openslide_get_property_value to dump out all the various
metadata values for the slides ... is there some value in
this metadata that I need to be accounting for (I assumed
that the OpenSlide library was already doing that)? Any
suggestions on how to trouble shoot this problem would be
greatly appreciated.</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>Terry</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre">_______________________________________________
openslide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:openslide-users@lists.andrew.cmu.edu" moz-do-not-send="true">openslide-users@lists.andrew.cmu.edu</a>
<a class="moz-txt-link-freetext" href="https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users" moz-do-not-send="true">https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users</a>
</pre>
</blockquote>
</div>
</blockquote>
</body>
</html>