本文整理了Java中jj2000.j2k.quantization.quantizer.Quantizer.calcSbParams
方法的一些代码示例,展示了Quantizer.calcSbParams
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Quantizer.calcSbParams
方法的具体详情如下:
包路径:jj2000.j2k.quantization.quantizer.Quantizer
类名称:Quantizer
方法名:calcSbParams
[英]Calculates the parameters of the SubbandAn objects that depend on the Quantizer. The 'stepWMSE' field is calculated for each subband which is a leaf in the tree rooted at 'sb', for the specified component. The subband tree 'sb' must be the one for the component 'n'.
[中]
代码示例来源:origin: com.github.jai-imageio/jai-imageio-jpeg2000
/**
* Returns a reference to the subband tree structure representing the
* subband decomposition for the specified tile-component.
*
* <P>This method gets the subband tree from the source and then
* calculates the magnitude bits for each leaf using the method
* calcSbParams().
*
* @param t The index of the tile.
*
* @param c The index of the component.
*
* @return The subband tree structure, see SubbandAn.
*
* @see SubbandAn
*
* @see Subband
*
* @see #calcSbParams
* */
public SubbandAn getAnSubbandTree(int t,int c) {
SubbandAn sbba;
// Ask for the wavelet tree of the source
sbba = src.getAnSubbandTree(t,c);
// Calculate the stepWMSE
calcSbParams(sbba,c);
return sbba;
}
代码示例来源:origin: net.java.dev.jai-imageio/jai-imageio-jpeg2000
/**
* Returns a reference to the subband tree structure representing the
* subband decomposition for the specified tile-component.
*
* <P>This method gets the subband tree from the source and then
* calculates the magnitude bits for each leaf using the method
* calcSbParams().
*
* @param t The index of the tile.
*
* @param c The index of the component.
*
* @return The subband tree structure, see SubbandAn.
*
* @see SubbandAn
*
* @see Subband
*
* @see #calcSbParams
* */
public SubbandAn getAnSubbandTree(int t,int c) {
SubbandAn sbba;
// Ask for the wavelet tree of the source
sbba = src.getAnSubbandTree(t,c);
// Calculate the stepWMSE
calcSbParams(sbba,c);
return sbba;
}
代码示例来源:origin: org.openmicroscopy/ome-jai
/**
* Returns a reference to the subband tree structure representing the
* subband decomposition for the specified tile-component.
*
* <P>This method gets the subband tree from the source and then
* calculates the magnitude bits for each leaf using the method
* calcSbParams().
*
* @param t The index of the tile.
*
* @param c The index of the component.
*
* @return The subband tree structure, see SubbandAn.
*
* @see SubbandAn
*
* @see Subband
*
* @see #calcSbParams
* */
public SubbandAn getAnSubbandTree(int t,int c) {
SubbandAn sbba;
// Ask for the wavelet tree of the source
sbba = src.getAnSubbandTree(t,c);
// Calculate the stepWMSE
calcSbParams(sbba,c);
return sbba;
}
代码示例来源:origin: edu.ucar/jj2000
/**
* Returns a reference to the subband tree structure representing the
* subband decomposition for the specified tile-component.
*
* <P>This method gets the subband tree from the source and then
* calculates the magnitude bits for each leaf using the method
* calcSbParams().
*
* @param t The index of the tile.
*
* @param c The index of the component.
*
* @return The subband tree structure, see SubbandAn.
*
* @see SubbandAn
*
* @see Subband
*
* @see #calcSbParams
* */
public SubbandAn getAnSubbandTree(int t,int c) {
SubbandAn sbba;
// Ask for the wavelet tree of the source
sbba = src.getAnSubbandTree(t,c);
// Calculate the stepWMSE
calcSbParams(sbba,c);
return sbba;
}
代码示例来源:origin: poreid/poreid
/**
* Returns a reference to the subband tree structure representing the
* subband decomposition for the specified tile-component.
*
* <P>This method gets the subband tree from the source and then
* calculates the magnitude bits for each leaf using the method
* calcSbParams().
*
* @param t The index of the tile.
*
* @param c The index of the component.
*
* @return The subband tree structure, see SubbandAn.
*
* @see SubbandAn
*
* @see Subband
*
* @see #calcSbParams
* */
public SubbandAn getAnSubbandTree(int t,int c) {
SubbandAn sbba;
// Ask for the wavelet tree of the source
sbba = src.getAnSubbandTree(t,c);
// Calculate the stepWMSE
calcSbParams(sbba,c);
return sbba;
}
内容来源于网络,如有侵权,请联系作者删除!