Skip to content

Commit 3457df3

Browse files
Merge pull request #2 from ashishsingh18/changesForv2021.02
modifications for v2021.02
2 parents 6c813b0 + 9820ba3 commit 3457df3

File tree

5 files changed

+14
-44
lines changed

5 files changed

+14
-44
lines changed

Modules/CaPTkInteractiveSegmentation/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
mitk_create_module(
22
INCLUDE_DIRS PUBLIC include third_party/jsoncpp/include
3-
PACKAGE_DEPENDS ITK Qt5|Core+Widgets PRIVATE yaml-cpp
3+
PACKAGE_DEPENDS ITK Qt5|Core+Widgets OpenCV PRIVATE yaml-cpp
44
DEPENDS PUBLIC MitkCore MitkMultilabel #MitkCaPTkCommon
55
)
66

Modules/CaPTkInteractiveSegmentation/src/SvmSuiteManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ void SvmSuite::Manager::Train()
7070
);
7171
message("", false, true);
7272
}
73-
catch (cv::Exception ex) {
73+
catch (cv::Exception& ex) {
7474
errorOccured(ex.what());
7575
}
7676

Plugins/upenn.cbica.captk.interactivesegmentation/src/internal/QmitkCaPTkInteractiveSegmentationControls.ui

Lines changed: 7 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,14 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>459</width>
10-
<height>857</height>
9+
<width>460</width>
10+
<height>853</height>
1111
</rect>
1212
</property>
13-
<property name="sizePolicy">
14-
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
15-
<horstretch>0</horstretch>
16-
<verstretch>0</verstretch>
17-
</sizepolicy>
18-
</property>
19-
<property name="minimumSize">
20-
<size>
21-
<width>0</width>
22-
<height>0</height>
23-
</size>
24-
</property>
25-
<property name="font">
26-
<font>
27-
<family>MS Shell Dlg 2</family>
28-
<pointsize>8</pointsize>
29-
<weight>50</weight>
30-
<italic>false</italic>
31-
<bold>false</bold>
32-
<underline>false</underline>
33-
<strikeout>false</strikeout>
34-
</font>
35-
</property>
3613
<property name="windowTitle">
37-
<string>QmitkCaPTkInteractiveSegmentation</string>
14+
<string>Form</string>
3815
</property>
39-
<layout class="QVBoxLayout" name="verticalLayout_5">
16+
<layout class="QVBoxLayout" name="verticalLayout">
4017
<item>
4118
<widget class="QGroupBox" name="groupBoxInstructions">
4219
<property name="sizePolicy">
@@ -124,7 +101,7 @@
124101
<string>...</string>
125102
</property>
126103
<property name="icon">
127-
<iconset resource="../../resources/captkinteractivesegmentation.qrc">
104+
<iconset resource="../../../../../InteractiveSegmentation/Plugins/upenn.cbica.captk.interactivesegmentation/resources/captkinteractivesegmentation.qrc">
128105
<normaloff>:/captkinteractivesegmentation/NewSegmentationSession_48x48.png</normaloff>:/captkinteractivesegmentation/NewSegmentationSession_48x48.png</iconset>
129106
</property>
130107
<property name="iconSize">
@@ -201,31 +178,22 @@
201178
<property name="sizeHint" stdset="0">
202179
<size>
203180
<width>20</width>
204-
<height>40</height>
181+
<height>466</height>
205182
</size>
206183
</property>
207184
</spacer>
208185
</item>
209186
</layout>
210-
<zorder>groupBox_DataSelection</zorder>
211-
<zorder>groupBox_Run</zorder>
212-
<zorder>groupBoxInstructions</zorder>
213187
</widget>
214-
<layoutdefault spacing="6" margin="11"/>
215188
<customwidgets>
216189
<customwidget>
217190
<class>QmitkDataStorageComboBox</class>
218191
<extends>QComboBox</extends>
219192
<header location="global">QmitkDataStorageComboBox.h</header>
220193
</customwidget>
221194
</customwidgets>
222-
<includes>
223-
<include location="global">QmitkToolReferenceDataSelectionBox.h</include>
224-
<include location="global">QmitkToolGUIArea.h</include>
225-
<include location="global">QmitkToolSelectionBox.h</include>
226-
</includes>
227195
<resources>
228-
<include location="../../resources/captkinteractivesegmentation.qrc"/>
196+
<include location="../../../../../InteractiveSegmentation/Plugins/upenn.cbica.captk.interactivesegmentation/resources/captkinteractivesegmentation.qrc"/>
229197
</resources>
230198
<connections/>
231199
</ui>

Plugins/upenn.cbica.captk.interactivesegmentation/src/internal/QmitkCaPTkInteractiveSegmentationView.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
#include <usGetModuleContext.h>
2121
#include <usModule.h>
2222
#include <usModuleContext.h>
23-
#include <usModuleResource.h>
2423
#include <usModuleResourceStream.h>
2524

2625
// Qt
@@ -32,8 +31,6 @@
3231
// CaPTk
3332
#include "CaPTkInteractiveSegmentation.h"
3433

35-
#include "tinyxml.h"
36-
3734
#include <itksys/SystemTools.hxx>
3835

3936
#include <regex>

Plugins/upenn.cbica.captk.interactivesegmentation/src/internal/QmitkCaPTkInteractiveSegmentationView.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77

88
#include "ui_QmitkCaPTkInteractiveSegmentationControls.h"
99

10+
// us
11+
#include <usModuleResource.h>
12+
13+
#include <mitkNodePredicateAnd.h>
14+
1015
class CaPTkInteractiveSegmentation;
1116

1217
// berry

0 commit comments

Comments
 (0)