Skip to content

Phos v4.9.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 12:32
· 6 commits to main since this release

Phos v4.9.0

引入物理胶片印片管线(FilmPrint)与 Metal GPU 纹理池/LUT 加速,彻底重做多线索自动水平与精密水平刻度尺 / 画布裁剪交互,并继续同步提供独立的精选胶片 LUT 与端侧模型可选安装包。

主要更新 / Highlights

  • 多线索自动水平重做与符号修复(Engine.swift):修复 VNDetectHorizonRequest 倾角取反导致反向加倍歪斜的缺陷;新增 Engine.autoStraightenResult(Scharr 梯度 + 方向 NMS + Radon 直线投影峰值 + 2×2 加权正交 PCA 精拟 + 左右竖线对称透视过滤 + Vision 地平线置信度融合),兼顾风光地平线与无海平面建筑/室内场景,并免疫仰拍对称汇聚与斜坡误判。
  • 精密水平刻度尺与画布裁剪交互重塑:移除右侧检视器 裁左 / 裁上 / 宽 / 高 4 个小数滑杆,改为画幅比例快选网格(自由 / 原图 / 1:1 / 4:3 / 3:2 / 16:9 / 5:4 + 横竖切换 + 比例锁定)与实时裁切像素读数;新增 LevelRulerControl 滑动角度刻度尺(-45°...+45°、0° 磁吸、Option 0.25× 微调、双击归零、±0.2° 微调及拖动叠加 9×9 对齐参考网格);默认开启旋转防黑角裁边且归零恢复全幅;新增画布「拉线找平」(StraightenLineOverlay)与外区转盘旋转倾角、L 形高对比角标。
  • 物理胶片印片管线(FilmPrint)与 GPU/Metal 加速:新增 4 组 FilmPrintPreset(日常人像负片、电影印片、反转正片、柔调日系)与 5 个 Metal 物理显影/预处理内核;新增 MetalEngine 有界 GPU 私有纹理池(16 张 / 48 MB 上限)与安全数学模式;CLUTLibrary.apply 改为单份 64³ 缓存 + GPU 线性混合 + 高光保护;接入交互草稿(isInteractiveDraft)与独立「全像素预览」工具栏开关(fullResButton)。
  • 独立可选工具包:同步附带 Phos-Optional-Model-Installer.zip(可选端侧 AI 模型)与 Phos-Optional-LUT-Installer.zip(34 款 sRGB 适配精选胶片 LUT 安装脚本)。

English Summary

  • Multi-cue Auto Level & Vision sign fix (Engine.swift): fixed the inverted VNDetectHorizonRequest sign that doubled tilt errors; added Engine.autoStraightenResult fusing Scharr + directional NMS + Radon line peaks + weighted orthogonal PCA + left/right keystone symmetry filtering + Vision confidence, plus preStraightenSize, aspect-aware inscribedCrop, isAutoTrimCrop, and constrainCropRect.
  • Precision Level Dial & Rebuilt Crop UX: replaced raw normalized cropX/Y/W/H inspector sliders with aspect preset grid (Free / Original / 1:1 / 4:3 / 3:2 / 16:9 / 5:4, orientation flip, aspect lock) and live cropped pixel readout; added LevelRulerControl (-45°…+45° sliding dial, 0° detent, Option 0.25× fine drag, double-click reset, ±0.2° nudges, 9×9 alignment grid), automatic black-corner constraint with 0° rebound, on-canvas Line Level Tool, outer-frame turntable rotation, L-shaped high-contrast corner brackets and dual top/bottom Crop HUD.
  • Physical FilmPrint Pipeline & Metal GPU Optimization: added 4 FilmPrintPreset modes and 5 Metal compute kernels (film_print_expose_density, film_print_blur_h, film_print_blur_v, film_print_develop_print, pre_lut_shaper), bounded Metal private texture pooling (16 textures / 48 MB), single-LUT GPU dissolve blending, NeuralDenoiseEngine caching, isInteractiveDraft 140ms settle pipeline, and toolbar fullResButton.

SHA-256 Checksums

09bdf8733b88c1e3a54664d4c8e3627359dce7a329b375bec58d81f3f04bf2f0  Phos-macOS-apple-silicon.dmg
8a57e19052717c5d8ea9b808b0682193695ecc5eec98103f401361de108f65f8  Phos-macOS-apple-silicon.zip
d68a1cdae6f0523c07e91847a8701f6135caca97c0e14cbd3cce0c8dfbd00625  Phos-Optional-Model-Installer.zip
8ebdcc3907001ceea3e532b097bbc0a9f990706f8d6600abeca9021f601beb71  Phos-Optional-LUT-Installer.zip