Ask Your Question

depth image imread

asked 2016-02-13 03:01:54 -0600

baro gravatar image

Hello at all! I'm writing because I have read the function imread but I don't understand what means the flag CV_LOAD_IMAGE_ANYDEPTH; could anyone tell me what is the depth of image? And what means ' If the flag is set, return 16-bit/32-bit image when the input has the corresponding depth' ? thanks you soo much for help

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-02-14 03:08:35 -0600

updated 2016-02-14 06:21:21 -0600

this post is useful for understanding depth.

AFAIK you need IMREAD_ANYDEPTH flag of imread() when loading GDAL images.

for more information see Reading Geospatial Raster files with GDAL

EDIT: here you can find more information ( thanks for downvoter! leads me to learn.)

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-02-13 03:01:54 -0600

Seen: 1,417 times

Last updated: Feb 14 '16