Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
c7103ce3
Commit
c7103ce3
authored
Aug 25, 2011
by
Davis King
Browse files
Changed the serialization routine for bgr_pixels to store the pixels
in BGR order rather than RGB.
parent
d9834129
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
dlib/pixel.h
dlib/pixel.h
+4
-4
No files found.
dlib/pixel.h
View file @
c7103ce3
...
@@ -1169,9 +1169,9 @@ namespace dlib
...
@@ -1169,9 +1169,9 @@ namespace dlib
{
{
try
try
{
{
serialize
(
item
.
red
,
out
);
serialize
(
item
.
green
,
out
);
serialize
(
item
.
blue
,
out
);
serialize
(
item
.
blue
,
out
);
serialize
(
item
.
green
,
out
);
serialize
(
item
.
red
,
out
);
}
}
catch
(
serialization_error
&
e
)
catch
(
serialization_error
&
e
)
{
{
...
@@ -1188,9 +1188,9 @@ namespace dlib
...
@@ -1188,9 +1188,9 @@ namespace dlib
{
{
try
try
{
{
deserialize
(
item
.
red
,
in
);
deserialize
(
item
.
green
,
in
);
deserialize
(
item
.
blue
,
in
);
deserialize
(
item
.
blue
,
in
);
deserialize
(
item
.
green
,
in
);
deserialize
(
item
.
red
,
in
);
}
}
catch
(
serialization_error
&
e
)
catch
(
serialization_error
&
e
)
{
{
...
...
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