Skip to content

Instantly share code, notes, and snippets.

@LeeKamentsky
Created April 22, 2016 19:49
Show Gist options
  • Save LeeKamentsky/aa814b77428b78e652dcc40d6a8d39cb to your computer and use it in GitHub Desktop.
Save LeeKamentsky/aa814b77428b78e652dcc40d6a8d39cb to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{
"metadata": {
"name": "",
"signature": "sha256:ac44348e73f83afe2ab860269632213ee4b3440dd6239735d8aded0b4ddd2291"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "code",
"collapsed": false,
"input": [
"import cudasift\n",
"from pylab import *"
],
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 1
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"path = \"/home/leek/data/images/ECS_for_ray_4-2-16/ECS_test9_20160404_05-05-18/001_S1R1/001_000001_001_2016-04-04T0106508721181.bmp\"\n",
"img = imread(path)\n",
"rcParams[\"figure.figsize\"] = (12, 12)\n",
"imshow(img)\n",
"img.shape"
],
"language": "python",
"metadata": {},
"outputs": [
{
"metadata": {},
"output_type": "pyout",
"prompt_number": 2,
"text": [
"(2724, 3128)"
]
},
{
"metadata": {},
"output_type": "display_data",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment