Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
image-compression
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Elphel
image-compression
Commits
22a69826
Commit
22a69826
authored
Mar 29, 2022
by
Kelly Chang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kelly push
parent
b9905013
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
927 additions
and
61 deletions
+927
-61
Compression_Rate_Kelly-checkpoint.ipynb
.ipynb_checkpoints/Compression_Rate_Kelly-checkpoint.ipynb
+774
-0
Compression_Rate_Kelly.ipynb
Compression_Rate_Kelly.ipynb
+10
-11
Encoding_decoding.ipynb
Encoding_decoding.ipynb
+142
-49
multiple_compression_kelly.ipynb
multiple_compression_kelly.ipynb
+1
-1
No files found.
.ipynb_checkpoints/Compression_Rate_Kelly-checkpoint.ipynb
0 → 100644
View file @
22a69826
This diff is collapsed.
Click to expand it.
Compression_Rate_Kelly.ipynb
View file @
22a69826
...
@@ -693,17 +693,19 @@
...
@@ -693,17 +693,19 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
417
,
"execution_count":
1
,
"id": "6abed5da",
"id": "6abed5da",
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
"name": "stdout",
"ename": "NameError",
"output_type": "stream",
"evalue": "name 'file_extractor' is not defined",
"text": [
"output_type": "error",
"Compression rate of huffman with different bins: 0.44946919759114584\n",
"traceback": [
"Compression rate of huffman without bins: 0.4513634314749933\n",
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"Compression rate of huffman with uniform bins: 0.44956921895345053\n"
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
"\u001b[0;32m/var/folders/z2/plvrsqjs023g1cmx7k19mhzr0000gn/T/ipykernel_3263/2742763429.py\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mnum_images\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mfile_extractor\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'im'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 2\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 3\u001b[0m \u001b[0mrate\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m[\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 4\u001b[0m \u001b[0mrate_nb\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m[\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 5\u001b[0m \u001b[0mrate_u\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m[\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
"\u001b[0;31mNameError\u001b[0m: name 'file_extractor' is not defined"
]
]
}
}
],
],
...
@@ -745,10 +747,7 @@
...
@@ -745,10 +747,7 @@
"id": "9200fa53",
"id": "9200fa53",
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [],
"source": [
"source": []
"\n",
"for "
]
}
}
],
],
"metadata": {
"metadata": {
...
...
Encoding_decoding.ipynb
View file @
22a69826
This diff is collapsed.
Click to expand it.
multiple_compression_kelly.ipynb
View file @
22a69826
...
@@ -816,7 +816,7 @@
...
@@ -816,7 +816,7 @@
"name": "python",
"name": "python",
"nbconvert_exporter": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"pygments_lexer": "ipython3",
"version": "3.
8.1
1"
"version": "3.
9.
1"
}
}
},
},
"nbformat": 4,
"nbformat": 4,
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment