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
ff35726f
Commit
ff35726f
authored
Oct 22, 2015
by
Maksim Shabunin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5432 from sturkmen72:patch-11
parents
b34f0d99
21c0acff
Expand all
Hide 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 @
ff35726f
This diff is collapsed.
Click to expand it.
modules/imgcodecs/src/loadsave.cpp
View file @
ff35726f
...
...
@@ -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