What is the range of double??

Réponses (3)

David Sanchez
David Sanchez le 3 Juin 2013

0 votes

A colour image has to be < height x width x 3 > uint8 matrix.

1 commentaire

Jan
Jan le 3 Juin 2013
No, color images can be stored as double array also.

Connectez-vous pour commenter.

Iain
Iain le 3 Juin 2013

0 votes

No.
Some image processing functions will need it to be converted.
The range of double is plus and minus 0, 10^-318 to 10^318, with about 16 significant figures.

1 commentaire

Jan
Jan le 3 Juin 2013
Modifié(e) : Jan le 3 Juin 2013
But the range used for color images is from 0 to 1 inclusively. Therefore there is no strong relation between the question and this correct statement.

Connectez-vous pour commenter.

Jan
Jan le 3 Juin 2013

0 votes

It depends on the detail hidden in the term "processing". A lot of functions work with UINT8 also, but some don't.

Catégories

En savoir plus sur Convert Image Type dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by