Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Instrument Control
NomadSpecialModules
Commits
24928fc8
Commit
24928fc8
authored
Apr 02, 2020
by
Locatelli
Browse files
Correct Load tif image
parent
e844ad94
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/drivers/photonic/psl/SimulatedPslDriver.cpp
View file @
24928fc8
...
...
@@ -99,7 +99,7 @@ void SimulatedPslDriver::read() {
TIFFReadScanline
(
tif
,
buf
,
row
,
0
);
data
=
(
uint16
*
)
buf
;
for
(
uint32
i
=
0
;
i
<
w
;
++
i
)
{
tab
[
row
+
i
*
h
]
=
data
[
i
];
tab
[
h
-
row
+
i
*
h
]
=
data
[
i
];
sum
=
sum
+
data
[
i
];
}
}
...
...
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