jj2000.j2k.quantization.QuantTypeSpec.getDefault()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(6.0k)|赞(0)|评价(0)|浏览(64)

本文整理了Java中jj2000.j2k.quantization.QuantTypeSpec.getDefault方法的一些代码示例,展示了QuantTypeSpec.getDefault的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。QuantTypeSpec.getDefault方法的具体详情如下:
包路径:jj2000.j2k.quantization.QuantTypeSpec
类名称:QuantTypeSpec
方法名:getDefault

QuantTypeSpec.getDefault介绍

暂无

代码示例

代码示例来源:origin: poreid/poreid

/**
 * Check the reversibility of the whole image.
 *
 * @return Whether or not the whole image is reversible
 * */
public boolean isFullyReversible(){
// The whole image is reversible if default specification is
// rev and no tile default, component default and
// tile-component value has been specificied
if( ((String)getDefault()).equals("reversible") ){
  for(int t=nTiles-1; t>=0; t--)
  for(int c=nComp-1; c>=0; c--)
    if(specValType[t][c]!=SPEC_DEF)
    return false;
  return true;
}
return false;
}

代码示例来源:origin: net.java.dev.jai-imageio/jai-imageio-jpeg2000

/**
 * Check the reversibility of the whole image.
 *
 * @return Whether or not the whole image is reversible
 * */
public boolean isFullyReversible(){
// The whole image is reversible if default specification is
// rev and no tile default, component default and
// tile-component value has been specificied
if( ((String)getDefault()).equals("reversible") ){
  for(int t=nTiles-1; t>=0; t--)
  for(int c=nComp-1; c>=0; c--)
    if(specValType[t][c]!=SPEC_DEF)
    return false;
  return true;
}
return false;
}

代码示例来源:origin: edu.ucar/jj2000

/**
 * Check the reversibility of the whole image.
 *
 * @return Whether or not the whole image is reversible
 * */
public boolean isFullyReversible() {
// The whole image is reversible if default specification is
// rev and no tile default, component default and
// tile-component value has been specificied
if( ((String)getDefault()).equals("reversible") ) {
  for(int t=nTiles-1; t>=0; t--)
  for(int c=nComp-1; c>=0; c--)
    if(specValType[t][c]!=SPEC_DEF)
    return false;
  return true;
}
 return false;
}

代码示例来源:origin: org.openmicroscopy/ome-jai

/**
 * Check the reversibility of the whole image.
 *
 * @return Whether or not the whole image is reversible
 * */
public boolean isFullyReversible(){
// The whole image is reversible if default specification is
// rev and no tile default, component default and
// tile-component value has been specificied
if( ((String)getDefault()).equals("reversible") ){
  for(int t=nTiles-1; t>=0; t--)
  for(int c=nComp-1; c>=0; c--)
    if(specValType[t][c]!=SPEC_DEF)
    return false;
  return true;
}
return false;
}

代码示例来源:origin: com.github.jai-imageio/jai-imageio-jpeg2000

/**
 * Check the reversibility of the whole image.
 *
 * @return Whether or not the whole image is reversible
 * */
public boolean isFullyReversible(){
// The whole image is reversible if default specification is
// rev and no tile default, component default and
// tile-component value has been specificied
if( ((String)getDefault()).equals("reversible") ){
  for(int t=nTiles-1; t>=0; t--)
  for(int c=nComp-1; c>=0; c--)
    if(specValType[t][c]!=SPEC_DEF)
    return false;
  return true;
}
return false;
}

代码示例来源:origin: com.github.jai-imageio/jai-imageio-jpeg2000

if(getDefault()==null){
  int ndefspec = 0;
  for(int t=nt-1; t>=0; t--){

代码示例来源:origin: net.java.dev.jai-imageio/jai-imageio-jpeg2000

if(getDefault()==null){
  int ndefspec = 0;
  for(int t=nt-1; t>=0; t--){

代码示例来源:origin: org.openmicroscopy/ome-jai

if(getDefault()==null){
  int ndefspec = 0;
  for(int t=nt-1; t>=0; t--){

代码示例来源:origin: poreid/poreid

if(getDefault()==null){
  int ndefspec = 0;
  for(int t=nt-1; t>=0; t--){

代码示例来源:origin: edu.ucar/jj2000

if(getDefault()==null) {
  int ndefspec = 0;
  for(int t=nt-1; t>=0; t--){

代码示例来源:origin: edu.ucar/jj2000

String qType = (String)encSpec.qts.getDefault();
float baseStep = ((Float)encSpec.qsss.getDefault()).floatValue();
int gb = ((Integer)encSpec.gbs.getDefault()).intValue();

代码示例来源:origin: com.github.jai-imageio/jai-imageio-jpeg2000

float step;
String qType = (String)wp.getQuantizationType().getDefault();
float baseStep = ((Float)wp.getQuantizationStep().getDefault()).floatValue();
int gb = ((Integer)wp.getGuardBits().getDefault()).intValue();

代码示例来源:origin: net.java.dev.jai-imageio/jai-imageio-jpeg2000

float step;
String qType = (String)wp.getQuantizationType().getDefault();
float baseStep = ((Float)wp.getQuantizationStep().getDefault()).floatValue();
int gb = ((Integer)wp.getGuardBits().getDefault()).intValue();

代码示例来源:origin: org.openmicroscopy/ome-jai

float step;
String qType = (String)wp.getQuantizationType().getDefault();
float baseStep = ((Float)wp.getQuantizationStep().getDefault()).floatValue();
int gb = ((Integer)wp.getGuardBits().getDefault()).intValue();

代码示例来源:origin: poreid/poreid

float step;
String qType = (String)wp.getQuantizationType().getDefault();
float baseStep = ((Float)wp.getQuantizationStep().getDefault()).floatValue();
int gb = ((Integer)wp.getGuardBits().getDefault()).intValue();

代码示例来源:origin: org.openmicroscopy/ome-jai

if( wp.getLossless() )
        setDefault(parseFilters(REV_FILTER_STR));
if( ((String)qts.getDefault()).
        equals("reversible") ){
setDefault(parseFilters(REV_FILTER_STR));
if( ((String)qts.getDefault()).equals("reversible") )
  setDefault(parseFilters(REV_FILTER_STR));
else

代码示例来源:origin: net.java.dev.jai-imageio/jai-imageio-jpeg2000

if( wp.getLossless() )
        setDefault(parseFilters(REV_FILTER_STR));
if( ((String)qts.getDefault()).
        equals("reversible") ){
setDefault(parseFilters(REV_FILTER_STR));
if( ((String)qts.getDefault()).equals("reversible") )
  setDefault(parseFilters(REV_FILTER_STR));
else

代码示例来源:origin: com.github.jai-imageio/jai-imageio-jpeg2000

if( wp.getLossless() )
        setDefault(parseFilters(REV_FILTER_STR));
if( ((String)qts.getDefault()).
        equals("reversible") ){
setDefault(parseFilters(REV_FILTER_STR));
if( ((String)qts.getDefault()).equals("reversible") )
  setDefault(parseFilters(REV_FILTER_STR));
else

代码示例来源:origin: poreid/poreid

if( wp.getLossless() )
        setDefault(parseFilters(REV_FILTER_STR));
if( ((String)qts.getDefault()).
        equals("reversible") ){
setDefault(parseFilters(REV_FILTER_STR));
if( ((String)qts.getDefault()).equals("reversible") )
  setDefault(parseFilters(REV_FILTER_STR));
else

代码示例来源:origin: edu.ucar/jj2000

if( pl.getBooleanParameter("lossless") )
        setDefault(parseFilters(REV_FILTER_STR));
if( ((String)qts.getDefault()).
        equals("reversible") ) {
setDefault(parseFilters(REV_FILTER_STR));
if( ((String)qts.getDefault()).equals("reversible") )
  setDefault(parseFilters(REV_FILTER_STR));
else

相关文章