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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? invwtfull.java

?? jpeg2000算法實(shí)現(xiàn)
?? JAVA
?? 第 1 頁 / 共 2 頁
字號(hào):
/*  * CVS identifier: *  * $Id: InvWTFull.java,v 1.13 2001/02/14 10:41:02 grosbois Exp $ *  * Class:                   InvWTFull *  * Description:             This class implements a full page inverse DWT for *                          int and float data. *  *                          the InvWTFullInt and InvWTFullFloat *                          classes by Bertrand Berthelot, Apr-19-1999 *  *  * 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.wavelet.synthesis;import jj2000.j2k.wavelet.*;import jj2000.j2k.decoder.*;import jj2000.j2k.image.*;/** * This class implements the InverseWT with the full-page approach for int and * float data. * * <P>The image can be reconstructed at different (image) resolution levels * indexed from the lowest resolution available for each tile-component. This * is controlled by the setImgResLevel() method. * * <P>Note: Image resolution level indexes may differ from tile-component * resolution index. They are indeed indexed starting from the lowest number * of decomposition levels of each component of each tile. * * <P>Example: For an image (1 tile) with 2 components (component 0 having 2 * decomposition levels and component 1 having 3 decomposition levels), the * first (tile-) component has 3 resolution levels and the second one has 4 * resolution levels, whereas the image has only 3 resolution levels * available. * * <P>This implementation does not support progressive data, all data is * considered to be non-progressive (i.e. "final" data) and the 'progressive' * attribute of the 'DataBlk' class is always set to false, see the 'DataBlk' * class. * * @see DataBlk * */public class InvWTFull extends InverseWT {    /** the code-block buffer's source i.e. the quantizer */    private CBlkWTDataSrcDec src;        /** Current data type */    private int dtype;        /**     * block storing the reconstructed image for each component     */    private DataBlk reconstructedComps[];    private InvWTHelper iwtHelper;        /**     * Initializes this object with the given source of wavelet     * coefficients. It initializes the resolution level for full resolutioin     * reconstruction.     *     * @param src from where the wavelet coefficinets should be     * obtained.     *     * @param decSpec The decoder specifications     * */    public InvWTFull(CBlkWTDataSrcDec src, DecoderSpecs decSpec){        super(src,decSpec);        this.src = src;            iwtHelper = new InvWTHelper(src);                reconstructedComps = new DataBlk[src.getNumComps()];    }    /**     * Returns the reversibility of the wavelet transform for the specified     * component, in the current tile. A wavelet transform is reversible when     * it is suitable for lossless and lossy-to-lossless compression.     *     * @param t The index of the tile.     *     * @param c The index of the component.     *     * @return true is the wavelet transform is reversible, false if not.     * */    public boolean isReversible(int t,int c) {        return iwtHelper.isReversible(t,c);    }        /**     * Returns the number of bits, referred to as the "range bits",     * corresponding to the nominal range of the data in the specified     * component.     *     * <P>The returned value corresponds to the nominal dynamic range of the     * reconstructed image data, as long as the getNomRangeBits() method of     * the source returns a value corresponding to the nominal dynamic range     * of the image data and not not of the wavelet coefficients.     *     * <P>If this number is <i>b</b> then for unsigned data the nominal range     * is between 0 and 2^b-1, and for signed data it is between -2^(b-1) and     * 2^(b-1)-1.     *     * @param c The index of the component.     *     * @return The number of bits corresponding to the nominal range of the     * data.     * */    public int getNomRangeBits(int c) {        return src.getNomRangeBits(c);    }        /**     * Returns the position of the fixed point in the specified     * component. This is the position of the least significant integral     * (i.e. non-fractional) bit, which is equivalent to the number of     * fractional bits. For instance, for fixed-point values with 2 fractional     * bits, 2 is returned. For floating-point data this value does not apply     * and 0 should be returned. Position 0 is the position of the least     * significant bit in the data.     *     * <P>This default implementation assumes that the wavelet transform does     * not modify the fixed point. If that were the case this method should be     * overriden.     *     * @param c The index of the component.     *     * @return The position of the fixed-point, which is the same as the     * number of fractional bits. For floating-point data 0 is returned.     * */    public int getFixedPoint(int c) {        return src.getFixedPoint(c);    }        /**     * Returns a block of image data containing the specifed rectangular area,     * in the specified component, as a reference to the internal buffer (see     * below). The rectangular area is specified by the coordinates and     * dimensions of the 'blk' object.     *     * <P>The area to return is specified by the 'ulx', 'uly', 'w' and 'h'     * members of the 'blk' argument. These members are not modified by this     * method.     *     * <P>The data returned by this method can be the data in the internal     * buffer of this object, if any, and thus can not be modified by the     * caller. The 'offset' and 'scanw' of the returned data can be     * arbitrary. See the 'DataBlk' class.     *     * <P>The returned data has its 'progressive' attribute unset     * (i.e. false).     *     * @param blk Its coordinates and dimensions specify the area to return.     *     * @param c The index of the component from which to get the data.     *     * @return The requested DataBlk     *     * @see #getInternCompData     * */    public final DataBlk getInternCompData(DataBlk blk, int c) {	if(src.getSubbandTree(getTileIdx(),c).hFilter==null)	    dtype = DataBlk.TYPE_INT;	else	    dtype = src.getSubbandTree(getTileIdx(),c).hFilter.getDataType();        //If the source image has not been decomposed         if(reconstructedComps[c] == null) {            //Allocate component data buffer            switch (dtype) {            case DataBlk.TYPE_FLOAT:                reconstructedComps[c] =                     new DataBlkFloat(0,0,getCompWidth(c),getCompHeight(c));                break;            case DataBlk.TYPE_INT:                reconstructedComps[c] =                     new DataBlkInt(0,0,getCompWidth(c),getCompHeight(c));                break;            }                        //Reconstruct source image            waveletTreeReconstruction(reconstructedComps[c],                                      src.getSubbandTree(getTileIdx(),c),                                      c);        }        	if(blk.getDataType()!=dtype){	    if(dtype==DataBlk.TYPE_INT){		blk = new DataBlkInt(blk.ulx,blk.uly,blk.w,blk.h);	    }	    else{		blk = new DataBlkFloat(blk.ulx,blk.uly,blk.w,blk.h);	    }	}        // Set the reference to the internal buffer        blk.setData(reconstructedComps[c].getData());        blk.offset = reconstructedComps[c].w*blk.uly+blk.ulx;        blk.scanw = reconstructedComps[c].w;        blk.progressive = false;	return blk;    }    /**     * Returns a block of image data containing the specifed rectangular area,     * in the specified component, as a copy (see below). The rectangular area     * is specified by the coordinates and dimensions of the 'blk' object.     *     * <P>The area to return is specified by the 'ulx', 'uly', 'w' and 'h'     * members of the 'blk' argument. These members are not modified by this     * method.     *     * <P>The data returned by this method is always a copy of the internal     * data of this object, if any, and it can be modified "in place" without     * any problems after being returned. The 'offset' of the returned data is     * 0, and the 'scanw' is the same as the block's width. See the 'DataBlk'     * class.     *     * <P>If the data array in 'blk' is <tt>null</tt>, then a new one is     * created. If the data array is not <tt>null</tt> then it must be big     * enough to contain the requested area.     *     * <P>The returned data always has its 'progressive' attribute unset (i.e     * false)     *     * @param blk Its coordinates and dimensions specify the area to     * return. If it contains a non-null data array, then it must be large     * enough. If it contains a null data array a new one is created. The     * fields in this object are modified to return the data.     *     * @param c The index of the component from which to get the data.     *     * @return The requested DataBlk     *     * @see #getCompData     * */    public DataBlk getCompData(DataBlk blk, int c) {        int j;        Object src_data,dst_data;        int src_data_int[],dst_data_int[];

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品久久久久三级| 一区二区三区av电影| 91激情五月电影| 久久精品国产77777蜜臀| 亚洲少妇中出一区| 久久精品夜色噜噜亚洲aⅴ| 91国偷自产一区二区三区成为亚洲经典 | 日韩免费看网站| 色哟哟在线观看一区二区三区| 日本伊人色综合网| 亚洲男同1069视频| 国产欧美日韩精品一区| 91精品国产综合久久久久久久久久 | 97精品视频在线观看自产线路二| 午夜一区二区三区在线观看| 中文字幕中文字幕在线一区| 精品国产免费一区二区三区香蕉| 精品视频1区2区| 日韩一区二区影院| 91搞黄在线观看| 99亚偷拍自图区亚洲| 国产成人av电影在线| 精品一区二区三区久久久| 亚洲成人免费看| 亚洲网友自拍偷拍| 亚洲一区二区欧美日韩| 有码一区二区三区| 最新高清无码专区| 亚洲日本成人在线观看| 综合激情成人伊人| 亚洲日本在线天堂| 亚洲精品免费电影| 亚洲色图一区二区三区| 中文字幕一区免费在线观看| 国产欧美精品一区二区三区四区| 精品日韩99亚洲| 精品久久久久久久久久久久久久久 | 麻豆一区二区在线| 日韩成人精品在线| 欧美a一区二区| 久久成人免费电影| 国内精品第一页| 国产精品一卡二| 国产成人免费视频一区| 韩国成人精品a∨在线观看| 韩国成人福利片在线播放| 国产自产v一区二区三区c| 久久99精品久久久久久国产越南 | 久久精品99久久久| 欧美另类z0zxhd电影| 欧美日韩国产小视频在线观看| 欧美日韩一区久久| 欧美一二三四区在线| 日韩精品一区二区三区swag | 国产精品久久久久久久久久久免费看 | 成人妖精视频yjsp地址| 成人伦理片在线| 日本韩国视频一区二区| 7777精品久久久大香线蕉| 日韩欧美在线影院| 国产亚洲精品bt天堂精选| 国产精品免费av| 一区二区三区四区亚洲| 日本伊人色综合网| 福利一区二区在线| 色八戒一区二区三区| 宅男噜噜噜66一区二区66| 亚洲精品一区在线观看| 国产精品久久毛片av大全日韩| 亚洲欧美日韩成人高清在线一区| 亚洲成年人网站在线观看| 国内成+人亚洲+欧美+综合在线| 国产成人在线免费| 欧洲在线/亚洲| 精品欧美久久久| 成人欧美一区二区三区在线播放| 亚洲gay无套男同| 国产米奇在线777精品观看| 99久久久久久99| 日韩一区二区三区免费看 | 99久久免费国产| 欧美一区二区三区视频免费| 欧美国产一区二区| 日韩电影免费在线| av电影天堂一区二区在线 | 日韩欧美高清在线| 亚洲欧美激情在线| 久久99热这里只有精品| 91丝袜美腿高跟国产极品老师| 欧美一级免费观看| 成人免费一区二区三区视频| 美女视频一区二区| 成人av午夜影院| 日韩欧美亚洲国产精品字幕久久久| 亚洲欧洲三级电影| 久久99国产精品久久99果冻传媒| 91视频观看视频| 久久综合999| 日韩精品成人一区二区在线| www.99精品| 日韩影院免费视频| 国产成人午夜片在线观看高清观看 | 国产美女视频91| 欧美私人免费视频| 国产精品女主播在线观看| 美国一区二区三区在线播放| 色婷婷综合激情| 国产免费久久精品| 美脚の诱脚舐め脚责91| 欧美日本乱大交xxxxx| 亚洲日本va在线观看| 床上的激情91.| 久久噜噜亚洲综合| 美国毛片一区二区三区| 欧美日韩精品综合在线| 樱花草国产18久久久久| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 成人午夜激情影院| 精品久久人人做人人爽| 舔着乳尖日韩一区| 欧美三级日韩三级| 一区二区三区日韩在线观看| 91网站在线播放| 国产精品传媒入口麻豆| 国产成人精品免费一区二区| 精品人伦一区二区色婷婷| 蜜桃视频免费观看一区| 欧美高清视频一二三区| 亚洲成a人片综合在线| 精品视频一区二区不卡| 亚洲第一主播视频| 欧美日韩亚洲综合在线 欧美亚洲特黄一级| 亚洲图片欧美激情| 99精品视频在线观看| 国产精品久久久久aaaa| 成人动漫视频在线| 国产精品成人一区二区三区夜夜夜 | 精品国产百合女同互慰| 久草热8精品视频在线观看| 日韩欧美另类在线| 久久疯狂做爰流白浆xx| 精品美女一区二区| 国产九色精品成人porny| 久久久蜜臀国产一区二区| 国产综合成人久久大片91| 亚洲精品在线一区二区| 国产精品一区二区不卡| 精品国产网站在线观看| 国产久卡久卡久卡久卡视频精品| 国产午夜三级一区二区三| 丁香啪啪综合成人亚洲小说| 国产精品三级av| 色狠狠桃花综合| 日韩精品亚洲专区| 精品国产乱码久久久久久蜜臀 | 国产一区二区三区最好精华液| 久久久久久免费| 99久久免费国产| 亚洲第一久久影院| 欧美电影免费观看高清完整版在线观看 | av成人免费在线| 亚洲高清三级视频| 亚洲精品在线三区| 9久草视频在线视频精品| 亚洲五月六月丁香激情| 精品国产一区二区三区忘忧草 | 亚洲视频1区2区| 欧美另类videos死尸| 国产一区二区成人久久免费影院| 亚洲色图视频网| 欧美一级一区二区| 懂色av一区二区三区免费看| 伊人夜夜躁av伊人久久| 欧美www视频| 日本高清不卡视频| 国产在线精品一区二区不卡了| 国产精品三级电影| 91精品国产高清一区二区三区| 国产麻豆一精品一av一免费| 一区二区成人在线| 久久综合九色综合97婷婷女人| 91视频观看视频| 国产美女精品一区二区三区| 亚洲综合在线电影| 久久精品亚洲麻豆av一区二区| 91黄色激情网站| 国产成人午夜视频| 无吗不卡中文字幕| 中文字幕一区在线观看| 日韩欧美成人激情| 色婷婷精品大在线视频| 国产精品18久久久久久vr| 亚洲午夜电影在线| 亚洲欧洲色图综合| 久久亚洲一区二区三区四区| 欧美人xxxx| 日本韩国欧美一区| 成人久久久精品乱码一区二区三区| 强制捆绑调教一区二区| 一区二区三区四区蜜桃|