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
21c0acff
Commit
21c0acff
authored
Oct 01, 2015
by
Suleyman TURKMEN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update imgcodecs.hpp
parent
d69b7c33
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
imgcodecs.hpp
modules/imgcodecs/include/opencv2/imgcodecs.hpp
+0
-0
loadsave.cpp
modules/imgcodecs/src/loadsave.cpp
+3
-3
No files found.
modules/imgcodecs/include/opencv2/imgcodecs.hpp
View file @
21c0acff
This diff is collapsed.
Click to expand it.
modules/imgcodecs/src/loadsave.cpp
View file @
21c0acff
...
...
@@ -265,11 +265,11 @@ imread_( const String& filename, int flags, int hdrtype, Mat* mat=0 )
int
scale_denom
=
1
;
if
(
flags
>
IMREAD_LOAD_GDAL
)
{
if
(
flags
&
IMREAD_
GRAYSCALE_REDUCED
_2
)
if
(
flags
&
IMREAD_
REDUCED_GRAYSCALE
_2
)
scale_denom
=
2
;
else
if
(
flags
&
IMREAD_
GRAYSCALE_REDUCED
_4
)
else
if
(
flags
&
IMREAD_
REDUCED_GRAYSCALE
_4
)
scale_denom
=
4
;
else
if
(
flags
&
IMREAD_
GRAYSCALE_REDUCED
_8
)
else
if
(
flags
&
IMREAD_
REDUCED_GRAYSCALE
_8
)
scale_denom
=
8
;
}
...
...
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