Repository navigation
Phos v4.7.2
Phos v4.7.2
修复 macOS 蒙版覆盖预览与旋转径向蒙版几何镜像问题,全面支持 MLMultiArray Core ML 模型分块推理并补齐全部 5 槽位一键安装脚本。
主要更新 / Highlights
- 修复蒙版选区预览满屏变红:将线性渐变 / 径向渐变 / 亮度范围等蒙版的红膜叠加改由 Core Image
Engine.maskOverlayImage直接写入真实预乘 Alpha,避开 macOSNSHostingView丢弃 SwiftUI.mask(.luminanceToAlpha())导致全图实心覆盖的问题。 - 修复旋转径向蒙版渲染镜像与手柄坐标:统一径向蒙版渲染内核与画布交互参考线的旋转角符号,并修正
rxD/ryD宽高轴手柄互换问题;同步移除对线性渐变与亮度范围无效的「蒙版羽化」滑杆。 - Core ML 引擎原生支持
MLMultiArray模型:升级CoreMLSkyEngine(U²-Net 天空分割)与CoreMLImageModelManager(SCUNet 降噪 / RealESRGAN 2x 超分),同时兼容Image与MLMultiArray(NCHW/NHWC、FP16/FP32)模型,支持动态 tile 尺寸与边缘加窗无缝拼接。 - 补齐全部 5 槽位 Core ML 一键部署脚本:新增
install_sky_model.sh、install_denoise_model.sh、install_superres_model.sh及install_all_coreml_models.sh,并在模型中心面板全部接入可复制命令;全部 5 个脚本原生支持HF_ENDPOINT国内镜像。
English Summary
- Fixed mask selection overlay solid-red flood on macOS:
Engine.maskOverlayImagenow renders premultiplied-alpha Ruby Red overlays directly in Core Image, avoidingNSHostingViewdropping.luminanceToAlpha(). - Fixed rotated radial gradient mirroring & swapped handles: aligned radial angle sign between Metal/CI rendering and canvas guides, fixed
rxD/ryDhandle axes, and removed the inert feather slider on linear & luminance masks. - Native
MLMultiArrayCore ML support: upgraded Sky Segmentation, Denoise, and 2x Super Resolution engines to run both Image andMLMultiArray(NCHW/NHWC, FP16/FP32) Core ML models with dynamic tiling and Hann-window blending. - One-click installers for all 5 Core ML slots: added sky, denoise, super-res, and all-in-one scripts with
HF_ENDPOINTmirror support, wired directly into the in-app Model Hub.
SHA-256 Checksums
36924681fb7f53d45b1e5b89c6dd24f28939dcfa3d4e42b822e786f76774d8d0 Phos-macOS-apple-silicon.dmg
8bf1519cd530b3558b5dcc8fc30ef38906446475457cd5bd49064deb7eaac521 Phos-macOS-apple-silicon.zip
b58bcf1bd992d1b70a0ef0c80bc6aab00eea2128e7ec39c481947cdad7b0cce9 Phos-Optional-Model-Installer.zip