+
    ½k�  ã                   óø  € R t ^ RIt^ RIt^ RIt^ RIHt ^ RIt^ RIt^ RI	H
t
Ht ]! ]4      P                  4       P                  ^,          t]R,          t]R,          t]P$                  ! ]R,          P'                  4       4      t]P$                  ! ]R,          P'                  4       4      R,           U u/ uF  q R	,          V bK  	  up tRWtR
RRRRR/t/ t] EFB  t/ ]]&   RX EF  t/ ]],          ]&   RY Fü  t^ t^ t]P<                  ! R 4      t]R,           F¶  t ] R,          ],          R,          ],          R,          ],          t!]]!R,          ,          t]]!R,          ,          t]!R,          PE                  4        FL  w  t#t$]]#,          R;;,          ]$R,          ,          uu&   ]]#,          R;;,          ]$R,          ,          uu&   KN  	  K¸  	  R]R]R]%! ]4      /]],          ],          ]&   Kþ  	  EK  	  ]&! R ]R,           4       4      ]],          R&   EKE  	  ]R,          PO                  ]PP                  ! RR R!]R!,          R"])! ]R,          4      R]/^R#7      R$,           4       ]PT                  t+R%t,] EF1  t]],          R,          R,          t-]],          R,          R,          t.]],          R,          R,          t/],R&]+! ]],          4      ,           R',           ]0! ]-R,          4      ,           R(,           ]0! ]-R,          4      ,           R),           ]0! ].R,          4      ,           R(,           ]0! ].R,          4      ,           R),           ]0! ]/R,          4      ,           R(,           ]0! ]/R,          4      ,           R),           ]0! ]],          R,          4      ,           R*,           ,          t,EK4  	  R%t1RZ F|  w  t2t3] Uu. uF(  p]V,          R,          R,          R,          ]2,          NK*  	  upt4]1R&]+! ]34      ,           R+,           R%Pk                  R, ]4 4       4      ,           R-,           ,          t1K~  	  ]R,          R,          R,          R,          R.,          R,          t6R%Pk                  R/ ] 4       4      t7]1R0]7,           R-,           ,          t1. t8]R,           EF~  t ]] R1,          ,          t9]Pt                  ! ]
Pv                  ! ]]9R2,          ,          4      Py                  R34      P{                  R[]
P|                  P~                  4      4      t@]P‚                  ! ]] R4,          ,          4      tB]C! ]BR5,          4      tD]PŠ                  ! ]BR6,          4      R]PŒ                  ! ]D4       P�                  ]D4      P‘                  ]I4      tJ]C! ]BR7,          4      tK]PŠ                  ! ]BR8,          4      R]PŒ                  ! ]K4       P�                  ]K4      P‘                  ]I4      t]P˜                  ! ]@]Pš                  4      tNR9]NPŸ                  4       3R:]NPŸ                  4       3.tPR; tQ] F  tR]Q! ]P^,          ^,          ]RR\4       K  	  R] F¾  t]NPŸ                  4       tS] R,          ],          R<,          R=,          tT] R,          ],          R,          R,          R,          R,          R>,           U u0 uF  q R?,          kK  	  up t]T F  tU]Q! ]S]J]U,          ]U]9   d   R^MR_4       K  	  ]PP­                  ]],          R@,           ]S34       KÀ  	  ]
P®                  ! RAR`RB4      tX]P²                  ! ]X4      tZ][! ]P4       Fn  w  t\w  t]tS]XP½                  ]
P¾                  ! ]S4      P{                  Ra4      ]\RC,          ^,           ^34       ]ZPÁ                  ]\RC,          ^,           ^3]]RDRE7       Kp  	  ] R1,          RF,           ta]XPÅ                  ]]a,          ^XRG7       ] R,          R,          R,          R,          R,          R,          tc] R,          R,          R,          R,          R,          R,          td]8P­                  RH]+! ] R1,          4      ,           RI,           ]0! ]cR,          4      ,           R(,           ]0! ]cR,          4      ,           RJ,           ]0! ]dR,          4      ,           R(,           ]0! ]dR,          4      ,           RK,           ]a,           RL,           ]a,           RM,           ]+! ]9R2,          4      ,           RN,           ]+! ] R4,          4      ,           RO,           4       EK�  	  RP],,           RQ,           R%Pk                  RR ] 4       4      ,           R-,           ]1,           RS,           R%Pk                  ]84      ,           RT,           te]RU,          PO                  ]e4       ]f! ]PP                  ! R"])! ]R,          4      RV] Uu/ uF  q"]V,          R,          R,          bK  	  up/^R#7      4       R# u up i u upi u up i u upi )bzIPublish weak-support recovery results and visual overlays for all scenes.N)ÚPath)ÚImageÚ	ImageDrawzresults/r112/grouped-syntheticzresults/r112/grouped-baselinezresults.jsonzmanifest.jsonÚrecordsÚidÚsam64Úsam256Úyolou   MobileSAM Â· 64 pointsu   MobileSAM Â· 256 pointszPrior YOLOv8 segmentationÚ30Úallúmain_0.5ú	main_0.75únonempty_0.5c                  ó,   € \         P                  ! 4       # )N)ÚcollectionsÚCounter© ó    Ú(research/r112_grouped_baseline_report.pyÚ<lambda>r      s   € ¼+×:MÒ:MÔ:Or   ÚpoliciesÚbudgetsÚmatchesÚmatchedÚ
referencesÚstratac              #   óV   "  € T F  qR ,          \         ,          R,          x € K!  	  R# 5i)r   Úcandidate_countN)Úpolicy)Ú.0Úrows   & r   Ú	<genexpr>r!      s#   é € Ð'kÑ^jÐWZ¨J­¼Õ(?Ð@Q×(RÒ(RÓ^jùs   ‚')r   zsummary.jsonÚformatz r112-grouped-baseline-summary-v1ÚwarningÚscenes)ÚindentÚ
Ú z<tr><th>z	</th><td>Ú/z	</td><td>z
</td></tr>ú</th>c              #   óž   "  € T FC  pR \        VR,          4      ,           R,           \        VR,          4      ,           R,           x € KE  	  R# 5i)ú<td>r   r(   r   ú</td>N)Ústr)r   Úvs   & r   r!   r!      sŸ   é € ð  }Fñ  AEð  |}ð  ~Dô  EHð  IJð  KTõ  IUó  EVõ  ~Vð  WZõ  ~Zô  [^ð  _`ð  amõ  _nó  [oõ  ~oð  pw÷  ~wò  ~wó  AEùs   ‚AAz</tr>Úsmall_1_to_49_pixelsc              #   óæ   "  € T Fg  pR \        \        V,          R,          R,          R,          R,          R,          4      ,           R,           \        \        4      ,           R,           x € Ki  	  R# 5i)	r+   r
   r   r   r/   r   r(   r,   N)r-   ÚsummaryÚsmall©r   Úks   & r   r!   r!      sÇ   é € ð  koñ  fnð  abÐkqÔruÔv}Ð~õ  wAð  BFõ  wGð  HVõ  wWð  X`õ  wað  bxõ  wyð  zCõ  wDó  sEõ  lEð  FIõ  lIô  JMô  NSó  JTõ  lTð  U\÷  l\ò  l\ó  fnùs   ‚A/A1uH   <tr><th>Small supports, 1â€“49 pixels (nonempty reference matching)</th>Úscene_idÚimageÚLÚarchiveÚ
mask_shapeÚ	mask_bitsÚreference_shapeÚreference_bitsÚScenezWeak projected supportsc                 óô   € \         P                  ! VP                  R 4      \         P                  \         P                  4      w  r4\         P
                  ! WRR^4       \         P
                  ! WRV^4       R# )Úuint8Néÿÿÿÿ)é    rA   rA   )Úcv2ÚfindContoursÚastypeÚRETR_EXTERNALÚCHAIN_APPROX_SIMPLEÚdrawContours)ÚcanvasÚmaskÚcolorÚcontoursÚ_s   &&&  r   ÚoutlinerM      s�   € Ü×Ò˜dŸk™k¨'Ó2´3×3DÑ3DÄS×E\ÑE\Ó]�*€(Ô^a×^nÒ^nÐouð  @Bð  CJð  KLô  _Mô  NQ÷  N^ò  N^ð  _eð  oqð  rwð  xyö  Nzr   Úranking:Né   NÚassignmentsÚcandidate_indexu
    Â· top 30ÚRGBÚwhiteiE  z#193b37)Úfillz-comparison.jpg)Úqualityz<article><h3>u7   </h3><p>Weak supports matched at IoU â‰¥0.5: MobileSAM z; prior YOLOv8 z.</p><a href="z"><img loading="lazy" src="zo" alt="Scene, weak supports, and two model candidate outlines"></a><p><a href="/results/r112/grouped-synthetic/u!   ">Original scene</a> Â· <a href="z6">Saved candidates and weak supports</a></p></article>u¡  <!doctype html><html lang="en"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Segmentation baseline on grouped synthetic scenes</title><style>body{font:16px/1.55 system-ui;background:#f4f6f0;color:#193b37;margin:0}main{max-width:1350px;margin:auto;padding:24px}a{color:#096c58}.notice,article{background:white;border:1px solid #cddbd2;padding:16px;margin:14px 0}.notice{border-left:5px solid #bc851b}img{max-width:100%;height:auto}table{border-collapse:collapse;background:white;display:block;overflow:auto}td,th{border:1px solid #cddbd2;padding:8px;text-align:left}</style><main><nav><a href="/results/r112/">Synthetic training</a> Â· <a href="/results/r112/grouped-synthetic/">Grouped scenes</a></nav><h1>Can automatic proposals recover the inserted supports?</h1><p class="notice"><strong>Weak synthetic development diagnostic, not real segmentation accuracy.</strong> Source masks and identities are unverified model hypotheses, and their projected extents do not establish visible anatomy. Academy backgrounds can contain unannotated diatoms; unmatched predictions are not confirmed false positives. The scene sources and slides were used in earlier work, and filename grouping does not prove biological independence.</p><p>All 48 local comparison scenes were resized from 768 to 512 pixels and processed without revealing insertion positions. MobileSAM used fixed grids of 64 or 256 image-only points; the YOLOv8 model is the earlier R95 mixed-12 development checkpoint, not a latest or out-of-box model. Model candidates are matched one-to-one to projected weak supports. The main table includes supports of at least 50 pixels after resizing; it is a measure of matching these synthetic proxies, not biological recall or precision.</p><table><tr><th>Model</th><th>Top 30 Â· IoU â‰¥0.5</th><th>Top 30 Â· IoU â‰¥0.75</th><th>All candidates Â· IoU â‰¥0.5</th><th>Candidates across 48 scenes</th></tr>u»  </table><h2>Overlapping and partial proxy supports</h2><p>Counts use the same per-scene one-to-one assignments, so categories may overlap and must not be summed. Overlap is measured on the resized projected supports; clipping is measured on the original projected support and is not confirmed biological truncation. The last row uses the separate all-nonempty matching denominator.</p><table><tr><th>Proxy category Â· top 30 Â· IoU â‰¥0.5</th>c              #   ój   "  € T F)  pR \        \        V,          4      ,           R,           x € K+  	  R# 5i)z<th>r)   N)ÚeÚnamesr3   s   & r   r!   r!   '   sg   é € ð  }%k&ñ  b&j&ð  ]&^&ð  ~%D&ô  E&F&ô  G&L&ð  M&N&õ  G&O&ó  E&P&õ  ~%P&ð  Q&X&÷  ~%X&ò  ~%X&ó  b&j&ùs   ‚13u}  </table><p><a href="protocol.json">Frozen protocol</a> Â· <a href="summary.json">Aggregate counts</a> Â· <a href="results.json">All per-scene scores and rankings</a> Â· <a href="verify.json">Reconstruction and scoring checks</a> Â· <a href="inference-replay.json">Four-scene inference replay</a></p><h2>All 48 comparison scenes</h2><p>Yellow outlines are unverified projected supports. Green outlines are top-30 candidates assigned to one of those supports at IoU â‰¥0.5; orange outlines are other candidates and are <strong>not confirmed false positives</strong>. Overlay drawing order can hide overlaps. Click any panel to enlarge.</p>z</main></html>z
index.htmlÚtop30_main_05)r   r   r	   )Ú10r
   Ú60r   )r   r   r   znonempty_0.75))Úoverlap_at_512zSupport overlaps another)Úweak_support_in_frame_lt_095z!Less than 95% of support in frame)Úweak_support_in_frame_lt_050z!Less than 50% of support in frame)é   r_   )éÿ   éÜ   éP   )r   r	   )é(   éÒ   é–   )éõ   re   rc   )i  ih  )é@  rg   )gÚ__doc__r   ÚhtmlÚjsonÚpathlibr   rB   ÚnumpyÚnpÚPILr   r   Ú__file__ÚresolveÚparentsÚRÚDÚOÚloadsÚ	read_textÚrr$   r   rX   r1   r   ÚbudgetÚmetricr   ÚrefsÚdefaultdictr   r    r.   Úitemsr4   ÚxÚdictÚsumÚ
write_textÚdumpsÚlenÚescaperW   ÚtableÚaÚbÚcr-   ÚsubrowsÚkeyÚlabelÚvalsÚjoinr2   ÚtinyÚcardsÚsÚasarrayÚopenÚconvertÚresizeÚ
ResamplingÚLANCZOSr6   ÚloadÚzÚtupleÚshapeÚ
unpackbitsÚprodÚreshaperD   ÚboolÚcandsÚshape2ÚcvtColorÚCOLOR_GRAY2RGBÚbaseÚcopyÚviewsrM   rI   ÚviewÚrankÚixÚappendÚnewÚpaneÚDrawÚdrawÚ	enumerateÚjÚtitleÚpasteÚ	fromarrayÚtextÚfnÚsaveÚsamÚyÚpageÚprint)r}   r   r4   s   000r   Ú<module>r¹      sw  ðÙ Oß Ó Ý ß ß Ù€xƒ.×ÑÓ×"Ñ" 1Õ%€¨Ð*JÕ(J aÈQÐOnÕMnÈ1Ðqu×q{Òq{Ð}~ð  @Nõ  ~N÷  }Yñ  }Yó  }[ó  r\Ðopð  x|÷  xBò  xBð  DEð  FUõ  DU÷  C`ñ  C`ó  Cbó  xcð  dmö  xnó  doñ  xnð  stð  gkõ  elð  mnò  enñ  xnñ  doð  ]cð  yRð  pxð  Zað  bzð  {Cð  D]ð  ^dð  e@ð  YAð  SXð  JLð  BIÜ€FØ€ˆ�Ü%€VØ€'ˆ&…/�&ÑÛG€fØ€7�!ˆT˜;×2Ò2Ñ3OÓP�FØ�	�lˆl€sØ	ˆ*…o�fÕ˜iÕ(¨Õ0°Õ;¸FÕC€AÀGÈQÈyÍ\ÕDYÀGÐZ^Ð`aÐbnÕ`oÕZoÐZ^Ø��{× Ñ Ö"‰ˆˆ! 6¨!¥9¨Y×#7¸¸9½Õ#EÓ#7ÀfÈQÅiÐP\×F]Ð_`ÐamÕ_nÕFnÕF]Ó"ñ ð %.¨g°lÀ4ÈÑQUÐV\ÓQ]Ð#^€7ˆ6…?�6Õ˜6Ó"ô Hñ &ñ %(Ñ'kÐ^_Ð`iÖ^jÓ'kÓ$k€ˆ…Ð"Ô#ñ ð €>Õ× Ñ ˜dŸjšj¨(Ð3UÐV_Ð`aÐbkÕ`lÐmuÑvyÐz{ð  }Fõ  {Gó  wHð  ISð  T[ð  *\ð  deô  fð  gkõ  kô  lð  os÷  ozñ  ozð  mnØ€Ü€FØ
ˆ6…?�4Õ˜Õ$€ w¨v¥°tÕ'<¸[Õ'I QÈGÐTZÍOÐ\aÕLbÐcmÕLnÈ!Ðotð  wAñ  BCð  DIð  JPõ  DQó  BRõ  wRð  S^õ  w^ñ  _bð  cdð  enõ  coó  _põ  wpð  qtõ  wtñ  uxð  yzð  {Gõ  yHó  uIõ  wIð  JUõ  wUñ  VYð  Z[ð  \eõ  Zfó  Vgõ  wgð  hkõ  wkñ  loð  pqð  r~õ  pó  l@õ  w@ð  ALõ  wLñ  MPð  QRð  S\õ  Q]ó  M^õ  w^ð  _bõ  wbñ  cfð  ghð  iuõ  gvó  cwõ  wwð  xCõ  wCñ  DGð  HOð  PVõ  HWð  Xiõ  Hjó  Dkõ  wkð  lxõ  wxõ  pxÓotñ à
€ó K�I€CˆÙFNÓOÁh¸F€wˆv…�tÕ˜ZÕ(¨Õ2°3×7Ð7ÁhÑO€ÐPWÐYcÑdeÐfkÓdlÕYlÐmtÕYtÐuw×u|Ñu|ñ  }Fñ  AEó  }Fó  vFõ  ZFð  GNõ  ZNõ  QNÒPWñ KàˆhÕ˜Õ˜nÕ-¨hÕ7Ð8NÕOÐP\Õ]€Ðce×cjÑcjñ  koñ  fnó  koó  doÐ^bð  pwð  yCð  DHõ  yHð  IPõ  yPõ  pPð  pwØ€ØˆY�<‰<€CØ	ˆ#ˆj�/Õ€ §¢¨E¯JªJ°q¸¸7½µ|Ó,D×,LÑ,LÈSÓ,Q×,XÑ,XÐYbÐch×csÑcs×c{Ñc{Ó,|Ó!}˜5ð  AC÷  AHò  AHð  IJð  KNð  OXõ  KYõ  IYó  AZÐ~ñ  afð  ghð  iuõ  gvó  awð  [`ð  ~@÷  ~Kò  ~Kð  LMð  NYõ  LZó  ~[ð  \kð  ]_÷  ]dò  ]dð  ejó  ]kð  ~l÷  ~tñ  ~tð  uzó  ~{÷  ~Bñ  ~Bð  CGó  ~Hð  x}ñ  PUð  VWð  Xiõ  Vjó  Pkð  IOð  qs÷  q~ò  q~ð  @ð  AQõ  Ró  qSð  Tdð  UW÷  U\ò  U\ð  ]có  Udð  qe÷  qmñ  qmð  ntó  qu÷  q|ñ  q|ð  }Aó  qBð  lpð  HK÷  HTò  HTð  UZð  [^÷  [mñ  [mó  Hnð  CGð  w~ð  C÷  Hñ  Hó  Jð  vKð  Mfð  gk÷  gpñ  gpó  grð  Lsð  utð  otòzã€T‘'˜% �( 1�+ d¨<Ö8‰TÛ €VØ‡y�yƒ{€$˜˜J�¨Õ/°	Õ:¸3Õ?�4ÐgjÐkuÕgvÐw}Õg~ð  @Iõ  hJð  KOõ  hPð  QZõ  h[ð  \fõ  hgð  huö  hvó  Iwñ  hvÐbcÐK\×I]ÐI]ñ  hvñ  IwÀÛ€b‘˜˜e B�i¸¸g¼©È<ÖX‰DØ‡,�,��f•˜lÕ*¨4Ð0Ö1ñ !ð ‡i‚i��j Ó)€¨y¯~ª~¸dÓ/C¨$Ù  Ö'�^€Q�|ˆˆd¨¯
©
°5·?²?À4Ó3H×3OÑ3OÐPYÓ3ZÐ\]Ð^aÕ\aÐbcÕ\cÐdfÐ[gÔ(hÐim×irÑirÐtuÐvyÕtyÐz{Õt{Ð|}Ðs~ð  @Eð  KTÐirö  jUÑ'Øˆ
…OÐ%Õ%€ d§i¡i°°"µ¸R iÔ&@ÀSÈÅ_ÐU]ÕE^Ð_hÕEiÐjnÕEoÐpyÕEzð  |Fõ  FGÀð  JMð  NXõ  JYð  Z`õ  Jað  bkõ  Jlð  mqõ  Jrð  s|õ  J}ð  ~Hõ  JIð  HIð  JO÷  JVñ  JVð  Wfñ  ghð  ilð  mwõ  ixó  gyõ  Wyð  zsõ  Wsñ  twð  x{ð  |Eõ  xFó  tGõ  WGð  HKõ  WKñ  LOð  PSð  T`õ  Paó  Lbõ  Wbð  ctõ  Wtñ  uxð  yzð  {Dõ  yEó  uFõ  WFð  GJõ  WJñ  KNð  OPð  Q]õ  O^ó  K_õ  W_ð  `põ  Wpð  qsõ  Wsð  tQõ  WQð  RTõ  WTð  UF	õ  WF	ñ  G	H	ð  I	J	ð  K	R	õ  I	S	ó  G	T	õ  WT	ð  U	x	õ  Wx	ñ  y	z	ð  {	~	ð  	H
õ  {	I
ó  y	J
õ  WJ
ð  K
Cõ  WC÷  JDñ ð mð  nsõ  sð  tu%õ  u%ð  v%x%÷  v%}%ñ  v%}%ñ  }%k&ñ  b&j&ó  }%k&ó  v%k&õ  k&ð  l&s&õ  s&ð  t&{&õ  {&ð  |&0õ  0ð  @1B1÷  @1G1ñ  @1G1ð  H1M1ó  @1N1õ  N1ð  O1c1õ  c1€ð  e1f1ð  g1s1õ  e1s1÷  d11ñ  d11ð  @2D2ô  d1E2ñ  F2K2ð  L2P2÷  L2V2ò  L2V2ð  X2`2ñ  a2d2ð  e2f2ð  g2p2õ  e2q2ó  a2r2ð  s2B3ñ  l3t3ó  C3u3ñ  l3t3ð  g3h3ð  F3M3ð  N3O3õ  F3P3ð  Q3U3õ  F3V3ð  W3a3õ  F3b3ò  D3b3ñ  l3t3ñ  C3u3ð  W2v3ð  ~33ô  L2@4ö  F2A4ùòC doùò$ Pùò Iwùò C3u3s   Â5g(Ï .g-Ú2g2æ8 g7