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
3ee02b10
Commit
3ee02b10
authored
Apr 14, 2022
by
Nathaniel Callens
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git.elphel.com:Elphel/master
parents
b3003237
e7d79230
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
.DS_Store
.DS_Store
+0
-0
Encoding_decoding-checkpoint.ipynb
.ipynb_checkpoints/Encoding_decoding-checkpoint.ipynb
+5
-1
Encoding_decoding.ipynb
Encoding_decoding.ipynb
+2
-2
No files found.
.DS_Store
View file @
3ee02b10
No preview for this file type
.ipynb_checkpoints/Encoding_decoding-checkpoint.ipynb
View file @
3ee02b10
...
@@ -307,7 +307,11 @@
...
@@ -307,7 +307,11 @@
"source": [
"source": [
"def encoder(error, list_dic, diff, bound, bins):\n",
"def encoder(error, list_dic, diff, bound, bins):\n",
" \"\"\"\n",
" \"\"\"\n",
<<<<<<< HEAD
" This function en\n",
=======
" This function \n",
" This function \n",
>>>>>>> a352868acf14cebeaa7ea2a58e879b1d36b066ad
" \"\"\"\n",
" \"\"\"\n",
" # copy the error matrix (including the boundary)\n",
" # copy the error matrix (including the boundary)\n",
" encoded = np.copy(error).astype(int).astype(str).astype(object)\n",
" encoded = np.copy(error).astype(int).astype(str).astype(object)\n",
...
@@ -512,7 +516,7 @@
...
@@ -512,7 +516,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,
...
...
Encoding_decoding.ipynb
View file @
3ee02b10
...
@@ -307,7 +307,7 @@
...
@@ -307,7 +307,7 @@
"source": [
"source": [
"def encoder(error, list_dic, diff, bound, bins):\n",
"def encoder(error, list_dic, diff, bound, bins):\n",
" \"\"\"\n",
" \"\"\"\n",
" This function \n",
" This function
en
\n",
" \"\"\"\n",
" \"\"\"\n",
" # copy the error matrix (including the boundary)\n",
" # copy the error matrix (including the boundary)\n",
" encoded = np.copy(error).astype(int).astype(str).astype(object)\n",
" encoded = np.copy(error).astype(int).astype(str).astype(object)\n",
...
@@ -512,7 +512,7 @@
...
@@ -512,7 +512,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