imread(argv[1]) and imread(argv[1],CV_LOAD_IMAGE_ANYDEPTH) gives different channel [closed]
Hi guys, i am still confused why imread without CV_LOAD_IMAGE_ANYDEPTH gives different result with imread with CV_LOAD_IMAGE_ANYDEPTH option. Am i missing something ? Thanks.
add a more specific example, please.
I'm agree :
Results :
Bug in Doc or bug in code ?
Write an issue
okay, i have already written an issue in opencv
bug.
gdb shows, we go here (in the 2nd case)
if( (flags & CV_LOAD_IMAGE_ANYDEPTH) == 0 )that should be
???@Kenny, where 's the issue ? i can't see anything
May be IMREAD_ANYDEPTH cannot be used alone and flag must be IMREAD_ANYDEPTH|IMREAD_COLOR or IMREAD_ANYDEPTH|IMREAD_GRAYSCALE
@Kenny my issue link was wrong : https://github.com/opencv/opencv/issues
^^ imho, that is the correct answer.
thanks guys. sorry for the confusion.