001    /*
002     * YCbCrIndex
003     *
004     * Copyright (c) 2001, 2002, 2003 Marco Schmidt.
005     * All rights reserved.
006     */
007    
008    package net.sourceforge.jiu.color;
009    
010    /**
011     * This interface simply provides three integer constants as index
012     * values for the three channels of an YCbCr image: gray,
013     * blue chrominance and red chrominance.
014     * The three values are guaranteed to lie in the interval 0 to 2.
015     * Furthermore, all three values are different from each other, so
016     * that the complete interval from 0 to 2 is used.
017     * @see net.sourceforge.jiu.data.RGBIndex
018     * @author Marco Schmidt
019     */
020    public interface YCbCrIndex
021    {
022            /**
023             * Index value for the luminance (gray) component.
024             */
025            int INDEX_Y = 0;
026    
027            /**
028             * Index value for the blue chrominance component.
029             */
030            int INDEX_CB = 1;
031    
032            /**
033             * Index value for the red chrominance component.
034             */
035            int INDEX_CR = 2;
036    }