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
Nathaniel Callens
Image Compression
Commits
cec97fe9
Commit
cec97fe9
authored
Feb 10, 2022
by
Nathaniel Callens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wavelet file added
parent
9fd6d565
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
867 additions
and
264 deletions
+867
-264
prediction_MSE_Scout-checkpoint.ipynb
.ipynb_checkpoints/prediction_MSE_Scout-checkpoint.ipynb
+166
-132
Wavelet_Huffman.ipynb
Wavelet_Huffman.ipynb
+523
-0
prediction_MSE_Scout.ipynb
prediction_MSE_Scout.ipynb
+178
-132
No files found.
.ipynb_checkpoints/prediction_MSE_Scout-checkpoint.ipynb
View file @
cec97fe9
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
"cells": [
"cells": [
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
1
,
"execution_count":
76
,
"id": "dbef8759",
"id": "dbef8759",
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [],
...
@@ -15,7 +15,10 @@
...
@@ -15,7 +15,10 @@
"from PIL import Image\n",
"from PIL import Image\n",
"from scipy.optimize import minimize\n",
"from scipy.optimize import minimize\n",
"from time import time\n",
"from time import time\n",
"from numpy import linalg as la"
"from numpy import linalg as la\n",
"from scipy.stats import gaussian_kde\n",
"import seaborn as sns\n",
"import pywt"
]
]
},
},
{
{
...
@@ -87,46 +90,33 @@
...
@@ -87,46 +90,33 @@
" fix this later. 1/25/22\n",
" fix this later. 1/25/22\n",
" \"\"\"\n",
" \"\"\"\n",
" \n",
" \n",
"\n",
" image = tiff_list[i]\n",
" image = tiff_list[i]\n",
" image = Image.open(image) #Open the image and read it as an Image object\n",
" image = Image.open(image) #Open the image and read it as an Image object\n",
" image = np.array(image)[1:,:] #Convert to an array, leaving out the first row because the first row is just housekeeping data\n",
" image = np.array(image)[1:,:] #Convert to an array, leaving out the first row because the first row is just housekeeping data\n",
" image = image.astype(int)\n",
" image = image.astype(int)\n",
" row, col = image.shape\n",
" A = np.array([[3,0,-1],[0,3,3],[1,-3,-4]]) # the matrix for system of equation\n",
" \"\"\"predict = np.empty([row,col]) # create a empty matrix to update prediction\n",
" z0 = image[0:-2,0:-2] # get all the first pixel for the entire image\n",
" predict[0,:] = np.copy(image[0,:]) # keep the first row from the image\n",
" z1 = image[0:-2,1:-1] # get all the second pixel for the entire image\n",
" predict[:,0] = np.copy(image[:,0]) # keep the first columen from the image\n",
" z2 = image[0:-2,2::] # get all the third pixel for the entire image\n",
" predict[-1,:] = np.copy(image[-1,:]) # keep the first row from the image\n",
" z3 = image[1:-1,0:-2] # get all the forth pixel for the entire image\n",
" predict[:,-1] = np.copy(image[:,-1]) # keep the first columen from the image\n",
" # calculate the out put of the system of equation\n",
" diff = np.empty([row,col])\n",
" diff[0,:] = np.zeros(col) # keep the first row from the image\n",
" diff[:,0] = np.zeros(row)\n",
" diff[-1,:] = np.zeros(col) # keep the first row from the image\n",
" diff[:,-1] = np.zeros(row)\"\"\"\n",
" A = np.array([[3,0,-1],[0,3,3],[1,-3,-4]])\n",
" z0 = image[0:-2,0:-2]\n",
" z1 = image[0:-2,1:-1]\n",
" z2 = image[0:-2,2::]\n",
" z3 = image[1:-1,0:-2]\n",
" y0 = np.ravel(-z0+z2-z3)\n",
" y0 = np.ravel(-z0+z2-z3)\n",
" y1 = np.ravel(z0+z1+z2)\n",
" y1 = np.ravel(z0+z1+z2)\n",
" y2 = np.ravel(-z0-z1-z2-z3)\n",
" y2 = np.ravel(-z0-z1-z2-z3)\n",
" y = np.vstack((y0,y1,y2))\n",
" y = np.vstack((y0,y1,y2))\n",
" predict = la.solve(A,y)[-1]\n",
" # use numpy solver to solve the system of equations all at once\n",
" #diff = [(np.max([z0[r,c],z1[r,c],z2[r,c],z3[r,c]])-np.min([z0[r,c],z1[r,c],z2[r,c],z3[r,c]])) for r in range(0,row-2) for c in range(0,col-2)]\n",
" predict = np.linalg.solve(A,y)[-1]\n",
" '''\n",
" # flatten the neighbor pixlels and stack them together\n",
" for r in range(1,row-1): # loop through the rth row\n",
" z0 = np.ravel(z0)\n",
" for c in range(1,col-1): # loop through the cth column\n",
" z1 = np.ravel(z1)\n",
" actual_surrounding = np.array([image[r-1,c-1], image[r-1,c], image[r-1,c+1], image[r,c-1]])\n",
" z2 = np.ravel(z2)\n",
" #z = np.array([int(image[r-1,c-1]), int(image[r-1,c]), int(image[r-1,c+1]), int(image[r,c-1])])\n",
" z3 = np.ravel(z3)\n",
" z = np.array([image[r-1,c-1], image[r-1,c], image[r-1,c+1], image[r,c-1]])\n",
" neighbor = np.vstack((z0,z1,z2,z3)).T\n",
" y = np.array([-z[0]+z[2]-z[3], z[0]+z[1]+z[2], -z[0]-z[1]-z[2]-z[3]])\n",
" # calculate the difference\n",
" predict[r,c] = np.linalg.solve(A,y)[-1]\n",
" diff = np.max(neighbor,axis = 1) - np.min(neighbor, axis=1)\n",
" diff[r,c] = (np.max(actual_surrounding)-np.min(actual_surrounding))\n",
" # flatten the image to a vector\n",
" predict = np.ravel(predict[1:-1,1:-1])\n",
" image_ravel = np.ravel(image[1:-1,1:-1])\n",
" diff = np.ravel(diff[1:-1,1:-1])'''\n",
" return image_ravel, predict, diff, image"
" image = np.ravel(image[1:-1,1:-1])\n",
" return image, predict#, diff"
]
]
},
},
{
{
...
@@ -153,13 +143,13 @@
...
@@ -153,13 +143,13 @@
" error1 = np.abs(image_1-predict_1)\n",
" error1 = np.abs(image_1-predict_1)\n",
" error_mean1.append(np.mean(np.ravel(error1)))\"\"\"\n",
" error_mean1.append(np.mean(np.ravel(error1)))\"\"\"\n",
" start = time()\n",
" start = time()\n",
" image, predict = plot_hist(num_images, i)\n",
" image, predict
, difference, non_ravel
= plot_hist(num_images, i)\n",
" stop = time()\n",
" stop = time()\n",
" times.append(stop-start)\n",
" times.append(stop-start)\n",
" error = np.abs(image-predict)\n",
" error = np.abs(image-predict)\n",
" all_error.append(np.ravel(error))\n",
" all_error.append(np.ravel(error))\n",
" error_mean.append(np.mean(np.ravel(error)))\n",
" error_mean.append(np.mean(np.ravel(error)))\n",
"
#
diff_mean.append(np.mean(np.ravel(difference)))\n",
" diff_mean.append(np.mean(np.ravel(difference)))\n",
" \n",
" \n",
"#image, predict, difference = plot_hist(images, 0)"
"#image, predict, difference = plot_hist(images, 0)"
]
]
...
@@ -175,67 +165,40 @@
...
@@ -175,67 +165,40 @@
"output_type": "stream",
"output_type": "stream",
"text": [
"text": [
"Average Error First and Second Added: 20.017164930235474\n",
"Average Error First and Second Added: 20.017164930235474\n",
"233.22663391021266\n",
"Standard Deviaiton of Mean Errors: 0.16101183692475135\n",
"Standard Deviaiton of Mean Errors: 0.16101183692475135\n",
"Average Time per Image for First: 0.023412495851516724\n"
"Average Difference: 53.678648426455226\n",
"Average Time per Image for First: 0.10891032218933105\n"
]
]
}
}
],
],
"source": [
"source": [
"print(f\"Average Error First and Second Added: {np.mean(error_mean)}\")\n",
"print(f\"Average Error First and Second Added: {np.mean(error_mean)}\")\n",
"print(np.std(image))\n",
"print(f\"Standard Deviaiton of Mean Errors: {np.sqrt(np.var(error_mean))}\")\n",
"print(f\"Standard Deviaiton of Mean Errors: {np.sqrt(np.var(error_mean))}\")\n",
"
#
print(f\"Average Difference: {np.mean(diff_mean)}\")\n",
"print(f\"Average Difference: {np.mean(diff_mean)}\")\n",
"print(f\"Average Time per Image for First: {np.mean(times)}\")"
"print(f\"Average Time per Image for First: {np.mean(times)}\")"
]
]
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
12
,
"execution_count":
6
,
"id": "
f592fa32
",
"id": "
4c05b947
",
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [],
{
"name": "stdout",
"output_type": "stream",
"text": [
"[[0 1 2]\n",
" [3 4 5]\n",
" [6 7 8]]\n",
"[4 5]\n",
"[4 5]\n"
]
}
],
"source": [
"source": [
"b = np.arange(9).reshape((3,3))\n",
"new_image, new_pred, new_diff, no_ravel = plot_hist(images, 10)"
"print(b)\n",
"print(b[1,1::])\n",
"print(b[1,1:])"
]
]
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
6
,
"execution_count":
7
,
"id": "dda442ae",
"id": "dda442ae",
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
"ename": "NameError",
"evalue": "name 'difference' is not defined",
"output_type": "error",
"traceback": [
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[1;31mNameError\u001b[0m Traceback (most recent call last)",
"\u001b[1;32m~\\AppData\\Local\\Temp/ipykernel_10808/722042198.py\u001b[0m in \u001b[0;36m<module>\u001b[1;34m\u001b[0m\n\u001b[0;32m 2\u001b[0m \u001b[0max\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mfig\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0madd_subplot\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 3\u001b[0m \u001b[0mx\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mnp\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mabs\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mpredict\u001b[0m\u001b[1;33m-\u001b[0m\u001b[0mimage\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m----> 4\u001b[1;33m \u001b[0my\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mdifference\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 5\u001b[0m \u001b[0mplt\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mplot\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mx\u001b[0m\u001b[1;33m,\u001b[0m\u001b[0my\u001b[0m\u001b[1;33m,\u001b[0m\u001b[1;34m'o'\u001b[0m\u001b[1;33m,\u001b[0m\u001b[0malpha\u001b[0m \u001b[1;33m=\u001b[0m \u001b[1;36m0.2\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 6\u001b[0m \u001b[0mplt\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mrcParams\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mupdate\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;33m{\u001b[0m\u001b[1;34m'font.size'\u001b[0m\u001b[1;33m:\u001b[0m \u001b[1;36m20\u001b[0m\u001b[1;33m}\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;31mNameError\u001b[0m: name 'difference' is not defined"
]
},
{
{
"data": {
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAA
lsAAAJDCAYAAAA8QNGHAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8rg+JYAAAACXBIWXMAAAsTAAALEwEAmpwYAAAUe0lEQVR4nO3dX4jld3nH8c/TXQP+qxGzik2ymJZo3AtTdIxStI2V1iQ3QfAiUQwNwhJqxMuEXuiFN/WiIGJ0WUII3piLGjSWaCgUTSGmzQZikjVEtpEm2whJVCwoNGzy9GKmMh1nM2cn59ndE18vODC/3/nOmQe+zPLe3zl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IlIUBYeIiBRFwSEiIkVRcIiISFEUHCIiUpT/Dy1vIwVVIH/1AAAAAElFTkSuQmCC
\n",
"text/plain": [
"text/plain": [
"<Figure size
720x720
with 1 Axes>"
"<Figure size
432x288
with 1 Axes>"
]
]
},
},
"metadata": {
"metadata": {
...
@@ -245,96 +208,172 @@
...
@@ -245,96 +208,172 @@
}
}
],
],
"source": [
"source": [
"fig = plt.figure(figsize = (10,10))\n",
"new_error = np.abs(new_image-new_pred)\n",
"ax = fig.add_subplot()\n",
"plt.hist(new_error, bins=20, density=True)\n",
"x = np.abs(predict-image)\n",
"sns.kdeplot(new_error)\n",
"y = difference\n",
"plt.xlabel(\"error\")\n",
"plt.plot(x,y,'o',alpha = 0.2)\n",
"plt.show()\n"
"plt.rcParams.update({'font.size': 20})\n",
"plt.xlabel(\"differnece to the true value\" )\n",
"plt.ylabel(\"differnece of min and max of true value of the surroundings\")\n",
"plt.show()"
]
]
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
null
,
"execution_count":
8
,
"id": "58da6063",
"id": "58da6063",
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAZsAAAEICAYAAACJalkVAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8rg+JYAAAACXBIWXMAAAsTAAALEwEAmpwYAAA3Y0lEQVR4nO3deZxcVZn/8c+3qjsr2TrpLCSELIQlCARoQhBQQZYEkICKEhAQcQIK4zY/Jag4bjMDOjojIxJBEaJgQBAIkhg2IyAEEiRkXzohJJ21Ozudtbue3x/3dlLpVFff6u7qqnQ979erXlV17jn3nnsp8vQ599xzZGY455xz2RTLdQWcc861fR5snHPOZZ0HG+ecc1nnwcY551zWebBxzjmXdR5snHPOZV1Wg42k0ZKWSCqXNCHFdkm6J9w+V9JpjZWV9FNJi8P8T0nqnrTtjjD/EkkXJ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P8iBgQFdgWpgW3h/aUwDxRs63+c5sD4LkkZkdmqurfJg41zwj/ZT9dKeBK4huOewCpgr6d0wDeB+YFrdAAFgAvAX4GWCRbDqfB/4k6RXgarmVlTSscAXgX8zs1cJusm+a2bPE6yN8oakeQQDALo0vKf9/kjQFTcZwMzeJeiKW0AQhP7RQLmGzvcrQFk4SGEhcEtmZ+jaKp/12TnnXNZ5y8Y551zWebBxzjmXdR5snHPOZZ0HG+ecc1nnwcY551zWebBxzjmXdR5snHPOZZ0HG+ecc1n3/wE8vk1auHCPQAAAAABJRU5ErkJggg==\n",
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"source": [
"image = Image.open(images[0]) #Open the image and read it as an Image object\n",
"plt.hist(new_image, bins=25, density=True)\n",
"image = np.array(image)[1:,:]\n",
"sns.kdeplot(new_image)\n",
"#z = np.array([image[1-1,1-1], image[1-1,1], image[1-1,1+1], image[1,1-1]])\n",
"plt.xlabel(\"Actual Pixel Value\")\n",
"z = np.array([22554,22552,22519,22561])\n",
"plt.show()"
"print(z)\n",
"'''A = np.array([[-3,0,1],[0,-3,3],[-1,-3,4]])\n",
"y = np.array([z[0]-z[2]+z[3], z[0]+z[1]+z[2], -z[0]-z[1]-z[2]-z[3]])\n",
"a,b,c = np.linalg.solve(A,y)'''\n",
"A = np.array([[3,0,-1],[0,3,3],[1,-3,-4]])\n",
"y = np.array([-z[0]+z[2]-z[3], z[0]+z[1]+z[2], -z[0]-z[1]-z[2]-z[3]])\n",
"print(y)\n",
"a,b,c = np.linalg.solve(A,y)\n",
"print(a,b,c)"
]
]
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
null
,
"execution_count":
79
,
"id": "2562feeb",
"id": "2562feeb",
"metadata": {
"metadata": {
"scrolled": false
"scrolled": false
},
},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"(512, 640)\n",
"1310832\n",
"9\n"
]
}
],
"source": [
"source": [
"i0 = (a*(-1) + b*(1) + c)\n",
"f_r = no_ravel[0]\n",
"i1 = (a*(0) + b*(1) + c)\n",
"print(no_ravel.shape)\n",
"i2 = (a*(1) + b*(1) + c)\n",
"print(sys.getsizeof(no_ravel))\n",
"i3 = (a*(-1) + b*(0) + c)\n",
"print((256).bit_length())"
"print(sum([(i0-z[0])**2,(i1-z[1])**2,(i2-z[2])**2,(i3-z[3])**2]))\n"
]
]
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
null
,
"execution_count":
62
,
"id": "470cc137",
"id": "470cc137",
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"5.667000202436157e-12\n"
]
}
],
"source": [
"source": [
"a = 0\n",
"coeffs = pywt.dwt2(no_ravel, 'bior1.3')\n",
"b = 2\n",
"LL, (LH, HL, HH) = coeffs\n",
"c = 2\n",
"decompress = pywt.idwt2(coeffs, 'bior1.3')\n",
"i0 = (a*(-1) + b*(1) + c)\n",
"print(np.mean(np.abs(decompress-no_ravel)))\n"
"i1 = (a*(0) + b*(1) + c)\n",
"i2 = (a*(1) + b*(1) + c)\n",
"i3 = (a*(-1) + b*(0) + c)\n",
"print(sum([(i0-z[0])**2,(i1-z[1])**2,(i2-z[2])**2,(i3-z[3])**2]))\n"
]
]
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
null
,
"execution_count":
59
,
"id": "3292b395",
"id": "3292b395",
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"[72, 101, 108, 108, 111, 32, 109, 121, 32, 110, 97, 109, 101, 32, 105, 115, 32, 83, 99, 111, 117, 116]\n",
"256\n",
"71\n"
]
}
],
"source": [
"source": [
"#z = np.hstack((image[0,:3], image[1,0]))\n",
"def compress(uncompressed):\n",
"#x = np.array([-1,0,1,-1])\n",
" \"\"\"Compress a string to a list of output symbols.\"\"\"\n",
"#y = np.array([-1,-1,-1,0])\n",
" \n",
"A = np.array([[-3,0,1],[0,-3,3],[1,3,-4]])\n",
" # Build the dictionary.\n",
"#y = np.array([z[0]-z[2]+z[3], z[0]+z[1]+z[2], -z[0]-z[1]-z[2]-z[3]])\n",
" dict_size = 256\n",
"y = np.array([[1,2,3],[4,5,6],[7,8,9]])\n",
" dictionary = dict((chr(i), i) for i in range(dict_size))\n",
"print(np.linalg.solve(A,y))"
" # in Python 3: dictionary = {chr(i): i for i in range(dict_size)}\n",
"\n",
" w = \"\"\n",
" result = []\n",
" for c in uncompressed:\n",
" wc = w + c\n",
" if wc in dictionary:\n",
" w = wc\n",
" else:\n",
" result.append(dictionary[w])\n",
" # Add wc to the dictionary.\n",
" dictionary[wc] = dict_size\n",
" dict_size += 1\n",
" w = c\n",
" \n",
" # Output the code for w.\n",
" if w:\n",
" result.append(dictionary[w])\n",
" return result\n",
"\n",
"store = compress(\"Hello my name is Scout\")\n",
"print(store)\n",
"print(sys.getsizeof(store))\n",
"print(sys.getsizeof(\"Hello my name is Scout\"))"
]
]
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
null
,
"execution_count":
88
,
"id": "f9687830",
"id": "f9687830",
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"0.01910218596458435\n"
]
}
],
"source": [
"source": [
"0.5**2 + 1.5**2"
"def wavelet(num_images, i): \n",
"\n",
" image = Image.open(num_images[i]) #Open the image and read it as an Image object\n",
" image = np.array(im)[1:,:]\n",
" coeffs = pywt.dwt2(image, 'bior1.3')\n",
" return coeffs\n",
"\n",
"def huffman(coeffs):\n",
" for i in range(len(coeffs)):\n",
" \n",
"\n",
"coef, t = wavelet(num_images)\n",
"\n",
"def wave_decompress(coeffs):\n",
" times = []\n",
" for i in range(len(coeffs)):\n",
" start = time()\n",
" decompress = pywt.idwt2(coeffs[i], 'bior1.3')\n",
" stop = time()\n",
" times.append(stop-start)\n",
" return times\n",
"ti = wave_decompress(coef)\n",
"print(np.mean(ti))"
]
]
},
},
{
{
...
@@ -343,12 +382,7 @@
...
@@ -343,12 +382,7 @@
"id": "e98eed4b",
"id": "e98eed4b",
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [],
"source": [
"source": []
"y1= [0,1,2,3]\n",
"y2=[4,5,6,7]\n",
"y3=[8,9,10,11]\n",
"np.vstack((y1,y2,y3)).T"
]
},
},
{
{
"cell_type": "code",
"cell_type": "code",
...
...
Wavelet_Huffman.ipynb
0 → 100644
View file @
cec97fe9
{
"cells": [
{
"cell_type": "code",
"execution_count": 6,
"id": "dbef8759",
"metadata": {
"id": "dbef8759"
},
"outputs": [],
"source": [
"import numpy as np\n",
"from matplotlib import pyplot as plt\n",
"from itertools import product\n",
"import os\n",
"import sys\n",
"from PIL import Image\n",
"from scipy.optimize import minimize\n",
"from time import time\n",
"from numpy import linalg as la\n",
"from scipy.stats import gaussian_kde\n",
"import seaborn as sns\n",
"import pywt\n",
"import dippykit as dp"
]
},
{
"cell_type": "code",
"execution_count": 7,
"id": "b7a550e0",
"metadata": {
"id": "b7a550e0"
},
"outputs": [],
"source": [
"def file_extractor(dirname=\"images\"):\n",
" files = os.listdir(dirname)\n",
" scenes = []\n",
" for file in files:\n",
" scenes.append(os.path.join(dirname, file))\n",
" return scenes\n",
"\n",
"def image_extractor(scenes):\n",
" image_folder = []\n",
" for scene in scenes:\n",
" files = os.listdir(scene)\n",
" for file in files:\n",
" image_folder.append(os.path.join(scene, file))\n",
" images = []\n",
" for folder in image_folder:\n",
" ims = os.listdir(folder)\n",
" for im in ims:\n",
" if im[-4:] == \".jp4\" or im[-7:] == \"_6.tiff\":\n",
" continue\n",
" else:\n",
" images.append(os.path.join(folder, im))\n",
" return images #returns a list of file paths to .tiff files in the specified directory given in file_extractor\n",
"\n",
"def im_distribution(images, num):\n",
" \"\"\"\n",
" Function that extracts tiff files from specific cameras and returns a list of all\n",
" the tiff files corresponding to that camera. i.e. all pictures labeled \"_7.tiff\" or otherwise\n",
" specified camera numbers.\n",
" \n",
" Parameters:\n",
" images (list): list of all tiff files, regardless of classification. This is NOT a list of directories but\n",
" of specific tiff files that can be opened right away. This is the list that we iterate through and \n",
" divide.\n",
" \n",
" num (str): a string designation for the camera number that we want to extract i.e. \"14\" for double digits\n",
" of \"_1\" for single digits.\n",
" \n",
" Returns:\n",
" tiff (list): A list of tiff files that have the specified designation from num. They are the files extracted\n",
" from the 'images' list that correspond to the given num.\n",
" \"\"\"\n",
" tiff = []\n",
" for im in images:\n",
" if im[-7:-5] == num:\n",
" tiff.append(im)\n",
" return tiff"
]
},
{
"cell_type": "code",
"execution_count": 8,
"id": "9ed20f84",
"metadata": {
"id": "9ed20f84"
},
"outputs": [],
"source": [
"def plot_hist(tiff_list, i):\n",
" \"\"\"\n",
" This function is the leftovers from the first attempt to plot histograms.\n",
" As it stands it needs some work in order to function again. We will\n",
" fix this later. 1/25/22\n",
" \"\"\"\n",
" \n",
" image = tiff_list[i]\n",
" image = Image.open(image) #Open the image and read it as an Image object\n",
" image = np.array(image)[1:,:] #Convert to an array, leaving out the first row because the first row is just housekeeping data\n",
" image = image.astype(int)\n",
" A = np.array([[3,0,-1],[0,3,3],[1,-3,-4]]) # the matrix for system of equation\n",
" z0 = image[0:-2,0:-2] # get all the first pixel for the entire image\n",
" z1 = image[0:-2,1:-1] # get all the second pixel for the entire image\n",
" z2 = image[0:-2,2::] # get all the third pixel for the entire image\n",
" z3 = image[1:-1,0:-2] # get all the forth pixel for the entire image\n",
" # calculate the out put of the system of equation\n",
" y0 = np.ravel(-z0+z2-z3)\n",
" y1 = np.ravel(z0+z1+z2)\n",
" y2 = np.ravel(-z0-z1-z2-z3)\n",
" y = np.vstack((y0,y1,y2))\n",
" # use numpy solver to solve the system of equations all at once\n",
" predict = np.linalg.solve(A,y)[-1]\n",
" # flatten the neighbor pixlels and stack them together\n",
" z0 = np.ravel(z0)\n",
" z1 = np.ravel(z1)\n",
" z2 = np.ravel(z2)\n",
" z3 = np.ravel(z3)\n",
" neighbor = np.vstack((z0,z1,z2,z3)).T\n",
" # calculate the difference\n",
" diff = np.max(neighbor,axis = 1) - np.min(neighbor, axis=1)\n",
" # flatten the image to a vector\n",
" image_ravel = np.ravel(image[1:-1,1:-1])\n",
" return image_ravel, predict, diff, image"
]
},
{
"cell_type": "code",
"execution_count": 9,
"id": "8e3ef654",
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 357
},
"id": "8e3ef654",
"outputId": "92f06bb6-c1ab-4e46-e53d-385ed892c7d9"
},
"outputs": [
{
"output_type": "error",
"ename": "FileNotFoundError",
"evalue": "ignored",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mFileNotFoundError\u001b[0m Traceback (most recent call last)",
"\u001b[0;32m<ipython-input-9-80eed1605ff2>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mscenes\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mfile_extractor\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[0m\u001b[1;32m 2\u001b[0m \u001b[0mimages\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mimage_extractor\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mscenes\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 3\u001b[0m \u001b[0mnum_images\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mim_distribution\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mimages\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"_9\"\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[0merror_mean\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[0merror_mean1\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;32m<ipython-input-7-8baf51e34e4c>\u001b[0m in \u001b[0;36mfile_extractor\u001b[0;34m(dirname)\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0mfile_extractor\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdirname\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m\"images\"\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;32m----> 2\u001b[0;31m \u001b[0mfiles\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mos\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mlistdir\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdirname\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 3\u001b[0m \u001b[0mscenes\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[0;32mfor\u001b[0m \u001b[0mfile\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mfiles\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[0mscenes\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mappend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mos\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mpath\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mjoin\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdirname\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mfile\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;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: 'images'"
]
}
],
"source": [
"scenes = file_extractor()\n",
"images = image_extractor(scenes)\n",
"num_images = im_distribution(images, \"_9\")\n",
"error_mean = []\n",
"error_mean1 = []\n",
"diff_mean = []\n",
"times = []\n",
"times1 = []\n",
"all_error = []\n",
"for i in range(len(num_images)):\n",
" \"\"\"start1 = time()\n",
" image_1, predict_1, difference_1, x_s_1 = plot_hist(num_images, i, \"second\")\n",
" stop1 = time()\n",
" times1.append(stop1-start1)\n",
" error1 = np.abs(image_1-predict_1)\n",
" error_mean1.append(np.mean(np.ravel(error1)))\"\"\"\n",
" start = time()\n",
" image, predict, difference, non_ravel = plot_hist(num_images, i)\n",
" stop = time()\n",
" times.append(stop-start)\n",
" error = np.abs(image-predict)\n",
" all_error.append(np.ravel(error))\n",
" error_mean.append(np.mean(np.ravel(error)))\n",
" diff_mean.append(np.mean(np.ravel(difference)))\n",
" \n",
"#image, predict, difference = plot_hist(images, 0)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "fa65dcd6",
"metadata": {
"id": "fa65dcd6",
"outputId": "254b4654-1566-4e76-b774-e5a920819891"
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Average Error First and Second Added: 20.017164930235474\n",
"Standard Deviaiton of Mean Errors: 0.16101183692475135\n",
"Average Difference: 53.678648426455226\n",
"Average Time per Image for First: 0.10891032218933105\n"
]
}
],
"source": [
"print(f\"Average Error First and Second Added: {np.mean(error_mean)}\")\n",
"print(f\"Standard Deviaiton of Mean Errors: {np.sqrt(np.var(error_mean))}\")\n",
"print(f\"Average Difference: {np.mean(diff_mean)}\")\n",
"print(f\"Average Time per Image for First: {np.mean(times)}\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "4c05b947",
"metadata": {
"id": "4c05b947"
},
"outputs": [],
"source": [
"new_image, new_pred, new_diff, no_ravel = plot_hist(images, 10)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "dda442ae",
"metadata": {
"id": "dda442ae",
"outputId": "98bbbfe0-e9d8-46f9-89af-fd3f226b6b58"
},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAY4AAAEGCAYAAABy53LJAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8rg+JYAAAACXBIWXMAAAsTAAALEwEAmpwYAAAnxklEQVR4nO3de5hU9Z3n8fe3qm94QxFUBCKoLYI3MAgkajReQTODxkxGk6jjZGRMJBMnmd0l2dmMszvJ42YncZKJl2jiRncSL5MYg5FIkIh4Q0GjCCIBuQjSykUiBqS7q+q7f5zTbVFU01VFnTp1+byep56qc6v6nnqK/nB+5/x+x9wdERGRQiXiLkBERGqLgkNERIqi4BARkaIoOEREpCgKDhERKUpT3AVUwuDBg33kyJFxlyEiUlNeeOGFLe4+JHd+QwTHyJEjWbx4cdxliIjUFDNbl2++mqpERKQoCg4RESmKgkNERIqi4BARkaIoOEREpCgKDhERKYqCQ0REiqLgKBcNTy8iDULBUQ7vrIYfnAb3fw5SXXFXIyISKQXHvtq2Fn58Ibz3Fix/GH5+DWTScVclIhIZBce+enUW7NgEn58DF34LXvs1LHkg7qpERCLTEGNVldvImY/0vv6npqe4LDmAk29ei/EhHm4ZyYEPfoNz79uPVJ6vd+1NF1eyVBGRstMRxz460rbS4YcC4CT4bupTHJXYxGXJ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cLTEBdAPX97PNi2b2Ez4YcvtH7v778C5zIlVFo+OKiEhR1FQlIiJFUXCIiEhRFBwiIlIUBYeIiBRFwSEiIkVRcIiISFEUHCIiUpT/Dy1vIwVVIH/1AAAAAElFTkSuQmCC\n",
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"new_error = np.abs(new_image-new_pred)\n",
"plt.hist(new_error, bins=20, density=True)\n",
"sns.kdeplot(new_error)\n",
"plt.xlabel(\"error\")\n",
"plt.show()\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "58da6063",
"metadata": {
"id": "58da6063",
"outputId": "8529b3dd-68a5-4a10-8310-0549a2af2319"
},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAZsAAAEICAYAAACJalkVAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8rg+JYAAAACXBIWXMAAAsTAAALEwEAmpwYAAA3Y0lEQVR4nO3deZxcVZn/8c+3qjsr2TrpLCSELIQlCARoQhBQQZYEkICKEhAQcQIK4zY/Jag4bjMDOjojIxJBEaJgQBAIkhg2IyAEEiRkXzohJJ21Ozudtbue3x/3dlLpVFff6u7qqnQ979erXlV17jn3nnsp8vQ599xzZGY455xz2RTLdQWcc861fR5snHPOZZ0HG+ecc1nnwcY551zWebBxzjmXdR5snHPOZV1Wg42k0ZKWSCqXNCHFdkm6J9w+V9JpjZWV9FNJi8P8T0nqnrTtjjD/EkkXJ6WfLmleuO0eScriaTvnnKtH2XrORlIcWApcCFQAs4BxZrYwKc8lwL8ClwBnAr8wszPTlZV0EfCymdVIuhvAzG6XNBz4IzASOBJ4ETjWzGolvQV8FZgJTAXuMbNp6erfq1cvGzRoUAtdDeeca/t69erF9OnTp5vZ6PrbirJ43JFAuZmtAJA0GRgLLEzKMxaYZEHEmympu6R+wKC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p/12TnnXNZ5y8Y551zWebBxzjmXdR5snHPOZZ0HG+ecc1nnwcY551zWebBxzjmXdR5snHPOZZ0HG+ecc1n3/wE8vk1auHCPQAAAAABJRU5ErkJggg==\n",
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"plt.hist(new_image, bins=25, density=True)\n",
"sns.kdeplot(new_image)\n",
"plt.xlabel(\"Actual Pixel Value\")\n",
"plt.show()"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "2562feeb",
"metadata": {
"scrolled": false,
"id": "2562feeb",
"outputId": "3838d616-2eda-49c5-d434-45acf24cfe5b"
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"(512, 640)\n",
"1310832\n",
"9\n"
]
}
],
"source": [
"f_r = no_ravel[0]\n",
"print(no_ravel.shape)\n",
"print(sys.getsizeof(no_ravel))\n",
"print((256).bit_length())"
]
},
{
"cell_type": "code",
"execution_count": 31,
"id": "470cc137",
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 235
},
"id": "470cc137",
"outputId": "2c9b7aa9-74b9-41db-d1ee-39bb20a005b5"
},
"outputs": [
{
"output_type": "error",
"ename": "NameError",
"evalue": "ignored",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
"\u001b[0;32m<ipython-input-31-7c411a9343d9>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mcoeffs\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mpywt\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mdwt2\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mno_ravel\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m'bior1.3'\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[0mprint\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mlen\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mcoeffs\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 3\u001b[0m \u001b[0mLL\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m(\u001b[0m\u001b[0mLH\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mHL\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mHH\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mcoeffs\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 4\u001b[0m \u001b[0mdecompress\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mpywt\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0midwt2\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mcoeffs\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m'bior1.3'\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[0mprint\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mnp\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmean\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mnp\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mabs\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdecompress\u001b[0m\u001b[0;34m-\u001b[0m\u001b[0mno_ravel\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 'no_ravel' is not defined"
]
}
],
"source": [
"coeffs = pywt.dwt2(no_ravel, 'bior1.3')\n",
"print(len(coeffs))\n",
"LL, (LH, HL, HH) = coeffs\n",
"decompress = pywt.idwt2(coeffs, 'bior1.3')\n",
"print(np.mean(np.abs(decompress-no_ravel)))\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "3292b395",
"metadata": {
"id": "3292b395",
"outputId": "a01866ee-fa9d-4f78-c36a-a24b76ee2c34"
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"[72, 101, 108, 108, 111, 32, 109, 121, 32, 110, 97, 109, 101, 32, 105, 115, 32, 83, 99, 111, 117, 116]\n",
"256\n",
"71\n"
]
}
],
"source": [
"def compress(uncompressed):\n",
" \"\"\"Compress a string to a list of output symbols.\"\"\"\n",
" \n",
" # Build the dictionary.\n",
" dict_size = 256\n",
" dictionary = dict((chr(i), i) for i in range(dict_size))\n",
" # in Python 3: dictionary = {chr(i): i for i in range(dict_size)}\n",
"\n",
" w = \"\"\n",
" result = []\n",
" for c in uncompressed:\n",
" wc = w + c\n",
" if wc in dictionary:\n",
" w = wc\n",
" else:\n",
" result.append(dictionary[w])\n",
" # Add wc to the dictionary.\n",
" dictionary[wc] = dict_size\n",
" dict_size += 1\n",
" w = c\n",
" \n",
" # Output the code for w.\n",
" if w:\n",
" result.append(dictionary[w])\n",
" return result\n",
"\n",
"store = compress(\"Hello my name is Scout\")\n",
"print(store)\n",
"print(sys.getsizeof(store))\n",
"print(sys.getsizeof(\"Hello my name is Scout\"))"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "f9687830",
"metadata": {
"id": "f9687830",
"outputId": "1ebd287f-e5e6-4993-b78c-5c0d46f7b9b0"
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"0.01910218596458435\n"
]
}
],
"source": [
"def wavelet(num_images, i): \n",
"\n",
" image = Image.open(num_images[i]) #Open the image and read it as an Image object\n",
" image = np.array(im)[1:,:]\n",
" coeffs = pywt.dwt2(image, 'bior1.3')\n",
" return coeffs\n",
"\n",
"def huffman(coeffs):\n",
" for i in range(len(coeffs)):\n",
" \n",
"\n",
"coef = wavelet(num_images)\n",
"\n",
"def wave_decompress(coeffs):\n",
" times = []\n",
" for i in range(len(coeffs)):\n",
" start = time()\n",
" decompress = pywt.idwt2(coeffs[i], 'bior1.3')\n",
" stop = time()\n",
" times.append(stop-start)\n",
" return times\n",
"ti = wave_decompress(coef)\n",
"print(np.mean(ti))"
]
},
{
"cell_type": "code",
"execution_count": 21,
"id": "e98eed4b",
"metadata": {
"id": "e98eed4b"
},
"outputs": [],
"source": [
"image_huff = Image.open(\"1640843156_729797_0.tiff\")\n",
"image_huff = np.array(image_huff)[1:,:]\n",
"a, (b,c,d) = pywt.dwt2(image_huff, 'bior1.3')\n",
"coeffs = [a.astype(int), b.astype(int), c.astype(int), d.astype(int)]\n",
"huffs = []\n",
"for i in range(len(coeffs)):\n",
" huffs.append(dp.coding.huffman_encode(coeffs[i].ravel()))"
]
},
{
"cell_type": "code",
"execution_count": 39,
"id": "b7e88aab",
"metadata": {
"id": "b7e88aab"
},
"outputs": [],
"source": [
"recon_coeff = []\n",
"for i in range(len(huffs)):\n",
" recon_coeff.append(dp.coding.huffman_decode(huffs[i][0], huffs[i][2], huffs[i][1]))\n",
"coeffs = recon_coeff[0].reshape((258,322)), (recon_coeff[1].reshape((258,322)),\\\n",
" recon_coeff[2].reshape((258,322)), recon_coeff[3].reshape((258,322)))\n",
"decompress = pywt.idwt2(coeffs, 'bior1.3')"
]
},
{
"cell_type": "code",
"source": [
"print(np.mean(np.abs(decompress-image_huff)))"
],
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "syg2KPtp5c68",
"outputId": "bfd2ffaa-b942-45c0-af8a-1b7d8a2a14e9"
},
"id": "syg2KPtp5c68",
"execution_count": 40,
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"0.46880903243908045\n"
]
}
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.11"
},
"colab": {
"name": "Wavelet_Huffman.ipynb",
"provenance": [],
"collapsed_sections": []
}
},
"nbformat": 4,
"nbformat_minor": 5
}
\ No newline at end of file
prediction_MSE_Scout.ipynb
View file @
cec97fe9
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
"cells": [
"cells": [
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
1
,
"execution_count":
76
,
"id": "dbef8759",
"id": "dbef8759",
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [],
...
@@ -15,7 +15,10 @@
...
@@ -15,7 +15,10 @@
"from PIL import Image\n",
"from PIL import Image\n",
"from scipy.optimize import minimize\n",
"from scipy.optimize import minimize\n",
"from time import time\n",
"from time import time\n",
"from numpy import linalg as la"
"from numpy import linalg as la\n",
"from scipy.stats import gaussian_kde\n",
"import seaborn as sns\n",
"import pywt"
]
]
},
},
{
{
...
@@ -87,46 +90,33 @@
...
@@ -87,46 +90,33 @@
" fix this later. 1/25/22\n",
" fix this later. 1/25/22\n",
" \"\"\"\n",
" \"\"\"\n",
" \n",
" \n",
"\n",
" image = tiff_list[i]\n",
" image = tiff_list[i]\n",
" image = Image.open(image) #Open the image and read it as an Image object\n",
" image = Image.open(image) #Open the image and read it as an Image object\n",
" image = np.array(image)[1:,:] #Convert to an array, leaving out the first row because the first row is just housekeeping data\n",
" image = np.array(image)[1:,:] #Convert to an array, leaving out the first row because the first row is just housekeeping data\n",
" image = image.astype(int)\n",
" image = image.astype(int)\n",
" row, col = image.shape\n",
" A = np.array([[3,0,-1],[0,3,3],[1,-3,-4]]) # the matrix for system of equation\n",
" \"\"\"predict = np.empty([row,col]) # create a empty matrix to update prediction\n",
" z0 = image[0:-2,0:-2] # get all the first pixel for the entire image\n",
" predict[0,:] = np.copy(image[0,:]) # keep the first row from the image\n",
" z1 = image[0:-2,1:-1] # get all the second pixel for the entire image\n",
" predict[:,0] = np.copy(image[:,0]) # keep the first columen from the image\n",
" z2 = image[0:-2,2::] # get all the third pixel for the entire image\n",
" predict[-1,:] = np.copy(image[-1,:]) # keep the first row from the image\n",
" z3 = image[1:-1,0:-2] # get all the forth pixel for the entire image\n",
" predict[:,-1] = np.copy(image[:,-1]) # keep the first columen from the image\n",
" # calculate the out put of the system of equation\n",
" diff = np.empty([row,col])\n",
" diff[0,:] = np.zeros(col) # keep the first row from the image\n",
" diff[:,0] = np.zeros(row)\n",
" diff[-1,:] = np.zeros(col) # keep the first row from the image\n",
" diff[:,-1] = np.zeros(row)\"\"\"\n",
" A = np.array([[3,0,-1],[0,3,3],[1,-3,-4]])\n",
" z0 = image[0:-2,0:-2]\n",
" z1 = image[0:-2,1:-1]\n",
" z2 = image[0:-2,2::]\n",
" z3 = image[1:-1,0:-2]\n",
" y0 = np.ravel(-z0+z2-z3)\n",
" y0 = np.ravel(-z0+z2-z3)\n",
" y1 = np.ravel(z0+z1+z2)\n",
" y1 = np.ravel(z0+z1+z2)\n",
" y2 = np.ravel(-z0-z1-z2-z3)\n",
" y2 = np.ravel(-z0-z1-z2-z3)\n",
" y = np.vstack((y0,y1,y2))\n",
" y = np.vstack((y0,y1,y2))\n",
" predict = la.solve(A,y)[-1]\n",
" # use numpy solver to solve the system of equations all at once\n",
" #diff = [(np.max([z0[r,c],z1[r,c],z2[r,c],z3[r,c]])-np.min([z0[r,c],z1[r,c],z2[r,c],z3[r,c]])) for r in range(0,row-2) for c in range(0,col-2)]\n",
" predict = np.linalg.solve(A,y)[-1]\n",
" '''\n",
" # flatten the neighbor pixlels and stack them together\n",
" for r in range(1,row-1): # loop through the rth row\n",
" z0 = np.ravel(z0)\n",
" for c in range(1,col-1): # loop through the cth column\n",
" z1 = np.ravel(z1)\n",
" actual_surrounding = np.array([image[r-1,c-1], image[r-1,c], image[r-1,c+1], image[r,c-1]])\n",
" z2 = np.ravel(z2)\n",
" #z = np.array([int(image[r-1,c-1]), int(image[r-1,c]), int(image[r-1,c+1]), int(image[r,c-1])])\n",
" z3 = np.ravel(z3)\n",
" z = np.array([image[r-1,c-1], image[r-1,c], image[r-1,c+1], image[r,c-1]])\n",
" neighbor = np.vstack((z0,z1,z2,z3)).T\n",
" y = np.array([-z[0]+z[2]-z[3], z[0]+z[1]+z[2], -z[0]-z[1]-z[2]-z[3]])\n",
" # calculate the difference\n",
" predict[r,c] = np.linalg.solve(A,y)[-1]\n",
" diff = np.max(neighbor,axis = 1) - np.min(neighbor, axis=1)\n",
" diff[r,c] = (np.max(actual_surrounding)-np.min(actual_surrounding))\n",
" # flatten the image to a vector\n",
" predict = np.ravel(predict[1:-1,1:-1])\n",
" image_ravel = np.ravel(image[1:-1,1:-1])\n",
" diff = np.ravel(diff[1:-1,1:-1])'''\n",
" return image_ravel, predict, diff, image"
" image = np.ravel(image[1:-1,1:-1])\n",
" return image, predict#, diff"
]
]
},
},
{
{
...
@@ -153,13 +143,13 @@
...
@@ -153,13 +143,13 @@
" error1 = np.abs(image_1-predict_1)\n",
" error1 = np.abs(image_1-predict_1)\n",
" error_mean1.append(np.mean(np.ravel(error1)))\"\"\"\n",
" error_mean1.append(np.mean(np.ravel(error1)))\"\"\"\n",
" start = time()\n",
" start = time()\n",
" image, predict = plot_hist(num_images, i)\n",
" image, predict
, difference, non_ravel
= plot_hist(num_images, i)\n",
" stop = time()\n",
" stop = time()\n",
" times.append(stop-start)\n",
" times.append(stop-start)\n",
" error = np.abs(image-predict)\n",
" error = np.abs(image-predict)\n",
" all_error.append(np.ravel(error))\n",
" all_error.append(np.ravel(error))\n",
" error_mean.append(np.mean(np.ravel(error)))\n",
" error_mean.append(np.mean(np.ravel(error)))\n",
"
#
diff_mean.append(np.mean(np.ravel(difference)))\n",
" diff_mean.append(np.mean(np.ravel(difference)))\n",
" \n",
" \n",
"#image, predict, difference = plot_hist(images, 0)"
"#image, predict, difference = plot_hist(images, 0)"
]
]
...
@@ -175,67 +165,40 @@
...
@@ -175,67 +165,40 @@
"output_type": "stream",
"output_type": "stream",
"text": [
"text": [
"Average Error First and Second Added: 20.017164930235474\n",
"Average Error First and Second Added: 20.017164930235474\n",
"233.22663391021266\n",
"Standard Deviaiton of Mean Errors: 0.16101183692475135\n",
"Standard Deviaiton of Mean Errors: 0.16101183692475135\n",
"Average Time per Image for First: 0.023412495851516724\n"
"Average Difference: 53.678648426455226\n",
"Average Time per Image for First: 0.10891032218933105\n"
]
]
}
}
],
],
"source": [
"source": [
"print(f\"Average Error First and Second Added: {np.mean(error_mean)}\")\n",
"print(f\"Average Error First and Second Added: {np.mean(error_mean)}\")\n",
"print(np.std(image))\n",
"print(f\"Standard Deviaiton of Mean Errors: {np.sqrt(np.var(error_mean))}\")\n",
"print(f\"Standard Deviaiton of Mean Errors: {np.sqrt(np.var(error_mean))}\")\n",
"
#
print(f\"Average Difference: {np.mean(diff_mean)}\")\n",
"print(f\"Average Difference: {np.mean(diff_mean)}\")\n",
"print(f\"Average Time per Image for First: {np.mean(times)}\")"
"print(f\"Average Time per Image for First: {np.mean(times)}\")"
]
]
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
12
,
"execution_count":
6
,
"id": "
f592fa32
",
"id": "
4c05b947
",
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [],
{
"name": "stdout",
"output_type": "stream",
"text": [
"[[0 1 2]\n",
" [3 4 5]\n",
" [6 7 8]]\n",
"[4 5]\n",
"[4 5]\n"
]
}
],
"source": [
"source": [
"b = np.arange(9).reshape((3,3))\n",
"new_image, new_pred, new_diff, no_ravel = plot_hist(images, 10)"
"print(b)\n",
"print(b[1,1::])\n",
"print(b[1,1:])"
]
]
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
6
,
"execution_count":
7
,
"id": "dda442ae",
"id": "dda442ae",
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
"ename": "NameError",
"evalue": "name 'difference' is not defined",
"output_type": "error",
"traceback": [
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[1;31mNameError\u001b[0m Traceback (most recent call last)",
"\u001b[1;32m~\\AppData\\Local\\Temp/ipykernel_10808/722042198.py\u001b[0m in \u001b[0;36m<module>\u001b[1;34m\u001b[0m\n\u001b[0;32m 2\u001b[0m \u001b[0max\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mfig\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0madd_subplot\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 3\u001b[0m \u001b[0mx\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mnp\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mabs\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mpredict\u001b[0m\u001b[1;33m-\u001b[0m\u001b[0mimage\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m----> 4\u001b[1;33m \u001b[0my\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mdifference\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 5\u001b[0m \u001b[0mplt\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mplot\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mx\u001b[0m\u001b[1;33m,\u001b[0m\u001b[0my\u001b[0m\u001b[1;33m,\u001b[0m\u001b[1;34m'o'\u001b[0m\u001b[1;33m,\u001b[0m\u001b[0malpha\u001b[0m \u001b[1;33m=\u001b[0m \u001b[1;36m0.2\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 6\u001b[0m \u001b[0mplt\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mrcParams\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mupdate\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;33m{\u001b[0m\u001b[1;34m'font.size'\u001b[0m\u001b[1;33m:\u001b[0m \u001b[1;36m20\u001b[0m\u001b[1;33m}\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;31mNameError\u001b[0m: name 'difference' is not defined"
]
},
{
{
"data": {
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAA
lsAAAJDCAYAAAA8QNGHAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8rg+JYAAAACXBIWXMAAAsTAAALEwEAmpwYAAAUe0lEQVR4nO3dX4jld3nH8c/TXQP+qxGzik2ymJZo3AtTdIxStI2V1iQ3QfAiUQwNwhJqxMuEXuiFN/WiIGJ0WUII3piLGjSWaCgUTSGmzQZikjVEtpEm2whJVCwoNGzy9GKmMh1nM2cn59ndE18vODC/3/nOmQe+zPLe3zlzTnV3AACY8QdnegAAgFcysQUAMEhsAQAMElsAAIPEFgDAILEFADBox9iqqtuq6pmqevQk91dVfbmqjlXVw1X17uWPCQCwmha5snV7kite4v4rk1y8cTuY5GsvfywAgFeGHWOru+9N8ouXWHJ1kq/3uvuTnFtVb13WgAAAq2wZr9k6P8lTm46Pb5wDAPi9t3cJj1HbnNv2M4Cq6mDWn2rMa1/72vdccsklS/jxAACzHnzwwee6e99uvncZsXU8yYWbji9I8vR2C7v7cJLDSbK2ttZHjhxZwo8HAJhVVf+52+9dxtOIdyW5buOvEt+f5Ffd/bMlPC4AwMrb8cpWVX0jyeVJzquq40k+n+RVSdLdh5LcneSqJMeS/CbJ9VPDAgCsmh1jq7uv3eH+TvLppU0EAPAK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9TvQcFRnEKGUalLZra/mR3Y8xq4AFhK4w4B09d+zwIuN7NWMxtFcK+Z52OoryJ6/liGLiX4TUCdfg/hzed+DCx39+9mLWqo34NuHVuEfoZCqXeHA78M/t3QBPzM3R81s0XEPwRMpMzsXoJ7wAw2sw3AP9HH0DfhsDoPENw7JgVc7+7pWAovsz6+h7PNbBxB88ta4G+hrr+H04ErgVfM7KVw3tdpsN+DhhwREZGiqKlKRESKouAQEZGiKDhERKQoCg4RESmKgkNERIqi4BARkaIoOERikDtCaiEjplpA/2YldvoRikTAzD5nZs+H96j4oZklzexPZvY/zew54CN5pr9iZkvDxw3h+4wM7/1wK/Aiuw9fIRILBYdImZnZGOAvCQaFHAekgc8C+wNL3X2Suz+VPQ28D1wDTCK4z8O1ZjY+fMvRwD3uPt7d11V2b0T2pCFHRMrvXODDwKJwiJYBBIPepQkGx+uRPX0G8Et33wFgZg8CZxKMdbTO3RdWpnSR/ik4RMrPgLvd/Wu7zTT7h5xxinZlTecbfrvHjnIXKLIv1FQlUn7zgE+Z2WHQez/qo/rZZgFwiZntF44+fCnwZMR1ipRERxwiZebur5rZPxLcLTEBdAPX97PNi2b2Ez4YcvtH7v778C5zIlVFo+OKiEhR1FQlIiJFUXCIiEhRFBwiIlIUBYeIiBRFwSEiIkVRcIiISFEUHCIiUpT/Dy1vIwVVIH/1AAAAAElFTkSuQmCC
\n",
"text/plain": [
"text/plain": [
"<Figure size
720x720
with 1 Axes>"
"<Figure size
432x288
with 1 Axes>"
]
]
},
},
"metadata": {
"metadata": {
...
@@ -245,96 +208,184 @@
...
@@ -245,96 +208,184 @@
}
}
],
],
"source": [
"source": [
"fig = plt.figure(figsize = (10,10))\n",
"new_error = np.abs(new_image-new_pred)\n",
"ax = fig.add_subplot()\n",
"plt.hist(new_error, bins=20, density=True)\n",
"x = np.abs(predict-image)\n",
"sns.kdeplot(new_error)\n",
"y = difference\n",
"plt.xlabel(\"error\")\n",
"plt.plot(x,y,'o',alpha = 0.2)\n",
"plt.show()\n"
"plt.rcParams.update({'font.size': 20})\n",
"plt.xlabel(\"differnece to the true value\" )\n",
"plt.ylabel(\"differnece of min and max of true value of the surroundings\")\n",
"plt.show()"
]
]
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
null
,
"execution_count":
8
,
"id": "58da6063",
"id": "58da6063",
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAZsAAAEICAYAAACJalkVAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8rg+JYAAAACXBIWXMAAAsTAAALEwEAmpwYAAA3Y0lEQVR4nO3deZxcVZn/8c+3qjsr2TrpLCSELIQlCARoQhBQQZYEkICKEhAQcQIK4zY/Jag4bjMDOjojIxJBEaJgQBAIkhg2IyAEEiRkXzohJJ21Ozudtbue3x/3dlLpVFff6u7qqnQ979erXlV17jn3nnsp8vQ599xzZGY455xz2RTLdQWcc861fR5snHPOZZ0HG+ecc1nnwcY551zWebBxzjmXdR5snHPOZV1Wg42k0ZKWSCqXNCHFdkm6J9w+V9JpjZWV9FNJi8P8T0nqnrTtjjD/EkkXJ6WfLmleuO0eScriaTvnnKtH2XrORlIcWApcCFQAs4BxZrYwKc8lwL8ClwBnAr8wszPTlZV0EfCymdVIuhvAzG6XNBz4IzASOBJ4ETjWzGolvQV8FZgJTAXuMbNp6erfq1cvGzRoUAtdDeeca/t69erF9OnTp5vZ6PrbirJ43JFAuZmtAJA0GRgLLEzKMxaYZEHEmympu6R+wKCGyprZ80nlZwKfTtrXZDPbA7wnqRwYKWkl0NXM3gj3NQm4AkgbbAYNGsTs2bObeu7OOVeQJPVKlZ7NbrT+wOqk7xVhWpQ8UcoCfIEDQSPdvioi7Ms551yWZDPYpLovUr/PrqE8jZaV9B2gBnikuftK2ud4SbMlza6srEyVxTnnXBNkM9hUAEclfR8ArI2YJ21ZSTc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QrrOcPGtn9E8BlktqHZQeF5/SapPskzVawBkvK/aQ531JJT4b1mCXp7Kjn69o2DzbOBa4A/mpmS4HNkk4L08cTrLdyqpmdTDDH1T0Ec1OdZ2bnNbLf14BRFkyuOBn4VtQKhVOWDCF4OhwAM9tGMHHjQ5KuBnqY2QOSLiKY3mQkMAI4XdJHGtq3BXNwvQWMDpPq1kIx4DtmVgacDHxU0slR6wz8AvgfMzuD4In432RQ1rVhRbmugHN5Yhzwv+HnyeH3fwIXEEw7UwNgZplOcjgAeEzBmiTtgPcilPmspHMIpka62cw2K2mJEjN7QdJVwL3AKWHyReHrnfD7EQTB55U0x6nrSnsmfP9CmP4ZSeMJ/n3oR7Dg19wI9Ybgeg1Pqm9XSV0sWM/FFTAPNq7gSeoJnA98SJIBccAkfYtgCvcoczol5+mQ9Pn/gJ+b2RRJHwO+H2Ffj5nZbQ1tlBQjWDl2F1BCMGefgP8ys19H2H+dp4Gfh624jmb2z3BSzP8HnGFmW8LusQ4pyjZ0vjHgLDPblUE9XAHwbjTngtlyJ5nZ0WY2yIJ1Rt4jmEjxeeCWcPp2JJWEZXYQLPVbZ4OkE8JAcGVSejdgTfj5BlrG1wlWfRwHPKhgGvvpwBfCe09I6i+pd7qdmNkHBMucP8iBgQFdgWpgW3h/aUwDxRs63+c5sD4LkkZkdmqurfJg41zwj/ZT9dKeBK4huOewCpgr6d0wDeB+YFrdAAFgAvAX4GWCRbDqfB/4k6RXgarmVlTSscAXgX8zs1cJusm+a2bPE6yN8oakeQQDALo0vKf9/kjQFTcZwMzeJeiKW0AQhP7RQLmGzvcrQFk4SGEhcEtmZ+jaKp/12TnnXNZ5y8Y551zWebBxzjmXdR5snHPOZZ0HG+ecc1nnwcY551zWebBxzjmXdR5snHPOZZ0HG+ecc1n3/wE8vk1auHCPQAAAAABJRU5ErkJggg==\n",
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"source": [
"image = Image.open(images[0]) #Open the image and read it as an Image object\n",
"plt.hist(new_image, bins=25, density=True)\n",
"image = np.array(image)[1:,:]\n",
"sns.kdeplot(new_image)\n",
"#z = np.array([image[1-1,1-1], image[1-1,1], image[1-1,1+1], image[1,1-1]])\n",
"plt.xlabel(\"Actual Pixel Value\")\n",
"z = np.array([22554,22552,22519,22561])\n",
"plt.show()"
"print(z)\n",
"'''A = np.array([[-3,0,1],[0,-3,3],[-1,-3,4]])\n",
"y = np.array([z[0]-z[2]+z[3], z[0]+z[1]+z[2], -z[0]-z[1]-z[2]-z[3]])\n",
"a,b,c = np.linalg.solve(A,y)'''\n",
"A = np.array([[3,0,-1],[0,3,3],[1,-3,-4]])\n",
"y = np.array([-z[0]+z[2]-z[3], z[0]+z[1]+z[2], -z[0]-z[1]-z[2]-z[3]])\n",
"print(y)\n",
"a,b,c = np.linalg.solve(A,y)\n",
"print(a,b,c)"
]
]
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
null
,
"execution_count":
79
,
"id": "2562feeb",
"id": "2562feeb",
"metadata": {
"metadata": {
"scrolled": false
"scrolled": false
},
},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"(512, 640)\n",
"1310832\n",
"9\n"
]
}
],
"source": [
"source": [
"i0 = (a*(-1) + b*(1) + c)\n",
"f_r = no_ravel[0]\n",
"i1 = (a*(0) + b*(1) + c)\n",
"print(no_ravel.shape)\n",
"i2 = (a*(1) + b*(1) + c)\n",
"print(sys.getsizeof(no_ravel))\n",
"i3 = (a*(-1) + b*(0) + c)\n",
"print((256).bit_length())"
"print(sum([(i0-z[0])**2,(i1-z[1])**2,(i2-z[2])**2,(i3-z[3])**2]))\n"
]
]
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
null
,
"execution_count":
99
,
"id": "470cc137",
"id": "470cc137",
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"(258, 322)\n"
]
},
{
"data": {
"text/plain": [
"'print(decompress)\\nprint(np.mean(np.abs(decompress-no_ravel)))'"
]
},
"execution_count": 99,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"source": [
"a = 0\n",
"coeffs = pywt.dwt2(no_ravel, 'bior1.3')\n",
"b = 2\n",
"LL, (LH, HL, HH) = coeffs\n",
"c = 2\n",
"print(HH.shape)\n",
"i0 = (a*(-1) + b*(1) + c)\n",
"decompress = pywt.idwt2(coeffs, 'bior1.3')\n",
"i1 = (a*(0) + b*(1) + c)\n",
"\"\"\"print(decompress)\n",
"i2 = (a*(1) + b*(1) + c)\n",
"print(np.mean(np.abs(decompress-no_ravel)))\"\"\"\n"
"i3 = (a*(-1) + b*(0) + c)\n",
"print(sum([(i0-z[0])**2,(i1-z[1])**2,(i2-z[2])**2,(i3-z[3])**2]))\n"
]
]
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
null
,
"execution_count":
59
,
"id": "3292b395",
"id": "3292b395",
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"[72, 101, 108, 108, 111, 32, 109, 121, 32, 110, 97, 109, 101, 32, 105, 115, 32, 83, 99, 111, 117, 116]\n",
"256\n",
"71\n"
]
}
],
"source": [
"source": [
"#z = np.hstack((image[0,:3], image[1,0]))\n",
"def compress(uncompressed):\n",
"#x = np.array([-1,0,1,-1])\n",
" \"\"\"Compress a string to a list of output symbols.\"\"\"\n",
"#y = np.array([-1,-1,-1,0])\n",
" \n",
"A = np.array([[-3,0,1],[0,-3,3],[1,3,-4]])\n",
" # Build the dictionary.\n",
"#y = np.array([z[0]-z[2]+z[3], z[0]+z[1]+z[2], -z[0]-z[1]-z[2]-z[3]])\n",
" dict_size = 256\n",
"y = np.array([[1,2,3],[4,5,6],[7,8,9]])\n",
" dictionary = dict((chr(i), i) for i in range(dict_size))\n",
"print(np.linalg.solve(A,y))"
" # in Python 3: dictionary = {chr(i): i for i in range(dict_size)}\n",
"\n",
" w = \"\"\n",
" result = []\n",
" for c in uncompressed:\n",
" wc = w + c\n",
" if wc in dictionary:\n",
" w = wc\n",
" else:\n",
" result.append(dictionary[w])\n",
" # Add wc to the dictionary.\n",
" dictionary[wc] = dict_size\n",
" dict_size += 1\n",
" w = c\n",
" \n",
" # Output the code for w.\n",
" if w:\n",
" result.append(dictionary[w])\n",
" return result\n",
"\n",
"store = compress(\"Hello my name is Scout\")\n",
"print(store)\n",
"print(sys.getsizeof(store))\n",
"print(sys.getsizeof(\"Hello my name is Scout\"))"
]
]
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
null
,
"execution_count":
88
,
"id": "f9687830",
"id": "f9687830",
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"0.01910218596458435\n"
]
}
],
"source": [
"source": [
"0.5**2 + 1.5**2"
"def wavelet(num_images, i): \n",
"\n",
" image = Image.open(num_images[i]) #Open the image and read it as an Image object\n",
" image = np.array(im)[1:,:]\n",
" coeffs = pywt.dwt2(image, 'bior1.3')\n",
" return coeffs\n",
"\n",
"def huffman(coeffs):\n",
" for i in range(len(coeffs)):\n",
" \n",
"\n",
"coef, t = wavelet(num_images)\n",
"\n",
"def wave_decompress(coeffs):\n",
" times = []\n",
" for i in range(len(coeffs)):\n",
" start = time()\n",
" decompress = pywt.idwt2(coeffs[i], 'bior1.3')\n",
" stop = time()\n",
" times.append(stop-start)\n",
" return times\n",
"ti = wave_decompress(coef)\n",
"print(np.mean(ti))"
]
]
},
},
{
{
...
@@ -343,12 +394,7 @@
...
@@ -343,12 +394,7 @@
"id": "e98eed4b",
"id": "e98eed4b",
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [],
"source": [
"source": []
"y1= [0,1,2,3]\n",
"y2=[4,5,6,7]\n",
"y3=[8,9,10,11]\n",
"np.vstack((y1,y2,y3)).T"
]
},
},
{
{
"cell_type": "code",
"cell_type": "code",
...
...
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