修复注释乱码

This commit is contained in:
李伟
2026-04-14 17:11:31 +08:00
parent b8bcefc84b
commit cd03e30bb8
58 changed files with 761 additions and 767 deletions
@@ -1,21 +1,21 @@
// ============================================================================
// Copyright © 2026 Hexagon Technology Center GmbH. All Rights Reserved.
// 文件å? DifferenceProcessor.cs
// æè¿°: 差分è¿ç®—ç®—å­ï¼Œç”¨äºŽè¾¹ç¼˜æ£€æµ‹å’Œå˜åŒ–检æµ?
// 文件名: DifferenceProcessor.cs
// 描述: 差分运算算子,用于边缘检测和变化检测
// 功能:
// - 对图åƒè¿›è¡Œå·®åˆ†è¿ç®?
// - æ”¯æŒæ°´å¹³ã€åž‚直和对角线差åˆ?
// - å¯ç”¨äºŽè¾¹ç¼˜æ£€æµ?
// - å¯é€‰å½’一化输å‡?
// 算法: åƒç´ çº§å·®åˆ†è¿ç®?
// 作è€? æŽä¼Ÿ wei.lw.li@hexagon.com
// - 对图像进行差分运算
// - 支持水平、垂直和对角线差分
// - 可用于边缘检测
// - 可选归一化输出
// 算法: 像素级差分运算
// 作者: 李伟 wei.lw.li@hexagon.com
// ============================================================================
using Emgu.CV;
using Emgu.CV.Structure;
using XP.ImageProcessing.Core;
using Serilog;
using System.Drawing;
using XP.ImageProcessing.Core;
namespace XP.ImageProcessing.Processors;
@@ -96,7 +96,7 @@ public class DifferenceProcessor : ImageProcessorBase
}
else // Both
{
// 梯度幅� sqrt((dx)^2 + (dy)^2)
// 梯度幅值: sqrt((dx)^2 + (dy)^2)
for (int y = 0; y < height - 1; y++)
{
for (int x = 0; x < width - 1; x++)