Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
81a40ca7
Commit
81a40ca7
authored
Jul 20, 2016
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor change to avoid linker errors in some cases.
parent
c256cf09
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
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