diff --git a/XplorePlane/README.md b/XplorePlane/README.md new file mode 100644 index 0000000..1acffe9 --- /dev/null +++ b/XplorePlane/README.md @@ -0,0 +1,65 @@ +## XplorePlane 平面CT软件 + + + +### 系统目标 +XplorePlane 系统用于控制平面 CT 设备的各个子系统(射线源、探测器、运动控制)并完成采集图像的处理与分析,为研发与调试提供统一的软件平台。 +总体架构风格 +- 客户端框架: WPF + Prism MVVM(项目 XplorePlane,目标框架 net8.0-windows)。 +- 图像处理内核: 独立类库 ImageProcessing.Core(算子基类与参数模型)和 ImageProcessing.Processors(具体算子实现),基于 EmguCV。 +- 基础设施: 日志使用 Serilog,序列化使用 Newtonsoft.Json,资源统一通过 WPF 资源系统管理。 + +开发目标 +- 在现有图像处理与 UI 基础上,引入并集成: +- 射线源子系统(X-Ray Source) +- 探测器子系统(Detector) + - 运动控制子系统(Motion Control) + - 通过统一的 CT 扫描工作流,在 UI 中实现一键式扫描、实时状态监控与图像后处理。 + +### 项目框架 + + +```css +XplorePlane/ +├── XplorePlane.csproj # .NET 8 WPF project file +│ +├── App.xaml # Application + global ResourceDictionary +├── App.xaml.cs +│ +├── Views/ +│ └── MainWindow.xaml # Main window (Grid + StackPanel layout) +│ └── MainWindow.xaml.cs # Code-behind (minimal – only TreeView event) +│ +├── ViewModels/ +│ └── MainViewModel.cs # Root VM: navigation, callouts, props, commands +│ └── NavGroupNode.cs # Tree group node VM +│ └── NavLeafNode.cs # Tree leaf node VM +│ └── InspectionCalloutVM.cs # Overlay callout card VM +│ └── CalloutRowVM.cs # Single callout data row VM +│ └── RelayCommand.cs # ICommand implementation +│ +├── Models/ +│ └── FeatureProperties.cs # Bindable domain model for right panel +│ +└── Assets/ + └── Icons/ # 28×28 toolbar icon PNGs + +``` + + +### XplorePlane.Hardware(硬件库) + + + +### XplorePlane.ImageProcessing (图像库) + + + + + + + +### TO-DO List + +[] 软件基于WPF + Prism 基础的框架, 主页面设计 +[] 打通与硬件 和图像的调用流程 diff --git a/XplorePlane/XplorePlane.csproj b/XplorePlane/XplorePlane.csproj new file mode 100644 index 0000000..91d9b5f --- /dev/null +++ b/XplorePlane/XplorePlane.csproj @@ -0,0 +1,13 @@ + + + WinExe + net8.0-windows + true + XplorePlane + XplorePlane + + + + + + \ No newline at end of file