Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
2019 FBSD
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kerautret Bertrand
2019 FBSD
Commits
894d988e
Commit
894d988e
authored
6 years ago
by
even
Browse files
Options
Downloads
Patches
Plain Diff
Automatic extraction screenshot
parent
155f9230
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Code/Seg/BSTools/bsdetectionwidget.cpp
+19
-4
19 additions, 4 deletions
Code/Seg/BSTools/bsdetectionwidget.cpp
Code/Seg/BSTools/bsdetectionwidget.h
+2
-0
2 additions, 0 deletions
Code/Seg/BSTools/bsdetectionwidget.h
Methode/ctrl.tex
+1
-0
1 addition, 0 deletions
Methode/ctrl.tex
with
22 additions
and
4 deletions
Code/Seg/BSTools/bsdetectionwidget.cpp
+
19
−
4
View file @
894d988e
...
...
@@ -33,6 +33,7 @@ BSDetectionWidget::BSDetectionWidget (QWidget *parent)
alternate
=
0
;
verbose
=
false
;
capture
=
false
;
instanceOfAll
=
0
;
}
...
...
@@ -374,10 +375,18 @@ void BSDetectionWidget::keyPressEvent (QKeyEvent *event)
break
;
case
Qt
::
Key_P
:
detector
.
switchFiltering
(
0
);
cout
<<
"Pre-filtering "
<<
(
detector
.
isFiltering
(
0
)
?
"on"
:
"off"
)
<<
endl
;
extract
(
true
);
if
(
event
->
modifiers
()
&
Qt
::
ShiftModifier
)
{
capture
=
true
;
cout
<<
"Next extraction will be shot in capture.png"
<<
endl
;
}
else
{
detector
.
switchFiltering
(
0
);
cout
<<
"Pre-filtering "
<<
(
detector
.
isFiltering
(
0
)
?
"on"
:
"off"
)
<<
endl
;
extract
(
true
);
}
break
;
case
Qt
::
Key_G
:
...
...
@@ -635,6 +644,12 @@ void BSDetectionWidget::extractAll ()
if
(
verbose
&&
fixed
)
displayExtractionResult
();
fixed
=
false
;
if
(
!
formerMultiMode
)
detector
.
switchMultiSelection
();
if
(
capture
)
{
augmentedImage
.
save
(
"capture.png"
);
capture
=
false
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Code/Seg/BSTools/bsdetectionwidget.h
+
2
−
0
View file @
894d988e
...
...
@@ -162,6 +162,8 @@ private:
bool
fixed
;
/** Flag indicating whether extraction result should be displayed. */
bool
verbose
;
/** Flag indicating whether extraction result should be captured. */
bool
capture
;
/** Activation of alternate comparative tests (F8). */
int
alternate
;
...
...
This diff is collapsed.
Click to expand it.
Methode/ctrl.tex
+
1
−
0
View file @
894d988e
...
...
@@ -41,6 +41,7 @@ g && Commute la contrainte de connectivit\'e \\
s
&&
Commute l'aspect dynamique des scans
\\
o
&&
Commute l'aspect directionel des scans
\\
x
&&
Commute l'ajustement de la consigne d'
\'
epaisseur
\\
P
&&
Demande la capture de la prochaine extraction
\\
1
&&
Commute la visu des segments (pixels)
\\
2
&&
Commute la visu de l'accumulateur
\\
3
&&
Commute la visu des profils
\\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment