Package jj2000.j2k.codestream

Examples of jj2000.j2k.codestream.HeaderInfo$COM


  {
  }
 
  public void encode( String inputFileName, String outputFileName, boolean codeStreamOnly)
  {
    ParameterList defpl;
    String param;
    int i;

    // Get the dfault parameter values
    defpl = new ParameterList();
    for (i=pinfo.length-1; i>=0; i--) {
      if(pinfo[i][3]!=null)
        defpl.put(pinfo[i][0],pinfo[i][3]);
    }

    // Get all parameters from and put them in a parameter list
    pl = new ParameterList(defpl);
    for (i=0; i<pinfo.length; i++) {
      param = getParameter(pinfo[i][0]);
      if (param != null) {
        pl.put(pinfo[i][0],param);
      }
View Full Code Here


  if (J2KImageWriteParam.FILTER_97.equals(values))
      setQuantizationType ("expounded");
  else
      setQuantizationType("reversible");

        filters = new AnWTFilterSpec(numTiles,
                                     numComponents,
                                     ModuleSpec.SPEC_TYPE_TILE_COMP,
                                     (QuantTypeSpec)quantizationType,
                                     this,
                                     values);
View Full Code Here

        // Creates ImgDataConverter
        ImgDataConverter converter = new ImgDataConverter(fctransf);

        // Creates ForwardWT (forward wavelet transform)
        ForwardWT dwt = ForwardWT.createInstance(converter, j2kwparam);

        // Creates Quantizer
        Quantizer quant = Quantizer.createInstance(dwt,j2kwparam);

        // Creates ROIScaler
View Full Code Here

TOP

Related Classes of jj2000.j2k.codestream.HeaderInfo$COM

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.