Java Doc for SubbandAn.java in  » 6.0-JDK-Modules » Java-Advanced-Imaging » jj2000 » j2k » wavelet » analysis » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » Java Advanced Imaging » jj2000.j2k.wavelet.analysis 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   jj2000.j2k.wavelet.Subband
      jj2000.j2k.wavelet.analysis.SubbandAn

SubbandAn
public class SubbandAn extends Subband (Code)
This class represents a subband in a bidirectional tree structure that describes the subband decomposition for a wavelet transform, specifically for the analysis side.

The element can be either a node or a leaf of the tree. If it is a node then ther are 4 descendants (LL, HL, LH and HH). If it is a leaf there are no descendants.

The tree is bidirectional. Each element in the tree structure has a "parent", which is the subband from which the element was obtained by decomposition. The only exception is the root element which has no parent (i.e.it's null), for obvious reasons.



Field Summary
public  AnWTFilterhFilter
     The horizontal analysis filter used to decompose this subband.
public  floatl2Norm
     The L2-norm of the synthesis basis waveform of this subband, applicable to "leafs" only.
public  SubbandAnparent
     The reference to the parent of this subband.
public  floatstepWMSE
     The contribution to the MSE or WMSE error that would result in the image if there was an error of exactly one quantization step size in the sample of the subband.
public  SubbandAnsubb_HH
     The reference to the HH subband resulting from the decomposition of this subband.
public  SubbandAnsubb_HL
     The reference to the HL subband (horizontal high-pass) resulting from the decomposition of this subband.
public  SubbandAnsubb_LH
     The reference to the LH subband (vertical high-pass) resulting from the decomposition of this subband.
public  SubbandAnsubb_LL
     The reference to the LL subband resulting from the decomposition of this subband.
public  AnWTFiltervFilter
     The vertical analysis filter used to decompose this subband.

Constructor Summary
public  SubbandAn()
     Creates a SubbandAn element with all the default values.
public  SubbandAn(int w, int h, int ulcx, int ulcy, int lvls, WaveletFilter hfilters, WaveletFilter vfilters)
     Creates the top-level node and the entire subband tree, with the top-level dimensions, the number of decompositions, and the decomposition tree as specified.

This constructor just calls the same constructor of the super class, and then calculates the L2-norm (or energy weight) of each leaf.

This constructor does not initialize the value of the magBits or stepWMSE member variables.


Method Summary
public  SubbandgetHH()
     Returns the HH child subband of this subband.
public  SubbandgetHL()
     Returns the HL (horizontal high-pass) child subband of this subband.
public  WaveletFiltergetHorWFilter()
    
public  SubbandgetLH()
     Returns the LH (vertical high-pass) child subband of this subband.
public  SubbandgetLL()
     Returns the LL child subband of this subband.
public  SubbandgetParent()
     Returns the parent of this subband.
public  WaveletFiltergetVerWFilter()
    
protected  Subbandsplit(WaveletFilter hfilter, WaveletFilter vfilter)
     Splits the current subband in its four subbands.

Field Detail
hFilter
public AnWTFilter hFilter(Code)
The horizontal analysis filter used to decompose this subband. This is applicable to "node" elements only. The default value is null.



l2Norm
public float l2Norm(Code)
The L2-norm of the synthesis basis waveform of this subband, applicable to "leafs" only. By default it is -1 (i.e. not calculated yet).



parent
public SubbandAn parent(Code)
The reference to the parent of this subband. It is null for the root element. It is null by default.



stepWMSE
public float stepWMSE(Code)
The contribution to the MSE or WMSE error that would result in the image if there was an error of exactly one quantization step size in the sample of the subband. This value is expressed relative to a nominal dynamic range in the image domain of exactly 1.0. This field contains valid data only after quantization 9See Quantizer).
See Also:   jj2000.j2k.quantization.quantizer.Quantizer



subb_HH
public SubbandAn subb_HH(Code)
The reference to the HH subband resulting from the decomposition of this subband. It is null by default.



subb_HL
public SubbandAn subb_HL(Code)
The reference to the HL subband (horizontal high-pass) resulting from the decomposition of this subband. It is null by default.



subb_LH
public SubbandAn subb_LH(Code)
The reference to the LH subband (vertical high-pass) resulting from the decomposition of this subband. It is null by default.



subb_LL
public SubbandAn subb_LL(Code)
The reference to the LL subband resulting from the decomposition of this subband. It is null by default.



vFilter
public AnWTFilter vFilter(Code)
The vertical analysis filter used to decompose this subband. This is applicable to "node" elements only. The default value is null.




Constructor Detail
SubbandAn
public SubbandAn()(Code)
Creates a SubbandAn element with all the default values. The dimensions are (0,0) and the upper left corner is (0,0).



SubbandAn
public SubbandAn(int w, int h, int ulcx, int ulcy, int lvls, WaveletFilter hfilters, WaveletFilter vfilters)(Code)
Creates the top-level node and the entire subband tree, with the top-level dimensions, the number of decompositions, and the decomposition tree as specified.

This constructor just calls the same constructor of the super class, and then calculates the L2-norm (or energy weight) of each leaf.

This constructor does not initialize the value of the magBits or stepWMSE member variables. This variables are normally initialized by the quantizer (see Quantizer).
Parameters:
  w - The top-level width
Parameters:
  h - The top-level height
Parameters:
  ulcx - The horizontal coordinate of the upper-left corner withrespect to the canvas origin, in the component grid.
Parameters:
  ulcy - The vertical coordinate of the upper-left corner withrespect to the canvas origin, in the component grid.
Parameters:
  lvls - The number of levels (or LL decompositions) in thetree.
Parameters:
  hfilters - The horizontal wavelet analysis filters for eachresolution level, starting at resolution level 0.
Parameters:
  vfilters - The vertical wavelet analysis filters for eachresolution level, starting at resolution level 0.
See Also:   Subband.Subband(intintintintintWaveletFilter[]WaveletFilter[])
See Also:   jj2000.j2k.quantization.quantizer.Quantizer





Method Detail
getHH
public Subband getHH()(Code)
Returns the HH child subband of this subband. The HH child subband, or null if there are no childs.



getHL
public Subband getHL()(Code)
Returns the HL (horizontal high-pass) child subband of this subband. The HL child subband, or null if there are no childs.



getHorWFilter
public WaveletFilter getHorWFilter()(Code)
This function returns the horizontal wavelet filter relevant to this subband The horizontal wavelet filter



getLH
public Subband getLH()(Code)
Returns the LH (vertical high-pass) child subband of this subband. The LH child subband, or null if there are no childs.



getLL
public Subband getLL()(Code)
Returns the LL child subband of this subband. The LL child subband, or null if there are no childs.



getParent
public Subband getParent()(Code)
Returns the parent of this subband. The parent of a subband is the subband from which this one was obtained by decomposition. The root element has no parent subband (null). The parent subband, or null for the root one.



getVerWFilter
public WaveletFilter getVerWFilter()(Code)
This function returns the vertical wavelet filter relevant to this subband The vertical wavelet filter



split
protected Subband split(WaveletFilter hfilter, WaveletFilter vfilter)(Code)
Splits the current subband in its four subbands. It changes the status of this element (from a leaf to a node, and sets the filters), creates the childs and initializes them. An IllegalArgumentException is thrown if this subband is not a leaf.

It uses the initChilds() method to initialize the childs.
Parameters:
  hfilter - The horizontal wavelet filter used to decomposethis subband. It has to be a AnWTFilter object.
Parameters:
  vfilter - The vertical wavelet filter used to decompose thissubband. It has to be a AnWTFilter object. A reference to the LL leaf (subb_LL).
See Also:   Subband.initChilds




Fields inherited from jj2000.j2k.wavelet.Subband
final public static int WT_ORIENT_HH(Code)(Java Doc)
final public static int WT_ORIENT_HL(Code)(Java Doc)
final public static int WT_ORIENT_LH(Code)(Java Doc)
final public static int WT_ORIENT_LL(Code)(Java Doc)
public int anGainExp(Code)(Java Doc)
public int h(Code)(Java Doc)
public boolean isNode(Code)(Java Doc)
public int level(Code)(Java Doc)
public int nomCBlkH(Code)(Java Doc)
public int nomCBlkW(Code)(Java Doc)
public Point numCb(Code)(Java Doc)
public int orientation(Code)(Java Doc)
public int resLvl(Code)(Java Doc)
public int sbandIdx(Code)(Java Doc)
public int ulcx(Code)(Java Doc)
public int ulcy(Code)(Java Doc)
public int ulx(Code)(Java Doc)
public int uly(Code)(Java Doc)
public int w(Code)(Java Doc)

Methods inherited from jj2000.j2k.wavelet.Subband
abstract public Subband getHH()(Code)(Java Doc)
abstract public Subband getHL()(Code)(Java Doc)
abstract public WaveletFilter getHorWFilter()(Code)(Java Doc)
abstract public Subband getLH()(Code)(Java Doc)
abstract public Subband getLL()(Code)(Java Doc)
public Subband getNextResLevel()(Code)(Java Doc)
abstract public Subband getParent()(Code)(Java Doc)
public Subband getSubband(int x, int y)(Code)(Java Doc)
public Subband getSubbandByIdx(int rl, int sbi)(Code)(Java Doc)
abstract public WaveletFilter getVerWFilter()(Code)(Java Doc)
protected void initChilds()(Code)(Java Doc)
public Subband nextSubband()(Code)(Java Doc)
abstract protected Subband split(WaveletFilter hfilter, WaveletFilter vfilter)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.