Commit 71f0467c by 鲁志-悦动

算法标定页面实现

parent 8a823501
C:\Projects\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Common\obj\x64\Debug\GeneratedInternalTypeHelper.g.cs

FC:\Projects\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Common\Themes\Generic.xaml;;
FC:\Projects\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Common\Widgets\FootballFieldPanel\FootballFieldPanel.xaml;;
......
......@@ -10,11 +10,11 @@ none
false
DEBUG;TRACE
18560433975
1470602451
11-350624472
24-1321085892
181380438361
1-1441241311
11-1602666439
23-2035776870
Style\Button\Button_NdiView.xaml;Style\Button\Button_Setting.xaml;Style\Button\Button_WindowTop.xaml;Style\CheckBox\CheckBox_NdiView.xaml;Style\CheckBox\CheckBox_Setting.xaml;Style\CheckBox\CheckBox_WindowTop.xaml;Style\ComboBox\ComboBox_Setting.xaml;Style\HotkeyBox\HotkeyBox_Setting.xaml;Style\MessageBox\MessageBoxEx.xaml;Style\RadioButton\RadioButton_FootballSide.xaml;Style\RadioButton\RadioButton_NdiView.xaml;Style\RadioButton\RadioButton_Setting.xaml;Style\Slider\Slider_Setting.xaml;Style\TextBlock\TextBlock_Setting.xaml;Style\TextBox\TextBox_Setting.xaml;Style\ToogleButton\ToogleButton_Setting.xaml;Themes\Generic.xaml;Toolkit\NumericUpDown\NumericUpDown.xaml;
False
True
......@@ -219,6 +219,10 @@
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="70" />
<RowDefinition Height="280" />
</Grid.RowDefinitions>
<GroupBox Foreground="White" Header="自动检测">
<CheckBox
x:Name="_AutoMode_"
......@@ -271,6 +275,120 @@
Command="{Binding Path=MattEndCommand}"
Content="结束抠像(D)"
Style="{StaticResource ButtonStyle}" />
<GroupBox
Grid.Row="1"
Grid.ColumnSpan="4"
Foreground="White"
Header="算法标定">
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
Foreground="White"
Text="起点" />
<StackPanel Grid.Column="1" Orientation="Horizontal">
<TextBlock
VerticalAlignment="Center"
Foreground="White"
Text="X0" />
<TextBox Style="{StaticResource TextBoxStyle}" />
</StackPanel>
<StackPanel Grid.Column="2" Orientation="Horizontal">
<TextBlock
VerticalAlignment="Center"
Foreground="White"
Text="Y0" />
<TextBox Style="{StaticResource TextBoxStyle}" />
</StackPanel>
<TextBlock
Grid.Row="1"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Text="像素" />
<StackPanel
Grid.Row="1"
Grid.Column="1"
Orientation="Horizontal">
<TextBlock
VerticalAlignment="Center"
Foreground="White"
Text="W" />
<TextBox Style="{StaticResource TextBoxStyle}" />
</StackPanel>
<StackPanel
Grid.Row="1"
Grid.Column="2"
Orientation="Horizontal">
<TextBlock
VerticalAlignment="Center"
Foreground="White"
Text="H" />
<TextBox Style="{StaticResource TextBoxStyle}" />
</StackPanel>
<TextBlock
Grid.Row="2"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Text="实际" />
<StackPanel
Grid.Row="2"
Grid.Column="1"
Orientation="Horizontal">
<TextBlock
VerticalAlignment="Center"
Foreground="White"
Text="W" />
<TextBox Style="{StaticResource TextBoxStyle}" />
</StackPanel>
<StackPanel
Grid.Row="2"
Grid.Column="2"
Orientation="Horizontal">
<TextBlock
VerticalAlignment="Center"
Foreground="White"
Text="H" />
<TextBox Style="{StaticResource TextBoxStyle}" />
</StackPanel>
<ToggleButton
Grid.Row="3"
Grid.Column="0"
Width="100"
Height="40"
HorizontalAlignment="Right"
Content="标定"
IsChecked="{Binding MarkIsChecked}"
IsEnabled="{Binding MarkEnable}"
Style="{StaticResource ToggleButtonStyle}">
<b:Interaction.Triggers>
<b:EventTrigger EventName="Checked">
<b:InvokeCommandAction Command="{Binding MarkCommand}" />
</b:EventTrigger>
</b:Interaction.Triggers>
</ToggleButton>
<Button
Grid.Row="3"
Grid.Column="2"
Width="100"
Height="40"
HorizontalAlignment="Left"
Command="{Binding}"
Content="保存"
Style="{StaticResource ButtonStyle}" />
</Grid>
</GroupBox>
</Grid>
</WrapPanel>
<WrapPanel
......
......@@ -139,10 +139,10 @@ namespace VIZ.FGOUT.Module
// 无效区域的注册
ApplicationDomainEx.MessageManager.Register<InvalidPlaceModel>(this, this.InvalidPlaceModel);
// 清除位置
// 清除开始、结束、无效位置
ApplicationDomainEx.MessageManager.Register<CleanPlaceModel>(this, this.CleanPlace);
//显示位置
//显示开始、结束、无效位置
ApplicationDomainEx.MessageManager.Register<DisplayPlaceModel>(this, this.DisplayPlace);
// 算法发送命令
......
#pragma checksum "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "3666A946C7196E449FAA4B0E95C5B6AB99C597FE2A94AE2287080714D0CF9B42"
#pragma checksum "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "99C718A73FE0FDAF671A9ADBBF4CECA1D310CCD61900B18B64B7832E219F42CC"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
......@@ -58,7 +58,7 @@ namespace VIZ.FGOUT.Module {
#line hidden
#line 224 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
#line 228 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.CheckBox _AutoMode_;
......@@ -66,7 +66,7 @@ namespace VIZ.FGOUT.Module {
#line hidden
#line 241 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
#line 245 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.CheckBox _ManualMode_;
......@@ -74,7 +74,7 @@ namespace VIZ.FGOUT.Module {
#line hidden
#line 555 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
#line 673 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal VIZ.FGOUT.Module.NDIView cam1;
......@@ -82,7 +82,7 @@ namespace VIZ.FGOUT.Module {
#line hidden
#line 602 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
#line 720 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal VIZ.FGOUT.Module.NDIView cam2;
......@@ -132,7 +132,7 @@ namespace VIZ.FGOUT.Module {
case 2:
this._AutoMode_ = ((System.Windows.Controls.CheckBox)(target));
#line 226 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
#line 230 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
this._AutoMode_.Click += new System.Windows.RoutedEventHandler(this.AutoMode_OnClick);
#line default
......@@ -141,7 +141,7 @@ namespace VIZ.FGOUT.Module {
case 3:
this._ManualMode_ = ((System.Windows.Controls.CheckBox)(target));
#line 243 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
#line 247 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
this._ManualMode_.Click += new System.Windows.RoutedEventHandler(this.ManualMode_OnClick);
#line default
......
#pragma checksum "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "3666A946C7196E449FAA4B0E95C5B6AB99C597FE2A94AE2287080714D0CF9B42"
#pragma checksum "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "99C718A73FE0FDAF671A9ADBBF4CECA1D310CCD61900B18B64B7832E219F42CC"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
......@@ -58,7 +58,7 @@ namespace VIZ.FGOUT.Module {
#line hidden
#line 224 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
#line 228 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.CheckBox _AutoMode_;
......@@ -66,7 +66,7 @@ namespace VIZ.FGOUT.Module {
#line hidden
#line 241 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
#line 245 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.CheckBox _ManualMode_;
......@@ -74,7 +74,7 @@ namespace VIZ.FGOUT.Module {
#line hidden
#line 555 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
#line 673 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal VIZ.FGOUT.Module.NDIView cam1;
......@@ -82,7 +82,7 @@ namespace VIZ.FGOUT.Module {
#line hidden
#line 602 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
#line 720 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal VIZ.FGOUT.Module.NDIView cam2;
......@@ -132,7 +132,7 @@ namespace VIZ.FGOUT.Module {
case 2:
this._AutoMode_ = ((System.Windows.Controls.CheckBox)(target));
#line 226 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
#line 230 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
this._AutoMode_.Click += new System.Windows.RoutedEventHandler(this.AutoMode_OnClick);
#line default
......@@ -141,7 +141,7 @@ namespace VIZ.FGOUT.Module {
case 3:
this._ManualMode_ = ((System.Windows.Controls.CheckBox)(target));
#line 243 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
#line 247 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
this._ManualMode_.Click += new System.Windows.RoutedEventHandler(this.ManualMode_OnClick);
#line default
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment