mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Changed the serialization routine for bgr_pixels to store the pixels
in BGR order rather than RGB.
This commit is contained in:
parent
d983412935
commit
c7103ce3d5
@ -1169,9 +1169,9 @@ namespace dlib
|
||||
{
|
||||
try
|
||||
{
|
||||
serialize(item.red,out);
|
||||
serialize(item.green,out);
|
||||
serialize(item.blue,out);
|
||||
serialize(item.green,out);
|
||||
serialize(item.red,out);
|
||||
}
|
||||
catch (serialization_error& e)
|
||||
{
|
||||
@ -1188,9 +1188,9 @@ namespace dlib
|
||||
{
|
||||
try
|
||||
{
|
||||
deserialize(item.red,in);
|
||||
deserialize(item.green,in);
|
||||
deserialize(item.blue,in);
|
||||
deserialize(item.green,in);
|
||||
deserialize(item.red,in);
|
||||
}
|
||||
catch (serialization_error& e)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user