Skip to content

Commit

Permalink
+color image
Browse files Browse the repository at this point in the history
  • Loading branch information
rjoberon committed Jul 21, 2024
1 parent c8b171a commit 46c9af5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions _posts/2024-07-21-fragmenting-the-tile-data.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,19 @@ the following sub-bands improves the image quality step-by-step by
adding more details which supports progressing loading and display of
images.

For comparison, here's the plot for the 2240 colour tiles of size
500x500:

![sub-band sizes for the 2240 colour tiles of size 500x500](/img/subband_sizes_tiles500.png)

Here the most frequent number of part (36) does not fit to the
abovementioned formula but we also have colour images, thus three
components (probably [YCbCr](https://en.wikipedia.org/wiki/YCbCr)). I
suppose that the Y component (luma) is encoded in more detail (=higher
depth) than the colour components. For example, having depth 5 for
luma and depth 3 for Cb and Cr each, would result in 36 sub-bands (3 *
5 + 1 + (2 * (3 * 3 + 1)).

A good starting point for further reading is Chapter 16 "Wavelet-Based
Image Compression" of the book [Introduction to Data
Compression](https://doi.org/10.1016/C2010-0-69630-1) by Khalid
Expand Down
Binary file added img/subband_sizes_tiles500.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/Cod.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "82fe4607",
"id": "8169d59d",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -193,7 +193,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "05074bd2",
"id": "92cf7bed",
"metadata": {},
"outputs": [],
"source": [
Expand Down

0 comments on commit 46c9af5

Please sign in to comment.