12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- <Window x:Class="ThyroidDescriptionUI.MainWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:ThyroidDescriptionUI"
- mc:Ignorable="d"
- Title="MainWindow" Height="600" Width="1200">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="*"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="60"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <Grid Grid.Row="0" Grid.Column="0">
- <Image x:Name="OrigImage"></Image>
- </Grid>
- <Grid Grid.Row="0" Grid.Column="1">
- <Image x:Name="DstImage"></Image>
- </Grid>
- <Grid Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2">
- <StackPanel Orientation="Horizontal">
- <Button Content="加载图像数据库" FontSize="12" Margin="4,4,4,4" Width="100" Click="OnLoadDataBaseClick"/>
- <Button Content="加载一幅图像" FontSize="12" Margin="4,4,4,4" Width="100" Click="OnLoadOneImageClick"/>
- <Button Content="甲状腺描述" Name ="button1" FontSize="12" Margin="4,4,4,4" Width="100" Click="OnThyroidDescriClick"/>
- <TextBlock Text="耗时:" FontSize="12" Margin="4,4,4,4" VerticalAlignment="Center" Width="30"/>
- <TextBlock x:Name="ElapsedTime" FontSize="12" Margin="4,4,4,4" VerticalAlignment="Center" Width="60"/>
- <TextBlock Text="ms" FontSize="12" Margin="4,12" VerticalAlignment="Center"/>
- </StackPanel>
- </Grid>
- <Grid Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2">
- <StackPanel Orientation="Horizontal">
- <TextBlock FontSize="12" Margin="4,12,4,10" VerticalAlignment="Center" Width="45" Height="18"><Run Text="回声GT:"/></TextBlock>
- <TextBlock x:Name="EchoPatternDescriGT" FontSize="12" Margin="4,4,4,4" VerticalAlignment="Center" Width="65"/>
- <TextBlock FontSize="12" Margin="4,12,4,0" VerticalAlignment="Top" Width="45" Height="18"><Run Text="形状GT:"/></TextBlock>
- <TextBlock x:Name="ShapeDescriGT" FontSize="12" Margin="4,4,4,4" VerticalAlignment="Center" Width="70"/>
- <TextBlock FontSize="12" Margin="4,12,4,0" VerticalAlignment="Top" Width="45" Height="18"><Run Text="边缘GT:"/></TextBlock>
- <TextBlock x:Name="MarginDescriGT" FontSize="12" Margin="4,4,4,4" VerticalAlignment="Center" Width="65"/>
- <TextBlock FontSize="12" Margin="4,12,4,0" VerticalAlignment="Top" Width="95" Height="18"><Run Text="局灶性强回声GT:"/></TextBlock>
- <TextBlock x:Name="EchogenicFociDescriGT" FontSize="12" Margin="4,4,4,4" VerticalAlignment="Center" Width="65"/>
- </StackPanel>
- </Grid>
- <Grid Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="2">
- <StackPanel Orientation="Horizontal">
- <TextBlock FontSize="12" Margin="4,12,4,10" VerticalAlignment="Center" Width="35" Height="18"><Run Text="回声:"/></TextBlock>
- <TextBlock x:Name="EchoPatternDescri" FontSize="12" Margin="4,4,4,4" VerticalAlignment="Center" Width="65"/>
- <TextBlock FontSize="12" Margin="4,12,4,0" VerticalAlignment="Top" Width="35" Height="18"><Run Text="形状:"/></TextBlock>
- <TextBlock x:Name="ShapeDescri" FontSize="12" Margin="4,4,4,4" VerticalAlignment="Center" Width="70"/>
- <TextBlock FontSize="12" Margin="4,12,4,0" VerticalAlignment="Top" Width="35" Height="18"><Run Text="边缘:"/></TextBlock>
- <TextBlock x:Name="MarginDescri" FontSize="12" Margin="4,4,4,4" VerticalAlignment="Center" Width="65"/>
- <TextBlock FontSize="12" Margin="4,12,4,0" VerticalAlignment="Top" Width="80" Height="18"><Run Text="局灶性强回声:"/></TextBlock>
- <TextBlock x:Name="EchogenicFociDescri" FontSize="12" Margin="4,4,4,4" VerticalAlignment="Center" Width="65"/>
- </StackPanel>
- </Grid>
- <Grid Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="1">
- <StackPanel Orientation="Horizontal" Margin="0,0,-502,0">
- <Button Content="保存病灶结果图像" FontSize="12" Margin="4,4,4,4" Width="100" Click="OnLoadImageClick"/>
- <Button Content="合成新DB" FontSize="12" Margin="4,4,4,4" Width="100" Click="OnCreatDbClick"/>
- <Button Content="加载多幅图像" FontSize="12" Margin="4,4,4,0" Width="100" Click="OnLoadOneImagesClick" Height="32" VerticalAlignment="Top"/>
- <Button Content="Id改变" FontSize="12" Margin="4,4,4,4" Width="100" Click="OnLoadNameChangeClick"/>
- <Button Content="合并db保留轮廓" FontSize="12" Margin="4,4,4,4" Width="100" Click="OnDBClick"/>
- <Button Content="比较db文件" FontSize="12" Margin="4,4,4,4" Width="100" Click="OnDBCompareClick"/>
- <Button Content="Clear" FontSize="12" Margin="4,4,4,4" Width="100" Click="OnDBClearClick"/>
- <Button Content="添加病灶信息" FontSize="12" Margin="4,4,4,4" Width="100" Click="OnDBAddClick"/>
- <!--<Button Content="loadmodel1" FontSize="12" Margin="4,4,4,4" Width="100" Click="OnDBLoadModel1"/>
- <Button Content="modelpredict" FontSize="12" Margin="4,4,4,4" Width="100" Click="OnDBModelPredict"/>
- <Button Content="model" FontSize="12" Margin="4,4,4,4" Width="100" Click="OnDBModelPredictImages"/>-->
- </StackPanel>
- </Grid>
- <Grid Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="1">
- <StackPanel Orientation="Horizontal" Margin="0,0,-502,0">
- <Button Content="加载模型" FontSize="12" Margin="4,4,4,4" Width="100" Click="OnDBLoadModel1"/>
- <Button Content="模型单张预测" FontSize="12" Margin="4,4,4,4" Width="100" Click="OnDBModelPredict"/>
- <Button Content="模型多图处理" FontSize="12" Margin="4,4,4,4" Width="100" Click="OnDBModelPredictImages"/>
- <Button Content="全模型单张" FontSize="12" Margin="4,4,4,4" Width="100" Click="OnDBModelResultPredictImages"/>
- <Button Content="全模型多张" FontSize="12" Margin="4,4,4,4" Width="100" Click="OnDBAllModelResultPredictImages"/>
- </StackPanel>
- </Grid>
- </Grid>
- </Window>
|