+
    ß¶k§  ã            
       óœ  € R t ^ RIt^ RIt^ RIHt ^ RIHtHt ]! ]4      P                  4       P                  ^,          t]R,          t]R,          t]R,          t]R,          t]P                   ! ]R,          P#                  4       4      t]P                   ! ]R	,          P#                  4       4      t]P                   ! ]R
,          P#                  4       4      t]P                   ! ]R	,          P#                  4       4      t]P,                  tR]R,          R,          3R]R,          R,          3R]R,          R,          R,          3R]R,          R,          3R]R,          R,          R,          3R]R,          R,          3.tRP3                  R ] 4       4      t. t]R,          R,           EF_  t]R,          t]P<                  ! ]]R,           ,          4      P?                  R 4      PA                  R>4      t!]P<                  ! ]]R!,          ,          4      P?                  R 4      PA                  R>4      t"]PF                  ! R R?^ÿ4      t$]PJ                  ! ]$4      t&]&PO                  R@R"^R#7       ]&PO                  RAR$^R#7       ]$PQ                  ]!RB4       ]$PQ                  ]"RC4       ]R%,           t)]$PU                  ]]),          ^ZR&7       ]PW                  R']! ]4      ,           R(,           ]),           R),           ]),           R*,           4       EKb  	  ]R,          R,          R+,          t,]R,          R,          R+,          t-].! R, ]/! ]R-,          ],]-4       4       4      t0].! R. ]/! ]R-,          ],]-4       4       4      t1].! R/ ]R,           4       4      t2].! R0 ]R,           4       4      t3R1],           R2,           ]4! ]04      ,           R3,           ]4! ]14      ,           R4,           ]5! ]2R54      ,           R6,           ]5! ]3R54      ,           R7,           RP3                  ]4      ,           R8,           t6]R9,          Po                  ]64       ]8! R:]0R;]1R<]2R=]34       R# )DzHPublish paired renderer views and developmental source-name comparisons.N)ÚPath)ÚImageÚ	ImageDrawz results/r112/weak-development-v1z,results/r112/design/synthetic-training-pilotz)results/r112/design/linear-training-pilotz&results/r112/design/transmission-studyzmanifest.jsonzresults.jsonzprotocol.jsonz	Real onlyÚbaseline_countsÚrealzOriginal additive onlyÚ	syntheticzTransmission proxy onlyÚalternativeÚtransmission_onlyÚcorrectzReal + original additiveÚreal_plus_syntheticzReal + transmission proxyÚreal_plus_transmissionzReal + transformed controlÚreal_plus_transformedÚ c              #   ó†   "  € T F7  w  rR \        V4      ,           R,           \        V4      ,           R,           x € K9  	  R# 5i)z<tr><th>z	</th><td>z/50</td></tr>N)ÚeÚstr)Ú.0ÚkÚvs   &  Ú$research/r112_transmission_report.pyÚ	<genexpr>r      sŠ   é € ð  w~ñ  v}ñ  orð  opð  xBô  CDð  EFó  CGõ  xGð  HSõ  xSô  TWð  XYó  TZõ  xZð  [j÷  xjò  xjó  v}ùs   ‚?AÚrecords:Né   NÚscene_idz.pngÚLÚimagezOriginal additive)ÚfillzTransmission proxyz-comparison.jpg)Úqualityz<article><h3>z</h3><a href="z"><img loading="lazy" src="zG" alt="Original and transmission proxy scene comparison"></a></article>Úpredictionsc              #   ód   "  € T F&  w  rq2VR ,          8g  ;'       d    W1R ,          8H  x € K(  	  R# 5i©ÚspeciesN© ©r   ÚcÚxÚys   &   r   r   r   
   s|   é € ð  Njñ  @iñ  w|ð  wxð  {|ð  RSð  T]õ  R^ñ  O^÷  Orð  Orð  cdð  hqõ  frñ  crô  Oró  @iùó   ‚0œ0Ú
validationc              #   ód   "  € T F&  w  rq2VR ,          8H  ;'       d    W1R ,          8g  x € K(  	  R# 5ir    r"   r#   s   &   r   r   r   
   s|   é € ð  sOñ  eNñ  \að  \]ð  `að  wxð  yBõ  wCñ  tC÷  tWð  tWð  HIð  MVõ  KWñ  HWô  tWó  eNùr'   c              #   ó2   "  € T F  qR ,          x € K  	  R# 5i)Úabove_255_before_clippingNr"   ©r   r%   s   & r   r   r   
   s6   é € ð  XNñ  AMð  |}ð  [v÷  Ywò  Ywó  AMùó   ‚c              #   ó2   "  € T F  qR ,          x € K  	  R# 5i)Ú,new_boundary_values_vs_background_in_supportNr"   r,   s   & r   r   r   
   s6   é € ð  [dñ  Wcð  RSð  ^L÷  \Mò  \Mó  Wcùr-   uä  <!doctype html><html lang="en"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Translucency rendering comparison</title><style>body{font:16px/1.55 system-ui;background:#f4f6f0;color:#193b37;margin:0}main{max-width:1050px;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}td,th{border:1px solid #cddbd2;padding:8px;text-align:left}</style><body><main><nav><a href="/results/r112/">Synthetic training</a> Â· <a href="/results/r112/design/linear-training-pilot/">Prior classifier comparison</a></nav><h1>Testing a transmission-style renderer</h1><p class="notice"><strong>Development study, not a validated optical model or held-out accuracy test.</strong> The source names and supports are unverified; backgrounds may contain other diatoms. The 50 validation crops were used in earlier experiments. The classifier is closed-set and uses known insertion rectangles, so this does not test detection, segmentation or Academy performance.</p><p>In 240 paired scenes, the same unverified source cutouts were inserted at the same positions and scales over the same backgrounds. The alternative multiplies the background by a function of each source's intensity relative to its estimated local background, with the prior opacity and contrast settings. That is a simple grayscale transmission proxy: camera response and optical parameters are not calibrated. The formula applies to overlapping inserts, but does not prove realistic transparency.</p><table><tr><th>Linear-head reference views</th><th>Matches to source names</th></tr>zb</table><p>The mixed transmission head and the prior mixed additive head both matched 32/50, with z newly matching and a   no longer matching. Transmission-only matched 17/50 versus 24/50 for additive-only. These correlated, previously used crops do not establish whether either renderer generalizes or preserves the details needed for species identification.</p><p>The proxy produced Ú,z3 scene-pixels above 255 before final clipping, and uª   pixels inside at least one projected support ended at 0 or 255 where the original background had neither boundary value. These are saturation indicators, not measures of biological realism. Source/background differences, unmodeled optics and clipping all remain limitations.</p><p><a href="protocol.json">Predeclared protocol</a> Â· <a href="manifest.json">All paired images and provenance</a> Â· <a href="results.json">Training and prediction scores</a> Â· <a href="verify.json">Reconstruction checks</a></p><h2>Paired scene examples</h2><p>The first 12 scenes in the existing manifest are shown; insertions and weak supports are identical between each pair. Click to enlarge.</p>z</main></body></html>z
index.htmlÚgainÚlostÚpreclipÚboundary)é|  r5   )i  i¤  )é   r6   )é‹  r6   )r6   é   )r7   r8   )9Ú__doc__ÚhtmlÚjsonÚpathlibr   ÚPILr   r   Ú__file__ÚresolveÚparentsÚRÚSÚPr   ÚOÚloadsÚ	read_textÚmÚrÚpÚprevÚescaper   ÚmethodsÚjoinÚtableÚcasesÚrowÚnameÚopenÚconvertÚresizeÚaÚbÚnewÚpaneÚDrawÚdÚtextÚpasteÚfnÚsaveÚappendÚoriginalr   ÚsumÚzipr1   r2   Úclipr4   r   ÚformatÚpageÚ
write_textÚprintr"   ó    r   Ú<module>ri      s„  ðÙ Nß Ý ß Ù€xƒ.×ÑÓ×"Ñ" 1Õ%€¨Ð*LÕ(L aÈqÐQÕOÈQð  CDð  Epõ  Cpð  ABð  stð  u]õ  s]ð  qrð  `d÷  `jò  `jð  lmð  n}õ  l}÷  kHñ  kHó  kJó  `Kð  ^_ð  NR÷  NXò  NXð  Z[ð  \jõ  Zj÷  Yuñ  Yuó  Ywó  Nxð  LMð  {÷  {Eò  {Eð  GHð  IXõ  GX÷  Fcñ  Fcó  Feó  {fð  yzð  lp÷  lvò  lvð  xyð  zHõ  xH÷  wSñ  wSó  wUó  lVð  gkð  Y]÷  Ydñ  Ydð  WXØ
�aÐ)Õ*¨6Õ2Ð	3Ð5MÈaÐPaÕNbÐcnÕNoÐ4pð  sLð  MNð  O\õ  M]ð  ^qõ  Mrð  s|õ  M}ð  r~ð  @Zð  [\ð  ]nõ  [oð  pEõ  [Fð  Gð  Idð  efð  gtõ  euð  vNõ  eOð  PYõ  eZð  H[ð  ]yð  z{ð  |Mõ  zNð  Ofõ  zgð  \hð  	i€ð  pr÷  pwñ  pwñ  w~ñ  v}ó  w~ó  p~ð  joØ€ØˆY�<˜×Ñ€CØ	ˆ*…o€˜Ÿ
š
 1 d¨6¥k¥?Ó3×;Ñ;¸CÓ@×GÑGÈ	ÓR�aÐUZ×U_ÒU_Ð`aÐbeÐfmÕbnÕ`nÓUo×UwÑUwÐx{ÓU|÷  VDñ  VDð  ENó  VOÐSTð  UZ÷  U^ò  U^ð  _bð  clð  mpó  Uqð  PTð  t}÷  tBò  tBð  CGó  tHð  rsð  IJ÷  IOñ  IOð  PUð  Við  oqð  IOô  Irð  st÷  syñ  syð  zAð  BVð  \^ð  syô  s_ð  `d÷  `jñ  `jð  klð  msô  `tð  uy÷  uñ  uð  @Að  BJô  uKð  OSð  Teõ  Oeð  LNð  fj÷  foñ  foð  pqð  rtõ  ptð  }ð  foô  f@ð  AF÷  AMñ  AMð  N]ñ  ^_ð  `dó  ^eõ  Neð  fvõ  Nvð  wyõ  Nyð  zWõ  NWð  XZõ  NZð  [dõ  Nd÷  Aeñ à	ˆi�Ð.Õ	/°Õ	>€È1È]ÕK[Ð\tÕKuð  wDõ  LE¸{ñ  KNñ  Njñ  @Cð  DEð  FRõ  DSð  T\ð  ]hô  @ió  Njó  Kjð  FJñ  psñ  sOñ  ehð  ijð  kwõ  ixð  yAð  BMô  eNó  sOó  pOð  koñ  UXñ  XNð  ABð  CLö  AMó  XNó  UNð  PTñ  X[ñ  [dð  WXð  Ybö  Wcó  [dó  Xdð  OWð  jT#ð  U#Z#õ  jZ#ð  [#C%õ  jC%ñ  D%G%ð  H%L%ó  D%M%õ  jM%ð  N%h%õ  jh%ñ  i%l%ð  m%q%ó  i%r%õ  jr%ð  s%@*õ  j@*ñ  A*G*ð  H*L*ð  M*P*ó  A*Q*õ  jQ*ð  R*K+õ  jK+ñ  L+R+ð  S+[+ð  \+_+ó  L+`+õ  j`+ð  a+Q6õ  jQ6ð  R6T6÷  R6Y6ñ  R6Y6ð  Z6_6ó  R6`6õ  j`6ð  a6|6õ  j|6ð  eið  ~66ð  @7L7õ  ~6L7÷  }6X7ñ  }6X7ð  Y7]7ô  }6^7ñ  _7d7ð  e7k7ð  l7p7ð  q7w7ð  x7|7ð  }7F8ð  G8K8ð  L8V8ð  W8_8ö  _7`8rh   