Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MIF
Workflow
LUT-creation
Commits
1abd38ea
Commit
1abd38ea
authored
Feb 04, 2019
by
Chris Evenhuis
Browse files
Minor formatting
parent
d329544f
Changes
1
Hide whitespace changes
Inline
Side-by-side
lut-creation.py
View file @
1abd38ea
...
...
@@ -181,8 +181,8 @@ if( True):
measure_int
=
Measurements
.
CENTROID
+
Measurements
.
ELLIPSE
+
Measurements
.
AREA
+
Measurements
.
SHAPE_DESCRIPTORS
rt
=
ResultsTable
()
photoclass
=
[
'unsufficent'
,
'sub-optimal'
,
'optimal'
,
'inhibited'
,
'critical'
]
Iarr
=
[
0.
,
I1
,
I2
,
I3
,
I4
,
Imax
]
photoclass
=
[
'unsufficent'
,
'sub-optimal'
,
'optimal'
,
'inhibited'
,
'critical'
]
Iarr
=
[
0.
,
I1
,
I2
,
I3
,
I4
,
Imax
]
for
i
in
range
(
len
(
photoclass
)):
rt
.
setValue
(
"class"
,
i
,
photoclass
[
i
])
...
...
@@ -195,8 +195,7 @@ if( True):
stats
=
ImageStatistics
.
getStatistics
(
ip
,
measure_int
,
imp
.
getCalibration
())
rt
.
setValue
(
"Area"
,
i
,
stats
.
area
)
rt
.
setValue
(
"Mean I"
,
i
,
stats
.
mean
)
rt
.
show
(
"Areas"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment