+
    =!kW  ã                   ó  € R t ^ RIt^ RIt^ RIt^ RIHt ^ RIt^ RIH	t	 ]! ]
4      P                  4       P                  ^,          t]R,          tR t]P                   ! ]R,          P#                  4       4      t]P                   ! ]R,          P#                  4       4      t]! ]R,          4      ]R,          8X  g   Q h]! ]R	,          4      ^8X  g   Q h]P                   ! ]]R
,          ,          P#                  4       4      R	,          t]P                   ! ]]R,          ,          P#                  4       4      R	,          t]! ]]R
,          ,          4      ]R,          8X  d#   ]! ]]R,          ,          4      ]R,          8X  g   Q h]R	,           EF#  t]! ]]R,          ,          4      ]R,          8X  dg   ]! ]]R,          ,          4      ]R,          8X  dE   ]! ]]R,          ,          4      ]R,          8X  d#   ]! ]]R,          ,          4      ]R,          8X  g   Q h]P0                  ! ]]R,          ,          4      t]P0                  ! ]]R,          ,          4      t]R,          t]R,          t]R,          P;                  4       t]R,          t]P@                  ! ]]R,          R8X  d
   ]R,          M]R,          ],          4      '       g   Q h]!! R ]PD                  ! ]4       4       R R7      t#]#]R,          u;8X  d   ]R ,          P;                  4       8X  g   Q h Q h]#'       d&   ]PH                  ! ]# U u. uF  p ]V 8H  NK
  	  up 4      M]PJ                  ! RA]&4      t'RB FK  t(RC FB  t)]	! ]]](R!8X  d   ]'M]'R]( ])4      ]R",          ]*! ](4      ,          ]*! ])4      ,          8X  d   KB  Q h	  KM  	  EK&  	  ]+! R#4       . t,RD F£  t-]R	,           Uu. uF  qR,          ]-8X  g   K  VNK  	  upt.]/! R$ ]. 4       4      t(RE Fc  t)]/! R& ]. 4       4      t0]/! R' ]. 4       4      t1],Pe                  R(]-Pg                  4        R)]) R)]0 R*]( R)]1 R*]( R)]/! R+ ]. 4       4       R,24       Ke  	  K¥  	  . t4]R	,           F¯  t]4Pe                  R-]Pj                  ! ]R.,          4       R/]R0,           R1]R2,           R3]R",          R4,          R%,          R5,           R6]R7,          R4,          R%,          R5,           R8]Pj                  ! ]R,          4       R9]R,           R:]R,           R;24       K±  	  ]R<,          Pm                  R=R>Po                  ],4      ,           R?,           R>Po                  ]44      ,           R@,           4       R# u up i u upi )Fz>Render and independently rescore retained Cellpose label maps.N)ÚPath)Úmatchzresults/l79c                 ó  a€ \         P                  ! 4       p\        V R 4      ;_uu_ 4       o\        V3R lR4       F  q!P	                  V4       K  	  RRR4       VP                  4       #   + '       g   i     TP                  4       # ; i)Úrbc                  ó&   <€ S P                  R 4      # )i   )Úread)Úfs   €Úresearch/l79_report.pyÚ<lambda>Úsha.<locals>.<lambda>
   s   ø€ �q—v‘v˜g”ó    r   N)ÚhashlibÚsha256ÚopenÚiterÚupdateÚ	hexdigest)ÚpÚhÚbr   s   &  @r	   Úshar      sY   ø€ Ü
‡>‚>Ó€Ü
ˆ1ˆT‡l„l�aÜÔ& sÖ+€a¯H©H°Q®KÑ+÷ à	�‰‹Ð÷ †là	�‰‹Ðús   «(A+Á+B
	zresults.jsonzprotocol.jsonÚprotocol_sha256ÚrecordsÚsource_realÚsource_syntheticÚsource_real_sha256Úsource_synthetic_sha256ÚsourceÚsource_sha256Úsource_archiveÚsource_archive_sha256ÚarchiveÚarchive_sha256ÚimageÚimage_sha256ÚlabelsÚcellprobÚrefidsÚrefsÚgroupÚrealc              #   óJ   "  € T F  q'       g   K  \        V4      x € K  	  R # 5i©N)Úint)Ú.0Úxs   & r	   Ú	<genexpr>r0      sK   é € ð  jOñ  {Ið  vwó  MNô  kqô  knð  op÷  kqð  kqó  {Iùs   ‚	#�#c                 ó^   € \        \        \        V 8H  ,          P                  4       4      ) V 3# r,   )ÚfloatÚprobÚlabÚmean)r/   s   &r	   r
   r
      s]   € ô  _dô  eiô  jmð  opñ  jpõ  eq÷  evñ  evó  exó  _yð  ^yð  z{ñ  ]|r   )ÚkeyÚcandidate_orderÚcandidate_labelsÚallÚscoreszFverified 19 archives, source hashes, rankings and every matching scorec              #   ó2   "  € T F  qR ,          x € K  	  R# 5i)Ú
referencesN© ©r.   Úrs   & r	   r0   r0      s   é € Ð;XÑUWÐPQ¸l¿OºOÓUWùó   ‚ú0.5c              #   ód   "  € T F&  qR ,          R,          \         ,          R,          x € K(  	  R# 5i)r:   Ú30ÚmatchedN©Úthr>   s   & r	   r0   r0      s$   é € Ð5±"¨Qˆ(��DÕœ"Õ˜i×(Ò(³"ùó   ‚.0c              #   ód   "  € T F&  qR ,          R,          \         ,          R,          x € K(  	  R# 5i)Ú
mobile_samrC   rD   NrE   r>   s   & r	   r0   r0      s)   é € Ð;mÑjlÐef¸l½OÈDÕ<QÔRTÕ<UÐV_×<`Ò<`ÓjlùrG   z<tr><td>z	</td><td>Ú/c              #   ó2   "  € T F  qR ,          x € K  	  R# 5i)Ú
candidatesNr=   r>   s   & r	   r0   r0      s6   é € ð  Nkñ  hjð  cdð  Q]÷  O^ò  O^ó  hjùr@   z
</td></tr>z<section><h3>Únamez</h3><p>r<   z reference regions; Cellpose rL   z- labels; top-30 matches at IoU 0.5: Cellpose rC   rD   z, MobileSAM rI   z. <a href="/u   ">Source image</a> Â· <a href="z<">Raw labels, probabilities and references</a></p><img src="zN" alt="Reference, top ranked Cellpose masks and all Cellpose masks"></section>z
index.htmluÑ  <!doctype html><html lang="en"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>L79 Cellpose-SAM v2 replay</title><style>body{font:16px/1.55 system-ui;max-width:1100px;margin:2em auto;padding:0 1em;color:#18342f}a{color:#006b59}img{max-width:100%}.box{background:#fff2d6;padding:1em}section{border-top:1px solid #ccc}td,th{padding:.4em;border:1px solid #bbc}table{border-collapse:collapse}</style><a href="/results/board.html">Research board</a> Â· <a href="/results/r91/">Earlier decoder comparison</a><h1>L79: Can Cellpose-SAM v2 supply useful candidates?</h1><p class="box">Exploratory replay on previously examined cases. Eleven public fields contain structurally derived regions with intersecting boxes excluded; they are not a real heavy-overlap benchmark. Eight synthetic cases are opaque composites, not physical microscopy. Source-file separation does not establish biological or model-training independence. Cellpose labels are pixel-exclusive and cannot encode full instances sharing pixels.</p><p>One-to-one matches to visible/source reference regions, at most 30 masks per image. The models use different proposal procedures and compute; candidate counts are not false positives because the references may be incomplete. This is not evidence of human-level performance or species identification.</p><table><tr><th>Cases</th><th>IoU threshold</th><th>Cellpose top 30</th><th>MobileSAM top 30</th><th>Cellpose labels, all</th></tr>Ú uà  </table><p>Cellpose masks are ranked by mean predicted cell probability; it is a model-native heuristic, not calibrated confidence. RGB images, masks, probabilities, flow arrays, source hashes and reference scores are retained. Original scans and focus planes remain available for later classification.</p><p>GÃ¼ndÃ¼z source images and derivatives: <a href="https://www.kaggle.com/datasets/huseyingunduz/diatom-dataset">Diatom Dataset</a>, CC BY-NC-SA 4.0. The <a href="https://huggingface.co/mouseland/cellpose-sam">model card</a> declares BSD-3-Clause, while the <a href="https://github.com/MouseLand/cellpose">Cellpose authors</a> state their models are trained on CC BY-NC data. Verify applicable terms before downstream deployment.</p><p><a href="protocol.json">Protocol and corrected API setting</a> Â· <a href="results.json">Full results</a> Â· <a href="/research/l79_report.py">Rescoring and report code</a> Â· <a href="/research/L79.md">Research note</a></p><h2>Case comparisons</h2>z</html>)é    é   rP   )é
   é   r9   )g      à?g      è?)r*   Ú	synthetic)rA   z0.75)8Ú__doc__Újsonr   ÚhtmlÚpathlibr   ÚnumpyÚnpÚl70_cellposer   Ú__file__ÚresolveÚparentsÚRÚOr   ÚloadsÚ	read_textÚdatar   Úlenr   Ú
source_synr?   ÚloadÚzÚoldr4   r3   ÚtolistÚidsr(   Úarray_equalÚsortedÚuniqueÚorderÚstackÚzerosÚboolÚmasksÚnrF   ÚstrÚprintÚrowsr)   ÚrrÚsumÚar   ÚappendÚtitleÚsectionsÚescapeÚ
write_textÚjoin)Újr?   s   00r	   Ú<module>r€      s…	  ðÙ Dß Ó Ý Û Ý Ù€xƒ.×ÑÓ×"Ñ" 1Õ%€¨¨-­ aòð
 
‡Z‚Z��>Õ!×,Ñ,Ó.Ó/€°$·*²*¸aÀÕ>O×=ZÑ=ZÓ=\Ó2]°ÑehÐijÐkzÕizÓe{ð  ~Bð  CTõ  ~Uô  fUð  _Uð  fUñ  ]`ð  aeð  foõ  apó  ]qð  suô  ]uð  Vuð  ]uØ�JŠJ˜˜!˜MÕ*Õ*×5Ñ5Ó7Ó8¸ÕC€ÈtÏzÊzÐ[\Ð]^Ð_qÕ]rÕ[r×Z}ÑZ}ÓZó  PAð  BKõ  PLÀJñ  TWð  XYð  Z[ð  \iõ  Zjõ  Xjó  Tkð  mnð  oCõ  mDô  TDñ  ILð  MNð  OPð  Qcõ  Odõ  Mdó  Ieð  ghð  iBõ  gCô  ICð  MCð  TCØ	ˆi�‰€AÙˆAˆa��k�MÓ˜A˜oÕ.Ô.±3°q¸Ð;KÕ9LÕ7LÓ3MÈqÐQhÕOiÔ3iÑnqÐrsÐtuÐvõ  uAõ  sAó  oBð  DEð  FVõ  DWô  oWñ  \_ð  `að  bcð  dkõ  blõ  `ló  \mð  opð  qõ  o@ô  \@ð  @ð  	@ð  CE÷  CJò  CJð  KLð  MNð  OXõ  MYõ  KYó  CZð  ABð  _a÷  _fò  _fð  ghð  ijð  k{õ  i|õ  g|ó  _}ð  [^ð  BCð  DLõ  BMð  ~Að  STð  U_õ  S`ð  NRð  efð  goõ  ep÷  ewñ  ewó  eyð  adð  @ð  AGõ  Hð  z~ð  PR÷  P^ò  P^ð  _cð  stð  u|õ  s}ð  Eô  sEð  dgð  hnö  doð  KNð  OUõ  KVð  WZõ  K[÷  P\ò  P\ð  I\ð  P\ñ  ciñ  jOð  {}÷  {Dò  {Dð  EHô  {Ió  jOñ  T|ô  c}ð  ]bð  EJð  LMð  N_õ  L`ö  E@	ð  bcð  dvõ  bw÷  b~ñ  b~ó  b@	ô  E@	ð  ~@	ñ  E@	ð  ~@	ð  E@	÷  l	q	ð  G	I	÷  G	O	ò  G	O	ñ  a	f	ó  P	g	ñ  a	f	ð  \	]	ð  Q	T	ð  V	W	ô  Q	W	ñ  a	f	ñ  P	g	ô  G	h	ð  w	y	÷  w		ò  w		ð  @
K
ð  L
P
ó  w	Q
ð  A	F	Û
€QÛ€b™E $ s°A°u´H©5À%ÈÈÀ)ÈBÓOÐQRÐS[ÕQ\Ñ]`ÐabÓ]cÕQdÑehÐikÓelÕQmÖmÐmÐm‹Hô ñ 
ñ ÐNÔ OØ€Û!€EØ�Y–Ó5‘ˆ1 W¥:¨uÑ#4‡Q€Q‘Ñ5€¹Ñ;XÑUWÓ;XÓ8X°aÛ€RÙÑ5±"Ó5Ó5€!¹Ñ;mÑjlÓ;mÓ8m°aÐnr×nyÑnyð  }Eð  FK÷  FQñ  FQó  FSð  ETð  T]ð  ^`ð  ]að  ajð  klð  jmð  mnð  opð  nqð  qzð  {|ð  z}ð  }~ð  @ð  ~Að  AJñ  KNñ  Nkñ  hjó  Nkó  Kkð  Jlð  lvð  {wö  oxó ñ "ð 
€Ø	ˆi�ˆ€AØ	‡��= §¢¨Q¨v­YÓ!7Ð 8¸ÀÀ<ÅÐ@QÐQnÐopÐq}Õo~Ðnð  @mð  noð  pxõ  nyð  z~õ  nð  @Eõ  nFð  GPõ  nQð  mRð  R^ð  _`ð  amõ  _nð  osõ  _tð  uzõ  _{ð  |Eõ  _Fð  ^Gð  GSð  TX÷  T_ò  T_ð  `að  bjõ  `kó  Tlð  Smð  mLð  MNð  OXõ  MYð  LZð  ZVð  WXð  Y`õ  Wað  Vbð  bpð  qö  rñ 
à€<…× Ñ ð  tð  uw÷  u|ñ  u|ð  }Aó  uBõ  Bð  Ci'õ  i'ð  j'l'÷  j'q'ñ  j'q'ð  r'z'ó  j'{'õ  {'ð  |'E(õ  E(ö  F(ùò P	g	ùò 6s   Ì6U9
ÏU>Ï"U>