From 042a834d9dda2a8449c1932da8bc5862b2005101 Mon Sep 17 00:00:00 2001 From: Alexander Shishkov Date: Fri, 2 Mar 2012 18:24:46 +0000 Subject: [PATCH] #fixed 1644 --- .../mat - the basic image container/mat - the basic image container.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tutorials/core/mat - the basic image container/mat - the basic image container.rst b/doc/tutorials/core/mat - the basic image container/mat - the basic image container.rst index b2d20e1..87d1db6 100644 --- a/doc/tutorials/core/mat - the basic image container/mat - the basic image container.rst +++ b/doc/tutorials/core/mat - the basic image container/mat - the basic image container.rst @@ -79,7 +79,7 @@ However, they are many color systems each with their own advantages: * YCrCb is used by the popular JPEG image format. * CIE L*a*b* is a perceptually uniform color space, which comes handy if you need to measure the *distance* of a given color to another color. -Now each of the building components has their own valid domains. This leads to the data type used. How we store a component defines just how fine control we have over its domain. The smallest data type possible is *char*, which means one byte or 8 bits. This may be signed (so can store values from 0 to 255) or unsigned (values from -127 to +127). Although in case of three components this already gives 16 million possible colors to represent (like in case of RGB) we may acquire an even finer control by using the float (4 byte = 32 bit) or double (8 byte = 64 bit) data types for each component. Nevertheless, remember that increasing the size of a component also increases the size of the whole picture in the memory. +Now each of the building components has their own valid domains. This leads to the data type used. How we store a component defines just how fine control we have over its domain. The smallest data type possible is *char*, which means one byte or 8 bits. This may be unsigned (so can store values from 0 to 255) or signed (values from -127 to +127). Although in case of three components this already gives 16 million possible colors to represent (like in case of RGB) we may acquire an even finer control by using the float (4 byte = 32 bit) or double (8 byte = 64 bit) data types for each component. Nevertheless, remember that increasing the size of a component also increases the size of the whole picture in the memory. Creating explicitly a *Mat* object ================================== -- 2.7.4