Commit e4b83f96 authored by Kelly Chang's avatar Kelly Chang

kelly push

parent 62b8cccf
......@@ -101,7 +101,8 @@
" 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",
" A = np.array([[3,0,-1],[0,3,3],[1,-3,-4]])\n",
" '''\n",
" z0 = image[0:-2,0:-2]\n",
" z1 = image[0:-2,1:-1]\n",
" z2 = image[0:-2,2::]\n",
......
......@@ -101,7 +101,8 @@
" 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",
" A = np.array([[3,0,-1],[0,3,3],[1,-3,-4]])\n",
" '''\n",
" z0 = image[0:-2,0:-2]\n",
" z1 = image[0:-2,1:-1]\n",
" z2 = image[0:-2,2::]\n",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment