+
    Ük»  ã                   ó”   € R t ^ RIt^ RIHt ^ RIt^ RIt^ RIHt ]! ]	4      P                  4       P                  P                  tR tR# )zBShared six-image polygon inputs for conditional model comparisons.N)ÚPath)ÚImagec                 ó0  € \         P                  ! \        R 4      VR,          ,          P                  4       4      pVR,           Uu. uF"  q3R,          VR,          R,          8X  g   K   VNK$  	  pp\	        V4      ^8w  d   \        R4      h\        R4      V R R	2,          p\        P                  ! \        P                  ! V4      P                  R
4      4      qfP                  R,          w  rxW‡3VR,          R,          VR,          R,          38w  d   \        R4      hR\        W‡4      ,          p	\        W‰,          4      \        Wy,          4      rº\        P                  ! WjV3\        P                   R7      p\        P"                  ! Wº3\        P$                  R7      pV^ ,          R,           F¸  p\        P                  ! V\        P&                  R7      P)                  R^4      qîR;;,          W¨,          ,          uu&   VR;;,          W·,          ,          uu&   \        P*                  ! V\        P,                  ! V4      P/                  \        P0                  4      .^4       Kº  	  VP3                  4       '       g   \        R4      hWlV3# u upi )z/tmp/diatom-mask-cocoÚannotation_fileÚannotationsÚimage_idÚimageÚidz*Expected one selected annotation per imagez/tmp/diatom-mask-imagesÚ02dz.jpgÚRGB:Né   NÚwidthÚheightzImage dimensions disagreei   )Úinterpolation)ÚdtypeÚsegmentationzEmpty annotation polygonéÿÿÿÿ)ºNNNé    )r   é   )ÚjsonÚloadsr   Ú	read_textÚlenÚ
ValueErrorÚnpÚasarrayr   ÚopenÚconvertÚshapeÚmaxÚroundÚcv2ÚresizeÚ
INTER_AREAÚzerosÚuint8Úfloat32ÚreshapeÚfillPolyÚrintÚastypeÚint32Úany)ÚindexÚentryÚ
annotationÚar   Úpathr   ÚhÚwÚscaleÚWÚHÚrefÚpolygonÚxys   &&             Ú=/home/mchadwick/src/ansp/diatom-research/research/r16_data.pyÚ	load_caser<      s×  € Ü�zŠzœ4Ð 7Ó8¸Ð?PÕ9QÕQ×\Ñ\Ó^Ó_€JØ& }Ö5Ó]Ñ5�q¸:½ÈÈgÍÐW[ÕH\Ñ9\—�Ñ5€KÐ]Ü
ˆ;Ó˜Ô¤Ð,XÓ!YÐYÜ	Ð'Ó	(¨E°#¨;°dÐ);Õ	;€DÜ
�*Š*”U—Z’Z Ó%×-Ñ-¨eÓ4Ó
5€E¿+¹+Àb½/±c°aØ	€uˆu�W�~˜gÕ& u¨W¥~°hÕ'?Ð@Ô@ÄzÐRmÓGnÐAnØ
Œc�!‹h�,€Eœ5 ¥›>¬%°µ«.˜Ü
�*Š*�U˜a˜5¬s¯~©~Ô
>€EÜ
�Š�!�œRŸX™XÔ&€CØ˜q•> .×1Ð1ˆÜ�:Š:�g¤B§J¡JÔ/×7Ñ7¸¸1Ó=ˆÀ¿gÀqÅs½l»gÈ2ÈcÏ7ÐTUÕTWÍ<Ë7Ü�Š�Sœ"Ÿ'š' "›+×,Ñ,¬R¯X©XÓ6Ð7¸Ö:ñ 2ð �7‰7�9Š9œ:Ð&@ÓAÐAØ�Tˆ>Ðùò ^s   ÁJÁ)J)Ú__doc__r   Úpathlibr   r"   Únumpyr   ÚPILr   Ú__file__ÚresolveÚparentÚROOTr<   © ó    r;   Ú<module>rG      s:   ðÙ HÛ Ý ã 
Û Ý á	ˆ(ƒ^×ÑÓ×$Ñ$×+Ñ+€ôrF   