|
|
@ -87,8 +87,8 @@ export const useTargetStorage = () => { |
|
|
|
radius: info.radius || 40.0, |
|
|
|
isReferencePoint: info.base || false, |
|
|
|
// 根据实际数据结构映射阈值
|
|
|
|
gradientThreshold: threshold.gradient || 100, // 梯度阈值
|
|
|
|
anchorThreshold: threshold.anchor || 80, // 锚点阈值
|
|
|
|
gradientThreshold: threshold.gradient , // 梯度阈值
|
|
|
|
anchorThreshold: threshold.anchor, // 锚点阈值
|
|
|
|
gaussianBlurThreshold: threshold.gauss || 3, |
|
|
|
binaryThreshold: threshold.binary || 120, // 保留二值化阈值
|
|
|
|
hasAdvancedConfig: true, // 有配置数据的都认为是有高级配置
|
|
|
@ -145,8 +145,8 @@ export const useTargetStorage = () => { |
|
|
|
threshold: { |
|
|
|
binary: target.binaryThreshold || 120, |
|
|
|
gauss: target.gaussianBlurThreshold || 1, |
|
|
|
gradient: target.gradientThreshold || 100, |
|
|
|
anchor: target.anchorThreshold || 80, |
|
|
|
gradient: target.gradientThreshold, |
|
|
|
anchor: target.anchorThreshold, |
|
|
|
}, |
|
|
|
radius: parseFloat(target.radius) || 40.0, |
|
|
|
id: target.id || target.key, |
|
|
|