Compact color space definitions.#169
Conversation
|
I think we should mention this attribute in the spec as well somewhere under Color descriptor section Line 828 in f3c0180 |
Does this mean, individual objects can override this colorspace definition? or it should be same as this ? |
…readability without content change. Add color space column to table and mention that it can be set on frame and object level.
|
I don't think that someone would like to define both, but for maximum backward compatibility I suggest that the object colorspace overrides any frame definition. The idea is that the frame definition just changes the default. |
|
Great! |
sujithhanwha
left a comment
There was a problem hiding this comment.
Minor typo errors marked.
| range [0 .. 1]. Color covariance describes the variation of color values around the | ||
| representative color value in color space thus representative color denotes a region in | ||
| color space.</para> | ||
| <para>Nate that the color descriptor does not specify, how color clusters are created. |
There was a problem hiding this comment.
Typo error Nate --> Note
| xmlns:xlink="http://www.w3.org/1999/xlink" | ||
| xlink:href="http://www.onvif.org/ver10/colorspace/YCbCr"/>. Alternate color spaces as | ||
| defined in <xref linkend="_colorspaces"/> can be defined on frame level and individually | ||
| for earch object.</para> |
The default color space is defined as YCbCr. Any implementations using e.g. RGB need to add a full URL like http://www.onvif.org/ver10/colorspace/RGB to each color definition which bloats the metadata stream.
This proposal allows to define a frame wide default.
Backward compatibility consideration:
Since color isn't widely used - partly due to prohibit bad encoding this change seems to be acceptable.