Repository navigation
Phos v4.9.0
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°磁吸、Option0.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 invertedVNDetectHorizonRequestsign that doubled tilt errors; addedEngine.autoStraightenResultfusing Scharr + directional NMS + Radon line peaks + weighted orthogonal PCA + left/right keystone symmetry filtering + Vision confidence, pluspreStraightenSize, aspect-awareinscribedCrop,isAutoTrimCrop, andconstrainCropRect. - Precision Level Dial & Rebuilt Crop UX: replaced raw normalized
cropX/Y/W/Hinspector 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; addedLevelRulerControl(-45°…+45°sliding dial,0°detent,Option0.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
FilmPrintPresetmodes 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,NeuralDenoiseEnginecaching,isInteractiveDraft140ms settle pipeline, and toolbarfullResButton.
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