本文整理了Java中jj2000.j2k.quantization.QuantTypeSpec.getDefault
方法的一些代码示例,展示了QuantTypeSpec.getDefault
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。QuantTypeSpec.getDefault
方法的具体详情如下:
包路径:jj2000.j2k.quantization.QuantTypeSpec
类名称: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
内容来源于网络,如有侵权,请联系作者删除!