Java Doc for InvWTFull.java in  » 6.0-JDK-Modules » Java-Advanced-Imaging » jj2000 » j2k » wavelet » synthesis » 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.synthesis 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   jj2000.j2k.wavelet.synthesis.InvWTAdapter
      jj2000.j2k.wavelet.synthesis.InverseWT
         jj2000.j2k.wavelet.synthesis.InvWTFull

InvWTFull
public class InvWTFull extends InverseWT (Code)
This class implements the InverseWT with the full-page approach for int and float data.

The image can be reconstructed at different (image) resolution levels indexed from the lowest resolution available for each tile-component. This is controlled by the setImgResLevel() method.

Note: Image resolution level indexes may differ from tile-component resolution index. They are indeed indexed starting from the lowest number of decomposition levels of each component of each tile.

Example: For an image (1 tile) with 2 components (component 0 having 2 decomposition levels and component 1 having 3 decomposition levels), the first (tile-) component has 3 resolution levels and the second one has 4 resolution levels, whereas the image has only 3 resolution levels available.

This implementation does not support progressive data, all data is considered to be non-progressive (i.e. "final" data) and the 'progressive' attribute of the 'DataBlk' class is always set to false, see the 'DataBlk' class.
See Also:   DataBlk




Constructor Summary
public  InvWTFull(CBlkWTDataSrcDec src, DecoderSpecs decSpec)
     Initializes this object with the given source of wavelet coefficients.

Method Summary
public  DataBlkgetCompData(DataBlk blk, int c)
     Returns a block of image data containing the specifed rectangular area, in the specified component, as a copy (see below).
public  intgetFixedPoint(int c)
     Returns the position of the fixed point in the specified component.
public  intgetImplementationType(int c)
     Returns the implementation type of this wavelet transform, WT_IMPL_FULL (full-page based transform).
final public  DataBlkgetInternCompData(DataBlk blk, int c)
     Returns a block of image data containing the specifed rectangular area, in the specified component, as a reference to the internal buffer (see below).
public  intgetNomRangeBits(int c)
     Returns the number of bits, referred to as the "range bits", corresponding to the nominal range of the data in the specified component.

The returned value corresponds to the nominal dynamic range of the reconstructed image data, as long as the getNomRangeBits() method of the source returns a value corresponding to the nominal dynamic range of the image data and not not of the wavelet coefficients.

If this number is b then for unsigned data the nominal range is between 0 and 2^b-1, and for signed data it is between -2^(b-1) and 2^(b-1)-1.
Parameters:
  c - The index of the component.

public  booleanisReversible(int t, int c)
     Returns the reversibility of the wavelet transform for the specified component, in the current tile.
public  voidnextTile()
     Advances to the next tile, in standard scan-line order (by rows then columns).
public  voidsetTile(int x, int y)
     Changes the current tile, given the new indexes.


Constructor Detail
InvWTFull
public InvWTFull(CBlkWTDataSrcDec src, DecoderSpecs decSpec)(Code)
Initializes this object with the given source of wavelet coefficients. It initializes the resolution level for full resolutioin reconstruction.
Parameters:
  src - from where the wavelet coefficinets should beobtained.
Parameters:
  decSpec - The decoder specifications




Method Detail
getCompData
public DataBlk getCompData(DataBlk blk, int c)(Code)
Returns a block of image data containing the specifed rectangular area, in the specified component, as a copy (see below). The rectangular area is specified by the coordinates and dimensions of the 'blk' object.

The area to return is specified by the 'ulx', 'uly', 'w' and 'h' members of the 'blk' argument. These members are not modified by this method.

The data returned by this method is always a copy of the internal data of this object, if any, and it can be modified "in place" without any problems after being returned. The 'offset' of the returned data is 0, and the 'scanw' is the same as the block's width. See the 'DataBlk' class.

If the data array in 'blk' is null, then a new one is created. If the data array is not null then it must be big enough to contain the requested area.

The returned data always has its 'progressive' attribute unset (i.e false)
Parameters:
  blk - Its coordinates and dimensions specify the area toreturn. If it contains a non-null data array, then it must be largeenough. If it contains a null data array a new one is created. Thefields in this object are modified to return the data.
Parameters:
  c - The index of the component from which to get the data. The requested DataBlk
See Also:   InvWTFull.getCompData




getFixedPoint
public int getFixedPoint(int c)(Code)
Returns the position of the fixed point in the specified component. This is the position of the least significant integral (i.e. non-fractional) bit, which is equivalent to the number of fractional bits. For instance, for fixed-point values with 2 fractional bits, 2 is returned. For floating-point data this value does not apply and 0 should be returned. Position 0 is the position of the least significant bit in the data.

This default implementation assumes that the wavelet transform does not modify the fixed point. If that were the case this method should be overriden.
Parameters:
  c - The index of the component. The position of the fixed-point, which is the same as thenumber of fractional bits. For floating-point data 0 is returned.




getImplementationType
public int getImplementationType(int c)(Code)
Returns the implementation type of this wavelet transform, WT_IMPL_FULL (full-page based transform). All components return the same.
Parameters:
  c - The index of the component. WT_IMPL_FULL
See Also:   WaveletTransform.WT_IMPL_FULL



getInternCompData
final public DataBlk getInternCompData(DataBlk blk, int c)(Code)
Returns a block of image data containing the specifed rectangular area, in the specified component, as a reference to the internal buffer (see below). The rectangular area is specified by the coordinates and dimensions of the 'blk' object.

The area to return is specified by the 'ulx', 'uly', 'w' and 'h' members of the 'blk' argument. These members are not modified by this method.

The data returned by this method can be the data in the internal buffer of this object, if any, and thus can not be modified by the caller. The 'offset' and 'scanw' of the returned data can be arbitrary. See the 'DataBlk' class.

The returned data has its 'progressive' attribute unset (i.e. false).


Parameters:
  blk - Its coordinates and dimensions specify the area to return.
Parameters:
  c - The index of the component from which to get the data. The requested DataBlk
See Also:   InvWTFull.getInternCompData



getNomRangeBits
public int getNomRangeBits(int c)(Code)
Returns the number of bits, referred to as the "range bits", corresponding to the nominal range of the data in the specified component.

The returned value corresponds to the nominal dynamic range of the reconstructed image data, as long as the getNomRangeBits() method of the source returns a value corresponding to the nominal dynamic range of the image data and not not of the wavelet coefficients.

If this number is b then for unsigned data the nominal range is between 0 and 2^b-1, and for signed data it is between -2^(b-1) and 2^(b-1)-1.
Parameters:
  c - The index of the component. The number of bits corresponding to the nominal range of thedata.




isReversible
public boolean isReversible(int t, int c)(Code)
Returns the reversibility of the wavelet transform for the specified component, in the current tile. A wavelet transform is reversible when it is suitable for lossless and lossy-to-lossless compression.
Parameters:
  t - The index of the tile.
Parameters:
  c - The index of the component. true is the wavelet transform is reversible, false if not.



nextTile
public void nextTile()(Code)
Advances to the next tile, in standard scan-line order (by rows then columns). An 'NoNextElementException' is thrown if the current tile is the last one (i.e. there is no next tile).



setTile
public void setTile(int x, int y)(Code)
Changes the current tile, given the new indexes. An IllegalArgumentException is thrown if the indexes do not correspond to a valid tile.
Parameters:
  x - The horizontal index of the tile.
Parameters:
  y - The vertical index of the new tile.



Methods inherited from jj2000.j2k.wavelet.synthesis.InverseWT
public static InverseWT createInstance(CBlkWTDataSrcDec src, DecoderSpecs decSpec)(Code)(Java Doc)

Fields inherited from jj2000.j2k.wavelet.synthesis.InvWTAdapter
protected DecoderSpecs decSpec(Code)(Java Doc)
protected int maxImgRes(Code)(Java Doc)
protected MultiResImgData mressrc(Code)(Java Doc)
protected int reslvl(Code)(Java Doc)

Methods inherited from jj2000.j2k.wavelet.synthesis.InvWTAdapter
public int getCompImgHeight(int c)(Code)(Java Doc)
public int getCompImgWidth(int c)(Code)(Java Doc)
public int getCompSubsX(int c)(Code)(Java Doc)
public int getCompSubsY(int c)(Code)(Java Doc)
public int getCompULX(int c)(Code)(Java Doc)
public int getCompULY(int c)(Code)(Java Doc)
public int getImgHeight()(Code)(Java Doc)
public int getImgULX()(Code)(Java Doc)
public int getImgULY()(Code)(Java Doc)
public int getImgWidth()(Code)(Java Doc)
public int getNomTileHeight()(Code)(Java Doc)
public int getNomTileWidth()(Code)(Java Doc)
public int getNumComps()(Code)(Java Doc)
public Point getNumTiles(Point co)(Code)(Java Doc)
public int getNumTiles()(Code)(Java Doc)
public SubbandSyn getSynSubbandTree(int t, int c)(Code)(Java Doc)
public Point getTile(Point co)(Code)(Java Doc)
public int getTileCompHeight(int t, int c)(Code)(Java Doc)
public int getTileCompWidth(int t, int c)(Code)(Java Doc)
public int getTileHeight()(Code)(Java Doc)
public int getTileIdx()(Code)(Java Doc)
public int getTilePartULX()(Code)(Java Doc)
public int getTilePartULY()(Code)(Java Doc)
public int getTileWidth()(Code)(Java Doc)
public void nextTile()(Code)(Java Doc)
public void setImgResLevel(int rl)(Code)(Java Doc)
public void setTile(int x, int y)(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.