Skip to content

Commit

Permalink
modify speed form
Browse files Browse the repository at this point in the history
  • Loading branch information
mingoahead committed Mar 11, 2016
1 parent 96b8dea commit 5593133
Show file tree
Hide file tree
Showing 14 changed files with 238 additions and 124 deletions.
2 changes: 1 addition & 1 deletion VirtualEndo.pro.user
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 3.4.2, 2016-03-09T22:38:38. -->
<!-- Written by QtCreator 3.4.2, 2016-03-11T16:30:16. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>
Expand Down
13 changes: 13 additions & 0 deletions data/121801.mhd
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
ObjectType = Image
NDims = 3
BinaryData = True
BinaryDataByteOrderMSB = False
CompressedData = False
TransformMatrix = 1 0 0 0 1 0 0 0 1
Offset = -210.106 -318.106 984.5
CenterOfRotation = 0 0 0
AnatomicalOrientation = RAI
ElementSpacing = 0.787109 0.787109 2
DimSize = 512 512 338
ElementType = MET_SHORT
ElementDataFile = 121801.raw
Binary file added data/121801.stl
Binary file not shown.
13 changes: 13 additions & 0 deletions data/121803.mhd
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
ObjectType = Image
NDims = 3
BinaryData = True
BinaryDataByteOrderMSB = False
CompressedData = False
TransformMatrix = 1 0 0 0 1 0 0 0 1
Offset = -210.106 -318.106 984.5
CenterOfRotation = 0 0 0
AnatomicalOrientation = RAI
ElementSpacing = 0.787109 0.787109 2
DimSize = 512 512 338
ElementType = MET_SHORT
ElementDataFile = 121803.raw
Binary file added data/121803.stl
Binary file not shown.
13 changes: 13 additions & 0 deletions data/122901.mhd
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
ObjectType = Image
NDims = 3
BinaryData = True
BinaryDataByteOrderMSB = False
CompressedData = False
TransformMatrix = 1 0 0 0 1 0 0 0 1
Offset = -210.106 -318.106 984.5
CenterOfRotation = 0 0 0
AnatomicalOrientation = RAI
ElementSpacing = 0.787109 0.787109 2
DimSize = 512 512 338
ElementType = MET_SHORT
ElementDataFile = 122901.raw
Binary file added data/122901.stl
Binary file not shown.
14 changes: 14 additions & 0 deletions data/122902.mhd
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
ObjectType = Image
NDims = 3
BinaryData = True
BinaryDataByteOrderMSB = False
CompressedData = False
TransformMatrix = 1 0 0 0 1 0 0 0 1
Offset = -210.106 -318.106 984.5
CenterOfRotation = 0 0 0
AnatomicalOrientation = RAI
ElementSpacing = 0.787109 0.787109 2
DimSize = 512 512 338
ElementSize = 0.787109 0.787109 2
ElementType = MET_SHORT
ElementDataFile = 122902.raw
Binary file added data/122902.stl
Binary file not shown.
3 changes: 2 additions & 1 deletion mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ void MainWindow::processImg()
// clnProc -> Path_Thin3dImg();
// leftshowUtil->centerLnDis(clnProc->getpoints());
//3.--signed distance transform method
clnProc -> getSignedDistanceMap_Mul();
clnProc -> getSignedDistanceMap_Mul(m_mainShowUtil->GetRawFilename());
m_mainShowUtil->centerLnDis(clnProc->getpoints());
//leftshowUtil->centerLnDis(clnProc->getpoints());
ui -> LineCbx -> setEnabled(true);
Expand Down Expand Up @@ -316,6 +316,7 @@ void MainWindow::testModule()
t.start();
m_mainShowUtil->GetCenterline();
m_mainShowUtil->DrawCenterLine();
// m_mainShowUtil->TestDistanceTransform();
QMessageBox::information(this,tr("process notify"),
QString("test process complete "
"after %1 ms").arg(t.elapsed(),0));
Expand Down
Loading

0 comments on commit 5593133

Please sign in to comment.