Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
ad7a8717
Commit
ad7a8717
authored
Aug 22, 2014
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3143 from jet47:cuda-cvt-color-fix
parents
d68e62c9
ebe36d6e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
color_detail.hpp
...es/gpu/include/opencv2/gpu/device/detail/color_detail.hpp
+2
-2
No files found.
modules/gpu/include/opencv2/gpu/device/detail/color_detail.hpp
View file @
ad7a8717
...
...
@@ -1822,7 +1822,7 @@ namespace cv { namespace gpu { namespace device
dst
.
x
=
saturate_cast
<
uchar
>
(
dstf
.
x
*
2.55
f
);
dst
.
y
=
saturate_cast
<
uchar
>
(
dstf
.
y
*
0.72033898305084743
f
+
96.525423728813564
f
);
dst
.
z
=
saturate_cast
<
uchar
>
(
dstf
.
z
*
0.9
9609375
f
+
139.453125
f
);
dst
.
z
=
saturate_cast
<
uchar
>
(
dstf
.
z
*
0.9
732824427480916
f
+
136.259541984732824
f
);
}
template
<
typename
T
,
int
scn
,
int
dcn
,
bool
srgb
,
int
blueIdx
>
struct
RGB2Luv
;
...
...
@@ -1916,7 +1916,7 @@ namespace cv { namespace gpu { namespace device
srcf
.
x
=
src
.
x
*
(
100.
f
/
255.
f
);
srcf
.
y
=
src
.
y
*
1.388235294117647
f
-
134.
f
;
srcf
.
z
=
src
.
z
*
1.0
03921568627451
f
-
140.
f
;
srcf
.
z
=
src
.
z
*
1.0
27450980392157
f
-
140.
f
;
Luv2RGBConvert_f
<
srgb
,
blueIdx
>
(
srcf
,
dstf
);
...
...
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