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
dbc79d58
Commit
dbc79d58
authored
Aug 05, 2022
by
Bryce Hepner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spelling change in a comment
parent
d267309f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Encoding_decoding.ipynb
Encoding_decoding.ipynb
+2
-2
No files found.
Encoding_decoding.ipynb
View file @
dbc79d58
...
@@ -468,13 +468,13 @@
...
@@ -468,13 +468,13 @@
" o_len = 0\n",
" o_len = 0\n",
" # the bits for the compressed image\n",
" # the bits for the compressed image\n",
" c_len = 0\n",
" c_len = 0\n",
" # initializing the varible \n",
" # initializing the vari
a
ble \n",
" \n",
" \n",
" #this was unused\n",
" #this was unused\n",
" # im = np.reshape(image,(512, 640))\n",
" # im = np.reshape(image,(512, 640))\n",
" \n",
" \n",
" real_boundary = np.hstack((image_array[0,:],image_array[-1,:],image_array[1:-1,0],image_array[1:-1,-1]))\n",
" real_boundary = np.hstack((image_array[0,:],image_array[-1,:],image_array[1:-1,0],image_array[1:-1,-1]))\n",
"
#Bryce's notes: Why are they all reshaped?
\n",
"\n",
" original_core = image_array[1:-1,1:-1].reshape(-1)\n",
" original_core = image_array[1:-1,1:-1].reshape(-1)\n",
" diff = diff.reshape(-1)\n",
" diff = diff.reshape(-1)\n",
" error = new_error[1:-1,1:-1].reshape(-1)\n",
" error = new_error[1:-1,1:-1].reshape(-1)\n",
...
...
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