亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? forwcomptransfspec.java

?? jpeg2000算法實現
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/*  * CVS identifier: *  * $Id: ForwCompTransfSpec.java,v 1.5 2001/02/27 19:15:11 grosbois Exp $ *  * Class:                   ForwCompTransfSpec *  * Description:             Component Transformation specification for encoder *  *  *  * COPYRIGHT: *  * This software module was originally developed by Rapha雔 Grosbois and * Diego Santa Cruz (Swiss Federal Institute of Technology-EPFL); Joel * Askel鰂 (Ericsson Radio Systems AB); and Bertrand Berthelot, David * Bouchard, F閘ix Henry, Gerard Mozelle and Patrice Onno (Canon Research * Centre France S.A) in the course of development of the JPEG2000 * standard as specified by ISO/IEC 15444 (JPEG 2000 Standard). This * software module is an implementation of a part of the JPEG 2000 * Standard. Swiss Federal Institute of Technology-EPFL, Ericsson Radio * Systems AB and Canon Research Centre France S.A (collectively JJ2000 * Partners) agree not to assert against ISO/IEC and users of the JPEG * 2000 Standard (Users) any of their rights under the copyright, not * including other intellectual property rights, for this software module * with respect to the usage by ISO/IEC and Users of this software module * or modifications thereof for use in hardware or software products * claiming conformance to the JPEG 2000 Standard. Those intending to use * this software module in hardware or software products are advised that * their use may infringe existing patents. The original developers of * this software module, JJ2000 Partners and ISO/IEC assume no liability * for use of this software module or modifications thereof. No license * or right to this software module is granted for non JPEG 2000 Standard * conforming products. JJ2000 Partners have full right to use this * software module for his/her own purpose, assign or donate this * software module to any third party and to inhibit third parties from * using this software module for non JPEG 2000 Standard conforming * products. This copyright notice must be included in all copies or * derivative works of this software module. *  * Copyright (c) 1999/2000 JJ2000 Partners. *  */package jj2000.j2k.image.forwcomptransf;import jj2000.j2k.wavelet.analysis.*;import jj2000.j2k.wavelet.*;import jj2000.j2k.image.*;import jj2000.j2k.util.*;import jj2000.j2k.*;import java.util.*;/** * This class extends CompTransfSpec class in order to hold encoder specific * aspects of CompTransfSpec. * * @see CompTransfSpec * */public class ForwCompTransfSpec extends CompTransfSpec {    /**     * Constructs a new 'ForwCompTransfSpec' for the specified number of     * components and tiles and the arguments of <tt>optName</tt>     * option. This constructor is called by the encoder. It also     * checks that the arguments belongs to the recognized arguments     * list.     *     * <P>This constructor chose the component transformation type     * depending on the wavelet filters : RCT with w5x3 filter and ICT     * with w9x7 filter. Note: All filters must use the same data     * type.     *     * @param nt The number of tiles     *     * @param nc The number of components     *     * @param type the type of the specification module i.e. tile specific,     * component specific or both.     *     * @param pl The ParameterList     *     * @param wfs The wavelet filter specifications     * */    public ForwCompTransfSpec(int nt, int nc, byte type, AnWTFilterSpec wfs,                              ParameterList pl){        super(nt,nc,type);	String param = pl.getParameter("Mct");	if(param==null){            if(nc==3) {                AnWTFilter[][] anfilt;                int[] filtType = new int[nComp];                for(int c=0;c<nComp; c++){                    anfilt = (AnWTFilter[][])wfs.getCompDef(c);                    filtType[c] = anfilt[0][0].getFilterType();                }                // Check that all filters are the same one                boolean reject = false;                for(int c=1; c<nComp;c++){                    if(filtType[c]!=filtType[0])                        reject = true;                }                if(reject)                    param = "off";                else                    param = "on";            }            else                 param = "off";            if(param.equals("off")){                setDefault("none");            }            else if(param.equals("on")){                if(nc<3)                    throw new IllegalArgumentException("Cannot use component"+                                                       " transformation with "+                                                       "less than 3 "+                                                       "components"+                                                       " within the image");                // Chose component transformation depending on wavelet                // filters used                int filtType = getFilterType(-1,wfs);                                switch(filtType){                case FilterTypes.W5X3:                    setDefault("rct");                    return;                case FilterTypes.W9X7:                    setDefault("ict");                    return;                default:                    throw new IllegalArgumentException("Default filter is "+                                                       "not JPEG 2000 part"+                                                       " I compliant");                }            }            else{                throw new IllegalArgumentException("Default parameter of "+                                                   "option Mct not"+                                                   " recognized: "+param);            }	}	// Parse argument	StringTokenizer stk = new StringTokenizer(param);	String word; // current word	byte curSpecType = SPEC_DEF; // Specification type of the	// current parameter	boolean[] tileSpec = null; // Tiles concerned by the        // specification        Boolean value;		while(stk.hasMoreTokens()){	    word = stk.nextToken();            	    switch(word.charAt(0)){	    case 't': // Tiles specification 		tileSpec = parseIdx(word,nTiles);		if(curSpecType==SPEC_COMP_DEF){		    curSpecType = SPEC_TILE_COMP;		}		else{		    curSpecType = SPEC_TILE_DEF;		} 		break;	    case 'c': // Components specification                throw new IllegalArgumentException("Component specific "+                                                   " parameters"+                                                   " not allowed with "+                                                   "-Mct option");            default:                if(word.equals("off")){                    if(curSpecType==SPEC_DEF){                        setDefault("none");                    }                    else if(curSpecType==SPEC_TILE_DEF){                        for(int i=tileSpec.length-1; i>=0; i--)                            if(tileSpec[i]){                                setTileDef(i,"none");                            }                    }                   }                else if(word.equals("on")){                    if(nc<3)                        throw new                             IllegalArgumentException("Cannot use component"+                                                     " transformation with"+                                                     " less than 3 "+                                                     "components"+                                                     " within the image");                    // Get default filter type                    int filtType = getFilterType(-1,wfs);                    switch(filtType){                    case FilterTypes.W5X3:                        if(curSpecType==SPEC_DEF){                            setDefault("rct");                        }                        else if(curSpecType==SPEC_TILE_DEF){                            for(int i=tileSpec.length-1; i>=0; i--)                                if(tileSpec[i]){                                    setTileDef(i,"rct");                                }                        }                        break;                    case FilterTypes.W9X7:                        if(curSpecType==SPEC_DEF){                            setDefault("ict");                        }                        else if(curSpecType==SPEC_TILE_DEF){                            for(int i=tileSpec.length-1; i>=0; i--)                                if(tileSpec[i]){                                    setTileDef(i,"ict");                                }                        }                        break;                    default:                        throw new                             IllegalArgumentException("Default filter is "+                                                     "not JPEG 2000 part"+                                                     " I compliant");                    }                }                else{                    throw new IllegalArgumentException("Default parameter of "+                                                       "option Mct not"+                                                       " recognized: "+param);                }		// Re-initialize		curSpecType = SPEC_DEF;		tileSpec = null;		break;	    }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲伦在线观看| 91精品一区二区三区久久久久久| 久久国产精品区| 青青草精品视频| 日韩电影一区二区三区| 日韩精品久久久久久| 亚洲电影一区二区三区| 一区二区三区四区在线播放 | 午夜伊人狠狠久久| 亚洲美女少妇撒尿| 亚洲激情中文1区| 亚洲午夜一区二区三区| 爽好久久久欧美精品| 午夜久久电影网| 蜜臀av一区二区在线免费观看| 五月天亚洲婷婷| 国产一区福利在线| 日本不卡的三区四区五区| 国产精品一区不卡| 精品毛片乱码1区2区3区| 91国内精品野花午夜精品| 北条麻妃国产九九精品视频| 91视频一区二区三区| 欧美日韩精品一区二区| 精品免费国产一区二区三区四区| 国产视频亚洲色图| 亚洲黄色性网站| 麻豆精品国产91久久久久久| 成人永久免费视频| 在线视频一区二区三| 精品久久久久久最新网址| 国产精品久久久久国产精品日日| 亚洲综合图片区| 国产精品一区二区久激情瑜伽 | 欧美日韩三级一区| 中文字幕乱码一区二区免费| 风间由美中文字幕在线看视频国产欧美 | 国产精品中文字幕日韩精品| 91丨九色丨尤物| 精品国精品自拍自在线| 亚洲乱码中文字幕| 国产在线看一区| 欧美最猛性xxxxx直播| 久久久久久久久久久久久夜| 午夜国产精品一区| caoporen国产精品视频| 欧美va天堂va视频va在线| 亚洲制服丝袜一区| 成人午夜在线播放| 91精品国产综合久久香蕉麻豆| 亚洲日本护士毛茸茸| 国产成人小视频| 国产乱淫av一区二区三区| 久久精品免视看| 91片黄在线观看| 日一区二区三区| 久久久久青草大香线综合精品| 成人av电影免费在线播放| 精品国产百合女同互慰| 午夜精品爽啪视频| 在线欧美日韩国产| 亚洲男同1069视频| av高清久久久| 国产欧美一区二区三区鸳鸯浴 | 国产一区二区三区免费看| 欧美日韩日日骚| 亚洲综合网站在线观看| 91女人视频在线观看| 国产精品久久久久久久久免费相片| 中文字幕一区二区三区在线观看| av中文字幕在线不卡| 日本大胆欧美人术艺术动态 | 亚洲五码中文字幕| 香蕉加勒比综合久久| 成人国产精品免费观看动漫| 国产人久久人人人人爽| 国产精品一区二区你懂的| 国产女人18水真多18精品一级做 | 亚洲色图视频网| 91片在线免费观看| 一区二区三区四区视频精品免费 | 亚洲精品日日夜夜| 亚洲成av人片在线观看| 亚洲国产精品t66y| 制服丝袜亚洲网站| 92国产精品观看| 国产乱码精品一区二区三 | 99久久综合99久久综合网站| 欧美国产成人在线| 91网站黄www| 亚洲成在人线免费| 日韩一级免费观看| 国产一区二区调教| 中文字幕在线一区免费| 色av综合在线| 日韩专区欧美专区| 国产无一区二区| 色综合欧美在线视频区| 天天综合天天综合色| 精品国产乱码久久久久久老虎| 豆国产96在线|亚洲| 一区二区三区波多野结衣在线观看| 中文字幕中文字幕在线一区| 日韩免费看网站| 这里只有精品视频在线观看| 欧美午夜精品一区二区蜜桃| 91精品国产一区二区三区| 国产米奇在线777精品观看| 亚洲人吸女人奶水| 欧美成人高清电影在线| 99精品久久久久久| 久久69国产一区二区蜜臀| 亚洲欧美日韩系列| 日韩欧美在线123| 色婷婷综合久久久久中文一区二区 | 3d动漫精品啪啪1区2区免费| 国产成人在线网站| 亚洲国产成人91porn| 国产视频一区在线观看| 欧美日韩精品一区二区三区蜜桃 | 久久久五月婷婷| 在线观看免费视频综合| 国产一区二区三区免费| 亚洲成人资源网| 国产精品电影一区二区三区| 欧美一卡二卡在线| 色94色欧美sute亚洲线路一久| 国产精一区二区三区| 婷婷一区二区三区| 亚洲免费在线视频一区 二区| 久久无码av三级| 日韩欧美一级在线播放| 欧美在线观看视频一区二区| av电影天堂一区二区在线| 国产一区二区影院| 精品一区二区三区视频| 香港成人在线视频| 亚洲国产精品久久人人爱| 国产亚洲人成网站| 久久综合狠狠综合久久综合88 | 色拍拍在线精品视频8848| 国产精品综合一区二区三区| 午夜精品爽啪视频| 亚洲h精品动漫在线观看| 亚洲综合在线电影| 亚洲免费观看视频| 亚洲欧美乱综合| 亚洲欧美另类综合偷拍| 亚洲免费高清视频在线| 亚洲欧洲另类国产综合| 中文字幕亚洲电影| 亚洲女人的天堂| 一区二区三区四区av| 亚洲精品成人在线| 亚洲午夜影视影院在线观看| 亚洲成人免费观看| 人禽交欧美网站| 国内精品嫩模私拍在线| 国产自产视频一区二区三区| 久久av老司机精品网站导航| 国产尤物一区二区| 成人免费观看男女羞羞视频| 成人永久免费视频| 色婷婷精品大在线视频| 欧美丝袜丝交足nylons图片| 91精品国产免费| 精品国产免费人成电影在线观看四季| 精品电影一区二区三区| 久久精品一区二区三区av | 欧美日韩一区不卡| 欧美福利一区二区| 精品粉嫩超白一线天av| 国产午夜精品一区二区三区嫩草| 日本乱人伦一区| 欧美日韩精品系列| 日韩美女主播在线视频一区二区三区| 欧美日韩一区二区在线观看 | 欧美色视频一区| 国产乱码精品一区二区三区五月婷 | 亚洲精品在线三区| 国产精品免费视频一区| 亚洲丝袜另类动漫二区| 日韩电影在线观看电影| 三级欧美在线一区| 丁香另类激情小说| 3d动漫精品啪啪一区二区竹菊 | 亚洲精品免费电影| 蜜桃精品视频在线| 国产成人精品亚洲日本在线桃色 | 日韩欧美国产综合在线一区二区三区| 久久亚洲一区二区三区四区| 日本一区二区成人| 手机精品视频在线观看| 亚洲成人免费在线观看| 国产高清一区日本| 欧美日韩国产美| 久久综合色婷婷| 日韩精彩视频在线观看| 国内精品不卡在线| 777久久久精品|