亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
亚洲激情图片qvod| 久久91精品国产91久久小草| 日韩精品亚洲一区二区三区免费| 激情av综合网| 欧美日韩日日夜夜| 中文字幕一区二区视频| 青娱乐精品视频| 欧洲激情一区二区| 欧美韩日一区二区三区四区| 蜜臀av性久久久久蜜臀aⅴ四虎| 国产精品18久久久久久久久久久久 | 狠狠色丁香婷婷综合久久片| 在线视频国内一区二区| 久久久亚洲国产美女国产盗摄| 一区二区三区在线视频观看| 国产成人精品影院| 日韩午夜在线观看| 亚洲成av人片观看| 91日韩一区二区三区| 久久精品免视看| 精品综合久久久久久8888| 欧美日韩一区二区电影| 亚洲人一二三区| thepron国产精品| 精品国产三级a在线观看| 一区二区三区四区亚洲| 波多野结衣在线aⅴ中文字幕不卡| 精品国产一二三| 久久国产精品99久久久久久老狼| 欧美色涩在线第一页| 一区二区在线观看不卡| 一本一本大道香蕉久在线精品| 日本一区二区成人在线| 丰满岳乱妇一区二区三区| 久久网这里都是精品| 麻豆精品精品国产自在97香蕉| 欧美精品久久天天躁| 亚洲r级在线视频| 欧美日韩一区中文字幕| 亚洲1区2区3区4区| 欧美日韩国产成人在线91| 午夜久久久久久久久| 欧美另类高清zo欧美| 日韩电影一二三区| 制服丝袜亚洲色图| 极品销魂美女一区二区三区| 精品国产一区二区三区四区四| 狠狠色丁香婷婷综合| 久久久国产精华| 波多野结衣精品在线| 亚洲精品高清在线观看| 欧美三级视频在线播放| 日本成人在线看| 久久在线观看免费| 高清在线不卡av| 亚洲欧洲性图库| 欧美午夜电影网| 青青青伊人色综合久久| 欧美大胆人体bbbb| 成人av免费在线播放| 一区二区三区欧美视频| 欧美精品在线一区二区| 狂野欧美性猛交blacked| 国产欧美一区二区三区在线老狼| 成人app网站| 亚洲综合自拍偷拍| 91精品国产综合久久福利| 国产精品一区二区三区99| 国产精品嫩草影院av蜜臀| 欧美日韩视频不卡| 韩国成人在线视频| 亚洲精品免费在线观看| 欧美一个色资源| 国产成人午夜精品影院观看视频| 亚洲日本在线天堂| 欧美日韩大陆一区二区| 成人一区二区三区视频在线观看| 一区二区三区资源| 精品毛片乱码1区2区3区| 成人在线视频首页| 男女男精品网站| 亚洲天堂av老司机| 久久久久久**毛片大全| 欧美色视频在线观看| 东方欧美亚洲色图在线| 日本 国产 欧美色综合| 亚洲日本免费电影| 欧美不卡视频一区| 欧美色精品在线视频| 盗摄精品av一区二区三区| 视频一区二区中文字幕| 国产精品美女一区二区三区| 日韩美一区二区三区| 99这里只有精品| 国模套图日韩精品一区二区| 亚洲gay无套男同| 亚洲三级电影全部在线观看高清| 久久久久久久久久久久电影 | 成人欧美一区二区三区白人 | 亚洲免费观看视频| 国产精品每日更新在线播放网址 | 亚洲小说欧美激情另类| 一区免费观看视频| 亚洲国产精华液网站w| 91精品国产综合久久久蜜臀粉嫩 | 亚洲国产视频在线| 美女网站视频久久| 亚洲欧美日韩在线不卡| 成人小视频免费在线观看| 欧美午夜一区二区三区| 亚洲欧洲日韩在线| 精品国产99国产精品| 欧美一区二区三区免费视频| 一本色道久久综合亚洲精品按摩| 精品写真视频在线观看| 国产三级欧美三级日产三级99| 日韩视频123| 欧美主播一区二区三区| 91亚洲精华国产精华精华液| 国产毛片一区二区| 激情久久久久久久久久久久久久久久| 一区二区成人在线观看| 国产精品久久久久久久久免费相片| 色久优优欧美色久优优| 91丨porny丨蝌蚪视频| 91最新地址在线播放| 99久久免费国产| 91亚洲永久精品| 色欧美乱欧美15图片| 色婷婷亚洲一区二区三区| 色综合久久综合网欧美综合网| 91免费国产视频网站| 在线视频你懂得一区二区三区| 91久久精品一区二区三区| 在线看国产日韩| 欧美精品高清视频| 精品国产一区二区三区四区四 | 8x8x8国产精品| 精品国产免费视频| 国产免费观看久久| 亚洲人xxxx| 亚洲色图在线视频| 丝袜美腿高跟呻吟高潮一区| 久草中文综合在线| 丁香婷婷综合五月| 欧美调教femdomvk| 欧美福利一区二区| 7777精品伊人久久久大香线蕉的 | 亚洲精品成人在线| 亚洲精品伦理在线| 亚洲欧美日韩一区二区三区在线观看| 亚洲午夜在线视频| 经典三级视频一区| 成人黄色片在线观看| 91久久精品一区二区二区| 7777精品伊人久久久大香线蕉 | 日韩成人dvd| 国产乱人伦偷精品视频不卡| 成人精品国产免费网站| 欧美日韩精品一区二区三区四区| 7777女厕盗摄久久久| 国产精品精品国产色婷婷| 日韩在线a电影| av一区二区久久| 777a∨成人精品桃花网| 欧美极品另类videosde| 亚洲大型综合色站| 成人av午夜电影| 精品免费99久久| 亚洲成av人影院在线观看网| 懂色av一区二区三区免费观看| 成人黄色网址在线观看| 欧美精品亚洲二区| 国产精品欧美精品| 美女mm1313爽爽久久久蜜臀| 在线免费一区三区| 国产精品国产三级国产专播品爱网 | 中文在线免费一区三区高中清不卡| 天天av天天翘天天综合网| 91网站在线观看视频| 久久久www成人免费无遮挡大片 | 一区二区三区电影在线播| 高清国产一区二区三区| 日韩视频免费观看高清在线视频| 一区二区三区不卡在线观看| 成人黄色综合网站| 伊人一区二区三区| 91老师国产黑色丝袜在线| 26uuu亚洲婷婷狠狠天堂| 免费观看在线综合| 欧美在线高清视频| 亚洲精品写真福利| 99精品国产一区二区三区不卡| 国产亚洲欧美色| 国产成人精品三级麻豆| 久久综合色婷婷| 国产一区二区三区不卡在线观看| 欧美一区日本一区韩国一区| 天天综合色天天综合| 欧美日韩亚洲综合在线 |