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
81a40ca7
Commit
81a40ca7
authored
Jul 20, 2016
by
Davis King
Browse files
Minor change to avoid linker errors in some cases.
parent
c256cf09
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
dlib/pixel.h
dlib/pixel.h
+6
-6
No files found.
dlib/pixel.h
View file @
81a40ca7
...
...
@@ -357,7 +357,7 @@ namespace dlib
const
static
bool
rgb_alpha
=
false
;
const
static
bool
grayscale
=
false
;
const
static
bool
hsi
=
false
;
const
static
long
num
=
3
;
enum
{
num
=
3
}
;
typedef
unsigned
char
basic_pixel_type
;
static
basic_pixel_type
min
()
{
return
0
;}
static
basic_pixel_type
max
()
{
return
255
;}
...
...
@@ -374,7 +374,7 @@ namespace dlib
const
static
bool
rgb_alpha
=
false
;
const
static
bool
grayscale
=
false
;
const
static
bool
hsi
=
false
;
const
static
long
num
=
3
;
enum
{
num
=
3
}
;
typedef
unsigned
char
basic_pixel_type
;
static
basic_pixel_type
min
()
{
return
0
;}
static
basic_pixel_type
max
()
{
return
255
;}
...
...
@@ -391,7 +391,7 @@ namespace dlib
const
static
bool
rgb_alpha
=
true
;
const
static
bool
grayscale
=
false
;
const
static
bool
hsi
=
false
;
const
static
long
num
=
4
;
enum
{
num
=
4
}
;
typedef
unsigned
char
basic_pixel_type
;
static
basic_pixel_type
min
()
{
return
0
;}
static
basic_pixel_type
max
()
{
return
255
;}
...
...
@@ -409,7 +409,7 @@ namespace dlib
const
static
bool
rgb_alpha
=
false
;
const
static
bool
grayscale
=
false
;
const
static
bool
hsi
=
true
;
const
static
long
num
=
3
;
enum
{
num
=
3
}
;
typedef
unsigned
char
basic_pixel_type
;
static
basic_pixel_type
min
()
{
return
0
;}
static
basic_pixel_type
max
()
{
return
255
;}
...
...
@@ -426,7 +426,7 @@ namespace dlib
const
static
bool
rgb_alpha
=
false
;
const
static
bool
grayscale
=
true
;
const
static
bool
hsi
=
false
;
const
static
long
num
=
1
;
enum
{
num
=
1
}
;
const
static
bool
has_alpha
=
false
;
typedef
T
basic_pixel_type
;
static
basic_pixel_type
min
()
{
return
std
::
numeric_limits
<
T
>::
min
();}
...
...
@@ -457,7 +457,7 @@ namespace dlib
const
static
bool
rgb_alpha
=
false
;
const
static
bool
grayscale
=
true
;
const
static
bool
hsi
=
false
;
const
static
long
num
=
1
;
enum
{
num
=
1
}
;
const
static
bool
has_alpha
=
false
;
typedef
T
basic_pixel_type
;
static
basic_pixel_type
min
()
{
return
-
std
::
numeric_limits
<
T
>::
max
();}
...
...
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