someone
someone

Reputation: 361

cvLoadImage: Additional Specifications

I was wondering if there is a way to force an Image to load as 8U. I saw at the OpenCV Documentation that you can specify whether to load an Image as Single or Three Channel, but nothing is mentioned about the Color Depth. Any suggestions?

Thanks for your help!!! :D

Upvotes: 1

Views: 285

Answers (1)

1''
1''

Reputation: 27105

The default colour depth for imread() is 8U, and presumably cvLoadImage() is the same. Have you considered using the newer, more user-friendly C++ interface to OpenCV, which uses Mat and imread()?

Upvotes: 1

Related Questions