<div dir="ltr"><div>If people made good openslide support a "must have" feature when choosing a scanner, vendors might contribute code for their formats to the project, and perhaps even pay something towards maintenance.</div><div><br></div><div>Unfortunately, it has not become a common requirement, and openslide is slowly becoming less relevant. I suspect vendors are (privately) delighted :(<br></div><div><br></div><div>John</div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 10 Apr 2020 at 14:02, PD Dr. med. M. Weihrauch <<a href="mailto:m.weihrauch@smartinmedia.com">m.weihrauch@smartinmedia.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="DE">
<div class="gmail-m_-4011007549418840808WordSection1">
<p class="MsoNormal"><span lang="EN-US">I just had a look at their SDK: There is C# and C++ parts, but everything is “.sln” = Visual Studio based. I guess, it’s all for Windows really.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">God, when will all the vendors get real and implement one single common file format – radiology made that happen 100 years ago? It’s like a jungle getting crazier by each day. It also
seems like they are all competing, who can come up with an even worse format (Roche *.bif anyone? Different overlapping tile sizes of tiles with >1,000 pixels and an XML, which tells you how to rearrange that mess on the screen? / 3dHistech or Olympus with
many files per slide, etc)…<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">With better, faster and especially cheaper scanners, we could be 5 years in the future already.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Sorry for letting off steam here – totally off-topic
</span><span style="font-family:"Segoe UI Emoji",sans-serif" lang="EN-US">😉</span><span lang="EN-US">
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Martin<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div>
<div style="border-color:rgb(225,225,225) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0cm 0cm">
<p class="MsoNormal"><b>Von:</b> Dr. M. Weihrauch <<a href="mailto:martin.weihrauch@uni-koeln.de" target="_blank">martin.weihrauch@uni-koeln.de</a>>
<br>
<b>Gesendet:</b> Freitag, 10. April 2020 14:27<br>
<b>An:</b> T. N. <<a href="mailto:ca95129@hotmail.com" target="_blank">ca95129@hotmail.com</a>>; PD Dr. med. M. Weihrauch <<a href="mailto:m.weihrauch@smartinmedia.com" target="_blank">m.weihrauch@smartinmedia.com</a>>; <a href="mailto:openslide-users@lists.andrew.cmu.edu" target="_blank">openslide-users@lists.andrew.cmu.edu</a><br>
<b>Betreff:</b> Re: openslide_read_region filling buffer with 0's for Mirax<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">I don't know. Their demo is in C#, but I doubt they are running .NET Core.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I'll check once I havd the chance.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div id="gmail-m_-4011007549418840808composer_signature">
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;color:rgb(87,87,87)">Von meinem Samsung Galaxy Smartphone gesendet.<u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="color:black">-------- Ursprüngliche Nachricht --------<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">Von: "T. N." <<a href="mailto:ca95129@hotmail.com" target="_blank">ca95129@hotmail.com</a>>
<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">Datum: 10.04.20 13:35 (GMT+01:00) <u></u>
<u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">An: "PD Dr. med. M. Weihrauch" <<a href="mailto:m.weihrauch@smartinmedia.com" target="_blank">m.weihrauch@smartinmedia.com</a>>,
<a href="mailto:openslide-users@lists.andrew.cmu.edu" target="_blank">openslide-users@lists.andrew.cmu.edu</a>
<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">Betreff: Re: openslide_read_region filling buffer with 0's for Mirax
<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"><u></u> <u></u></span></p>
</div>
</div>
<p>Does the SDK from 3DHistech work on Linux?<u></u><u></u></p>
<p>Thanks.<br>
thomas<u></u><u></u></p>
<div>
<p class="MsoNormal">On 4/10/2020 10:23 AM, PD Dr. med. M. Weihrauch wrote:<u></u><u></u></p>
</div>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<div>
<p class="MsoNormal">3dHistech can also give you there SDK. it is somewhat buggy, but reads all files..<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">best <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Martin<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div id="gmail-m_-4011007549418840808composer_signature">
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;color:rgb(87,87,87)">Von meinem Samsung Galaxy Smartphone gesendet.<u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">-------- Ursprüngliche Nachricht --------<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Von: "T. N." <a href="mailto:ca95129@hotmail.com" target="_blank"><ca95129@hotmail.com></a>
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Datum: 10.04.20 10:16 (GMT+01:00) <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">An: <a href="mailto:openslide-users@lists.andrew.cmu.edu" target="_blank">openslide-users@lists.andrew.cmu.edu</a>
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Betreff: Re: openslide_read_region filling buffer with 0's for Mirax
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</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.<u></u><u></u></p>
<p>Regards,<br>
Thomas<u></u><u></u></p>
<div>
<p class="MsoNormal">On 4/9/2020 11:21 PM, Terry Wilson wrote:<u></u><u></u></p>
</div>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<div>
<p class="MsoNormal">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. <u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">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:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">// Try reading a single tile<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">// x, y values start at 0,0 and increase based on the tile size<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">int size = 512;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12pt">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>
}<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">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.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Regards,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Terry<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><br>
<br>
<u></u><u></u></p>
<pre>_______________________________________________<u></u><u></u></pre>
<pre>openslide-users mailing list<u></u><u></u></pre>
<pre><a href="mailto:openslide-users@lists.andrew.cmu.edu" target="_blank">openslide-users@lists.andrew.cmu.edu</a><u></u><u></u></pre>
<pre><a href="https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users" target="_blank">https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users</a><u></u><u></u></pre>
</blockquote>
</div>
</blockquote>
</div>
</div>
_______________________________________________<br>
openslide-users mailing list<br>
<a href="mailto:openslide-users@lists.andrew.cmu.edu" target="_blank">openslide-users@lists.andrew.cmu.edu</a><br>
<a href="https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users" rel="noreferrer" target="_blank">https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users</a><br>
</blockquote></div>