Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ImageINSA_Tanguy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
Tanguy.Raufflet
ImageINSA_Tanguy
Commits
6b0d392b
Commit
6b0d392b
authored
6 years ago
by
Provot Bertrand
Browse files
Options
Downloads
Patches
Plain Diff
Updated menus
parent
d4ebf50a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/main.cpp
+47
-23
47 additions, 23 deletions
app/main.cpp
lib/detiq-t
+1
-1
1 addition, 1 deletion
lib/detiq-t
with
48 additions
and
24 deletions
app/main.cpp
+
47
−
23
View file @
6b0d392b
...
...
@@ -127,72 +127,95 @@ int main(int argc, char** argv)
QObject
::
connect
(
pluginManager
,
SIGNAL
(
removePlugin
(
OpSet
*
)),
mainService
,
SLOT
(
removeOpSet
(
OpSet
*
)));
BuiltinOpSet
*
image
=
new
BuiltinOpSet
(
qApp
->
translate
(
""
,
"&Image"
).
toStdString
());
image
->
addOperation
(
new
PointOp
());
image
->
addOperation
(
new
TranslateOp
());
image
->
addOperation
(
new
RotateOp
());
image
->
addOperation
(
new
CenterOp
());
image
->
addOperation
(
new
FlipOp
(
FlipOp
::
Horizontal
));
image
->
addOperation
(
new
FlipOp
(
FlipOp
::
Vertical
));
image
->
addOperation
(
new
SeparatorOp
());
image
->
addOperation
(
new
SplitColorOp
());
image
->
addOperation
(
new
SplitHsvOp
());
image
->
addOperation
(
new
CombineColorOp
());
image
->
addOperation
(
new
CombineHSVOp
());
//Mask and crops here
image
->
addOperation
(
new
SeparatorOp
());
image
->
addOperation
(
new
UCharConvertOp
());
image
->
addOperation
(
new
SeparatorOp
());
image
->
addOperation
(
new
ScalingOp
());
image
->
addOperation
(
new
QuantificationOp
());
image
->
addOperation
(
new
ThresholdOp
());
image
->
addOperation
(
new
SeparatorOp
());
image
->
addOperation
(
new
HistogramOp
());
image
->
addOperation
(
new
PointOp
());
image
->
addOperation
(
new
SeparatorOp
());
image
->
addOperation
(
new
UCharConvert
Op
());
image
->
addOperation
(
new
Noise
Op
());
//à mettre dans oclors
/*
*/
BuiltinOpSet
*
tools
=
new
BuiltinOpSet
(
qApp
->
translate
(
""
,
"&Tools"
).
toStdString
());
tools
->
addOperation
(
new
SignalToNoiseOp
());
tools
->
addOperation
(
new
MeanSquaredErrorOp
());
tools
->
addOperation
(
new
DoubleEntropyOp
());
tools
->
addOperation
(
new
EntropyOp
());
tools
->
addOperation
(
new
NoiseOp
());
tools
->
addOperation
(
new
SeparatorOp
());
tools
->
addOperation
(
new
RandomImgOp
());
tools
->
addOperation
(
new
ColorimetryOp
());
tools
->
addOperation
(
new
RejectionRingOp
());
tools
->
addOperation
(
new
SinusSynthesisOp
());
tools
->
addOperation
(
new
SeparatorOp
());
tools
->
addOperation
(
new
SignalToNoiseOp
());
tools
->
addOperation
(
new
MeanSquaredErrorOp
());
tools
->
addOperation
(
new
SeparatorOp
());
tools
->
addOperation
(
new
EntropyOp
());
tools
->
addOperation
(
new
DoubleEntropyOp
());
BuiltinOpSet
*
encode
=
new
BuiltinOpSet
(
qApp
->
translate
(
""
,
"&Encoding"
).
toStdString
());
encode
->
addOperation
(
new
HuffmanOp
());
encode
->
addOperation
(
new
DPCMEncodingOp
());
encode
->
addOperation
(
new
SeparatorOp
());
encode
->
addOperation
(
new
HadamardOp
());
encode
->
addOperation
(
new
DCTOp
());
BuiltinOpSet
*
morpho
=
new
BuiltinOpSet
(
"&Morpho. math."
);
morpho
->
addOperation
(
new
DMMOp
());
morpho
->
addOperation
(
new
SeparatorOp
());
BuiltinOpSet
*
transfo
=
new
BuiltinOpSet
(
qApp
->
translate
(
""
,
"Transforms"
).
toStdString
());
transfo
->
addOperation
(
new
FFTOp
());
transfo
->
addOperation
(
new
IFFTOp
());
transfo
->
addOperation
(
new
HadamardOp
());
transfo
->
addOperation
(
new
DCTOp
());
transfo
->
addOperation
(
new
HoughOp
());
transfo
->
addOperation
(
new
InverseHoughOp
());
BuiltinOpSet
*
analyse
=
new
BuiltinOpSet
(
qApp
->
translate
(
""
,
"Analysis"
).
toStdString
());
analyse
->
addOperation
(
new
CroissanceOp
());
analyse
->
addOperation
(
new
ZeroCrossingOp
());
analyse
->
addOperation
(
new
FFTOp
());
analyse
->
addOperation
(
new
IFFTOp
());
analyse
->
addOperation
(
new
SeparatorOp
());
analyse
->
addOperation
(
new
HoughOp
());
analyse
->
addOperation
(
new
InverseHoughOp
());
analyse
->
addOperation
(
new
SeparatorOp
());
analyse
->
addOperation
(
new
PyramidOp
());
analyse
->
addOperation
(
new
InversePyramidOp
());
analyse
->
addOperation
(
new
SeparatorOp
());
analyse
->
addOperation
(
new
CroissanceOp
());
analyse
->
addOperation
(
new
SeparatorOp
());
analyse
->
addOperation
(
new
ZeroCrossingOp
());
analyse
->
addOperation
(
new
SeparatorOp
());
analyse
->
addOperation
(
new
ClassAnalysisOp
());
analyse
->
addOperation
(
new
ClassResultOp
());
analyse
->
addOperation
(
new
PseudoColorOp
());
BuiltinOpSet
*
colors
=
new
BuiltinOpSet
(
qApp
->
translate
(
""
,
"Colors"
).
toStdString
());
colors
->
addOperation
(
new
SeparatorOp
());
colors
->
addOperation
(
new
SplitColorOp
());
colors
->
addOperation
(
new
SplitHsvOp
());
colors
->
addOperation
(
new
CombineColorOp
());
colors
->
addOperation
(
new
CombineHSVOp
());
colors
->
addOperation
(
new
SeparatorOp
());
colors
->
addOperation
(
new
PseudoColorOp
());
BuiltinOpSet
*
filter
=
new
BuiltinOpSet
(
qApp
->
translate
(
""
,
"Filtering"
).
toStdString
());
filter
->
addOperation
(
new
BFlitOp
());
filter
->
addOperation
(
new
MedianOp
());
mainService
->
addOpSet
(
image
);
mainService
->
addOpSet
(
colors
);
mainService
->
addOpSet
(
encode
);
mainService
->
addOpSet
(
morpho
);
mainService
->
addOpSet
(
analyse
);
mainService
->
addOpSet
(
transfo
);
gi
.
addService
(
new
MorphoMatService
);
gi
.
addService
(
new
filtrme
::
FilteringService
);
mainService
->
addOpSet
(
filter
);
...
...
@@ -200,6 +223,7 @@ int main(int argc, char** argv)
gi
.
addService
(
pluginManager
);
gi
.
run
();
return
app
.
exec
();
...
...
This diff is collapsed.
Click to expand it.
detiq-t
@
a1d68f4c
Compare
1243d76a
...
a1d68f4c
Subproject commit
1243d76aab02a3ea0b840fe1333c5706961ec68a
Subproject commit
a1d68f4c1ecf53f733cfa2d1e3f34696b64886af
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