"docs.it4i/git@code.it4i.cz:davidciz/docs.it4i.cz.git" did not exist on "2c95a908cb49cf06784b85e41610e3b95c259adc"
Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
-- SELECT ROUND(AVG(compressionRatio),5)
-- FROM DiffPrevFrameBenchmark
-- WHERE diffType = 'PrevFrameDiff_BSDIFF' AND filename = '16Bit-ZStack.czi' AND level = 6 AND compression = 'BZIP2';
-- SELECT * -- AVG(compressionRatio) as [cr]
-- FROM DiffPrevFrameBenchmark
-- WHERE filename = 'AxioZoom_Artemia_AT-1Ch-Z_sect.czi' and diffType = 'PrevFrameDiff_BSDIFF' and compression = 'BZIP2' AND level = 6
SELECT * FROM
(
SELECT ROUND((fbc.cr - referenceCompression.cr),5) as [artemia_div] FROM
(
SELECT AVG(compressionRatio) as [cr], compressedSize
FROM DiffPrevFrameBenchmark
WHERE filename = 'AxioZoom_Artemia_AT-1Ch-Z_sect.czi' and diffType = 'PrevFrameDiff_BSDIFF' and compression = 'BZIP2' AND level = 6
) fbc,
(
SELECT AVG(compressionRatio) as [cr], compressedSize
FROM CompressionBenchmark
WHERE filename = 'AxioZoom_Artemia_AT-1Ch-Z_sect.czi' and compression = 'BZIP2' AND level = 6
) referenceCompression
) artemia_diff,
(
SELECT ROUND((fbc.cr - referenceCompression.cr),5) as [artemia_flash_diff] FROM
(
SELECT AVG(compressionRatio) as [cr]
FROM DiffPrevFrameBenchmark
WHERE filename = '40x075_Artemia-Flash-AT-1Ch-Z-sect.czi' and diffType = 'PrevFrameDiff_BSDIFF' and compression = 'BZIP2' AND level = 6
) fbc,
(
SELECT AVG(compressionRatio) as [cr]
FROM CompressionBenchmark
WHERE filename = '40x075_Artemia-Flash-AT-1Ch-Z-sect.czi' and compression = 'BZIP2' AND level = 6
) referenceCompression
) artemia_flash_diff,
(
SELECT ROUND((fbc.cr - referenceCompression.cr),5) as [llc_diff] FROM
(
SELECT AVG(compressionRatio) as [cr]
FROM DiffPrevFrameBenchmark
WHERE filename = 'LLC-PK1_TubX-emerald_H2B-mCherry-2chZ(SD).czi' and diffType = 'PrevFrameDiff_BSDIFF' and compression = 'BZIP2' AND level = 6
) fbc,
(
SELECT AVG(compressionRatio) as [cr]
FROM CompressionBenchmark
WHERE filename = 'LLC-PK1_TubX-emerald_H2B-mCherry-2chZ(SD).czi' and compression = 'BZIP2' AND level = 6
) referenceCompression
) llc_diff,
(
SELECT ROUND((fbc.cr - referenceCompression.cr),5) as [bit16_diff] FROM
(
SELECT AVG(compressionRatio) as [cr]
FROM DiffPrevFrameBenchmark
WHERE filename = '16Bit-ZStack.czi' and diffType = 'PrevFrameDiff_BSDIFF' and compression = 'BZIP2' AND level = 6
) fbc,
(
SELECT AVG(compressionRatio) as [cr]
FROM CompressionBenchmark
WHERE filename = '16Bit-ZStack.czi' and compression = 'BZIP2' AND level = 6
) referenceCompression
) bit16_diff;
/*
-- FIXED BIT COUNT
SELECT * FROM
(
SELECT ROUND((fbc.cr - referenceCompression.cr),5) as [artemia_div] FROM
(
SELECT AVG(compressionRatio) as [cr]
FROM DiffPrevFrameBenchmark
WHERE filename = 'AxioZoom_Artemia_AT-1Ch-Z_sect.czi' and diffType = 'PrevFrameDiff_BSDIFF' and compression = 'BZIP2' AND level = 6
) fbc,
(
SELECT AVG(compressionRatio) as [cr]
FROM CompressionBenchmark
WHERE filename = 'AxioZoom_Artemia_AT-1Ch-Z_sect.czi' and compression = 'BZIP2' AND level = 6
) referenceCompression
) artemia_diff,
(
SELECT ROUND((fbc.cr - referenceCompression.cr),5) as [artemia_flash_diff] FROM
(
SELECT AVG(compressionRatio) as [cr]
FROM DiffPrevFrameBenchmark
WHERE filename = '40x075_Artemia-Flash-AT-1Ch-Z-sect.czi' and diffType = 'PrevFrameDiff_BSDIFF' and compression = 'BZIP2' AND level = 6
) fbc,
(
SELECT AVG(compressionRatio) as [cr]
FROM CompressionBenchmark
WHERE filename = '40x075_Artemia-Flash-AT-1Ch-Z-sect.czi' and compression = 'BZIP2' AND level = 6
) referenceCompression
) artemia_flash_diff,
(
SELECT ROUND((fbc.cr - referenceCompression.cr),5) as [llc_diff] FROM
(
SELECT AVG(compressionRatio) as [cr]
FROM DiffPrevFrameBenchmark
WHERE filename = 'LLC-PK1_TubX-emerald_H2B-mCherry-2chZ(SD).czi' and diffType = 'PrevFrameDiff_BSDIFF' and compression = 'BZIP2' AND level = 6
) fbc,
(
SELECT AVG(compressionRatio) as [cr]
FROM CompressionBenchmark
WHERE filename = 'LLC-PK1_TubX-emerald_H2B-mCherry-2chZ(SD).czi' and compression = 'BZIP2' AND level = 6
) referenceCompression
) llc_diff,
(
SELECT ROUND((fbc.cr - referenceCompression.cr),5) as [bit16_diff] FROM
(
SELECT AVG(compressionRatio) as [cr]
FROM DiffPrevFrameBenchmark
WHERE filename = '16Bit-ZStack.czi' and diffType = 'PrevFrameDiff_BSDIFF' and compression = 'BZIP2' AND level = 6
) fbc,
(
SELECT AVG(compressionRatio) as [cr]
FROM CompressionBenchmark
WHERE filename = '16Bit-ZStack.czi' and compression = 'BZIP2' AND level = 6
) referenceCompression
) bit16_diff;
*/