<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Ali,
<div class=""><br class="">
</div>
<div class="">Is there any example data we can try to help ? </div>
<div class=""><br class="">
</div>
<div class="">Yu Zhao<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Jul 6, 2022, at 1:18 PM, Ali Hassan Raza via openslide-users <<a href="mailto:openslide-users@lists.andrew.cmu.edu" class="">openslide-users@lists.andrew.cmu.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<span class="" style="caret-color: rgb(0, 0, 0);">Hello Openslide members,</span><br class="" style="caret-color: rgb(0, 0, 0);">
<br class="" style="caret-color: rgb(0, 0, 0);">
<span class="" style="caret-color: rgb(0, 0, 0);">I am desperately in need of help. My name is Ali, and I am a masters level student in computer science at roskilde university in Denmark. I am writing my masters thesis in cardiac biopsy using a deep learning
 approach. The dataset I am working with is from the hospital rigshospital in Copenhagen, and they use a scanner from hamamatsu which saves the WSI in the format of NDPI alongside the annotation the pathologist have done which are in NDPI.NDPA format.</span><br class="" style="caret-color: rgb(0, 0, 0);">
<br class="" style="caret-color: rgb(0, 0, 0);">
<font class="">I want to segmentate the areas (create a mask) where the pathologist have done annotations, so that I can make some deep learning models which can learn from the masks, and thereby test them on some data to see how well the model performs. I
 did som research on the internet and could not find anything about how to convert these coordinates, until I came across some posts where people have suggested that openslide plugin may be useful.</font>
<div class=""><span class="" style=""><br class="">
</span></div>
<div class=""><span class="" style="">The problem I have is that the annotations the pathologist have done on the ndpi wsi have negative x and y coordinates, which means that the coordinates system in ndpi format has 0,0 in the center of the slide (I guess)
 and not the top left corner as normal images. I am stuck at the moment, and don’t know how to deal with the ndpi.ndpa annotations, and would be very thankful if you could help me. I am coding in python using jupyter notebook.</span><span class="" style=""> </span><span class="" style="color: rgb(41, 41, 41); font-family: sohne, "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: -0.016em;"><br class="">
</span><br class="" style="caret-color: rgb(0, 0, 0);">
<span class="" style="caret-color: rgb(0, 0, 0);">Kind Regards</span><br class="" style="caret-color: rgb(0, 0, 0);">
<span class="" style="caret-color: rgb(0, 0, 0);">Ali Hassan Raza</span><br class="" style="caret-color: rgb(0, 0, 0);">
<span class="" style="caret-color: rgb(0, 0, 0);">Roskilde University</span></div>
</div>
_______________________________________________<br class="">
openslide-users mailing list<br class="">
<a href="mailto:openslide-users@lists.andrew.cmu.edu" class="">openslide-users@lists.andrew.cmu.edu</a><br class="">
https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
<hr>
<span style="font-size:10.0pt;font-family:Calibri,宋体; "><b>重要声明:</b><br>
只有有权接收电子邮件中可能包含的机密信息的用户才能接收此电子邮件。从 @motic.com 传递的电子邮件可能包含机密信息和法律特许的信息。如果您不是此邮件的预期收件人,请勿阅读、复制、转发或存储此邮件。如果已误收此邮件,请将其转发到发件人,并从您的计算机系统彻底删除此邮件。<br>
<b>Important Notice:</b><br>
This message from @motic.com's email system is for the designated recipient only and may contain privileged, propritary, or otherwise private information. If you received it error, please notify the sender immediately and delete the original. Any other use
 of this email by you is prohibited.</span>
</body>
</html>