Quadtree decomposition (Encoding) and Decoding of RGB Image
by Dr. Murtaza Khan
02 Jan 2006
(Updated 18 Jul 2009)
Code covered by BSD License
Quadtree decomposition (Encoding) and Decoding of RGB Image of size M-by-N-by-3 (No toolbox required
Download Now
|
Watch this File
|
| File Information |
| Description |
Quadtree decomposition of RGB image of size M-by-N-by-3. Three thresholds for red,green and blue components are used. For any R or G or B block if the maximum value of the block elements minus the minimum value of the block elements is greater than its respective threshold then the RGB block is split into 4 blocks. For lossy encoding (individual) mean value R,G,B are assign to RGB block. Image is padded if its size is not power of 2, so that image can be divided until block of size 1.
Thresholds are specified as a value between 0 and 1 (0 for lossless encoding). If Image is of type uint8 then threshold value is multiplied by 255, if Image is of type uint16 then threshold value is multiplied by 65535, to determine the actual threshold.
main.m
---------
Test program for Quadtree decomposition (Encoding) and Decoding of RGB image
(No toolbox required) |
| MATLAB release |
MATLAB 6.5 (R13)
|
| Zip File Content |
|
| Other Files |
license.txt, rgbquadtree/avgofmatblks.m, rgbquadtree/converttoclass.m, rgbquadtree/delsparsekeybyxANDy.m, rgbquadtree/drawquadblocks.m, rgbquadtree/fillrect_ulwh.m, rgbquadtree/ispowerof2.m, rgbquadtree/main.m, rgbquadtree/padrgbtomakepowof2.m, rgbquadtree/padtomakepowof2.m, rgbquadtree/qt3ddecom.m, rgbquadtree/qtreedecode.m, rgbquadtree/qtreergbdecode.m, rgbquadtree/qtrgbsplit.m, rgbquadtree/rafting.png, rgbquadtree/readme_rgbquadtree.txt, rgbquadtree/splitinto4.m, rgbquadtree/trimsparse.m
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 05 Jan 2006 |
punctuaton correction and better description. No change in files. |
| 03 May 2006 |
updated |
| 09 Jul 2009 |
BSD License |
| 18 Jul 2009 |
Missing files are included |
|
MATLAB Central Terms of Use
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.
Contact us at files@mathworks.com