You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to analyze both "images" and "images-lance" to see what operation works best for a given number of bits using two different prediction methods.
B
Ax
A ; take the difference from the current pixel and the previous one.
(A+B)/2 ; take the difference from the current pixel and the rounded average of the pixels left and above the current one.
To make things easier I discarded the top row and left column of every image so pixels A and B are always available.
I guess discarding that little information shouldn't have a significant impact on the results.
I also discarded all pixels equal to the one at the left of the current pixel since a run operation takes care of those.
For the remaining pixels I counted what percentage of those pixels would be covered by a specific operation if it were the only operation that would be used.
The alpha channel was ignored.
My conclusion is that for any given number of bits, luma always worked better as diff for these specific image collections and in general the second prediction method works better compared to the first one.
Analyzing the pictures on my computer (mainly images taken with a digital camera) confirms this conclusion.
See the attached files for the data as a .csv file.
Column 1 : total bits used
Column 2 : prediction method
Column 3 : operation that was used
Column 4 : percentage covered
Maybe this information helps to decide which operations to select.
I tried to analyze both "images" and "images-lance" to see what operation works best for a given number of bits using two different prediction methods.
A ; take the difference from the current pixel and the previous one.
(A+B)/2 ; take the difference from the current pixel and the rounded average of the pixels left and above the current one.
To make things easier I discarded the top row and left column of every image so pixels A and B are always available.
I guess discarding that little information shouldn't have a significant impact on the results.
I also discarded all pixels equal to the one at the left of the current pixel since a run operation takes care of those.
For the remaining pixels I counted what percentage of those pixels would be covered by a specific operation if it were the only operation that would be used.
The alpha channel was ignored.
My conclusion is that for any given number of bits, luma always worked better as diff for these specific image collections and in general the second prediction method works better compared to the first one.
Analyzing the pictures on my computer (mainly images taken with a digital camera) confirms this conclusion.
See the attached files for the data as a .csv file.
Column 1 : total bits used
Column 2 : prediction method
Column 3 : operation that was used
Column 4 : percentage covered
Maybe this information helps to decide which operations to select.
images-lance.csv.txt
images.csv.txt
The text was updated successfully, but these errors were encountered: