Module ImportFrom alias Import alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str If CompareNotEq SubscriptLoad NameLoad Slice Num Str body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Str Assign NameStore Call NameLoad BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Print Str NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Return TupleLoad SubscriptLoad NameLoad ExtSlice Slice Slice Num SubscriptLoad NameLoad ExtSlice Slice Slice Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call NameLoad NameLoad Call NameLoad TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpMult BinOpMult Call NameLoad Num Num Num Num NameLoad Assign NameStore BinOpAdd BinOpMult NameLoad Call NameLoad NameLoad SubscriptLoad NameLoad Index Num Assign NameStore BinOpAdd BinOpMult NameLoad Call NameLoad NameLoad SubscriptLoad NameLoad Index Num Expr Call NameLoad NameLoad NameLoad Str keyword Num decorator_list Expr Call NameLoad NameLoad If NameLoad body For NameStore NameLoad body Expr Call NameLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Index Num orelse Expr Call NameLoad SubscriptLoad NameLoad ExtSlice Slice Index Num SubscriptLoad NameLoad ExtSlice Slice Index Num Str Expr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad ListComp BinOpDiv NameLoad Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Assign NameStore Call NameLoad ListComp BinOpDiv NameLoad Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Assign NameStore Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Str Assign NameStore AttributeLoad NameLoad attr For NameStore Call NameLoad SubscriptLoad NameLoad Index Num body Assign NameStore Call NameLoad SubscriptLoad NameLoad ExtSlice Index NameLoad Slice NameLoad Assign NameStore BinOpMult Num NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad If CompareLt SubscriptLoad Call NameLoad NameLoad Index SubscriptLoad NameLoad Index Num BinOpMult NameLoad SubscriptLoad Call NameLoad NameLoad Index SubscriptLoad NameLoad Index Num body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num If CompareLt NameLoad NameLoad body Assign NameStore Call NameLoad TupleLoad NameLoad Call NameLoad TupleLoad BinOpSub NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num keyword Num orelse If CompareGt NameLoad NameLoad body Assign NameStore Call NameLoad TupleLoad NameLoad Call NameLoad TupleLoad BinOpSub NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num keyword Num Return Call NameLoad TupleLoad NameLoad NameLoad keyword Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad If NameLoad body Assign NameStore Call NameLoad TupleLoad NameLoad NameLoad Expr Call NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareGt NameLoad Num body Expr Call NameLoad ListLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num BinOpAdd SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num NameLoad ListLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Str Expr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num For NameStore NameLoad body If CompareNotEq SubscriptLoad NameLoad Index Call NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Num Return NameLoad decorator_list
N/A PIL Image N/A os numpy * pylab * process_image N/A N/A imagename resultname params N/A --edge-thresh 10 --peak-thresh 5 N/A N/A  Process an image and save the results in a file.  N/A N/A N/A imagename N/A -3 pgm N/A N/A im N/A N/A N/A N/A Image open imagename convert L N/A N/A N/A im save tmp.pgm N/A imagename tmp.pgm N/A cmmd N/A str N/A N/A N/A N/A N/A sift  imagename  --output= resultname params N/A N/A N/A os system cmmd N/A processed imagename to resultname N/A read_features_from_file N/A N/A filename N/A N/A N/A  Read feature properties and return in matrix form.  N/A f N/A loadtxt filename N/A N/A N/A f N/A N/A N/A 4 N/A f N/A N/A N/A 4 N/A write_features_to_file N/A N/A filename locs desc N/A N/A N/A  Save feature location and descriptor to file.  N/A N/A savetxt filename N/A hstack N/A locs desc N/A plot_features N/A N/A im locs circle N/A False N/A N/A  Show image with features. input: im (image as array), 
        locs (row, col, scale, orientation of each feature).  draw_circle N/A N/A c r N/A N/A N/A t N/A N/A N/A arange 0 1.01 0.01 2 pi N/A x N/A N/A r N/A cos t N/A c N/A 0 N/A y N/A N/A r N/A sin t N/A c N/A 1 N/A N/A plot x y b linewidth 2 N/A N/A N/A imshow im N/A circle N/A N/A p locs N/A N/A N/A draw_circle N/A p N/A 2 N/A p N/A 2 N/A N/A N/A plot N/A locs N/A N/A N/A 0 N/A locs N/A N/A N/A 1 ob N/A N/A axis off N/A match N/A N/A desc1 desc2 N/A N/A N/A  For each descriptor in the first image, 
        select its match in the second image.
        input: desc1 (descriptors for the first image), 
        desc2 (same for second image).  N/A desc1 N/A array N/A N/A d N/A N/A linalg norm d N/A d desc1 N/A desc2 N/A array N/A N/A d N/A N/A linalg norm d N/A d desc2 N/A dist_ratio 0.6 N/A desc1_size N/A desc1 shape N/A matchscores N/A zeros N/A desc1_size N/A 0 int N/A desc2t N/A desc2 T N/A i N/A range N/A desc1_size N/A 0 N/A N/A dotprods N/A dot N/A desc1 N/A N/A i N/A desc2t N/A dotprods N/A 0.9999 dotprods N/A indx N/A argsort N/A arccos dotprods N/A N/A N/A N/A arccos dotprods N/A N/A indx N/A 0 N/A dist_ratio N/A N/A arccos dotprods N/A N/A indx N/A 1 N/A N/A N/A matchscores N/A i N/A int N/A indx N/A 0 N/A matchscores N/A appendimages N/A N/A im1 im2 N/A N/A N/A  Return a new image that appends the two images side-by-side.  N/A rows1 N/A N/A im1 shape N/A 0 N/A rows2 N/A N/A im2 shape N/A 0 N/A N/A rows1 rows2 N/A N/A im1 N/A concatenate N/A im1 N/A zeros N/A N/A rows2 rows1 N/A N/A im1 shape N/A 1 axis 0 N/A N/A N/A rows1 rows2 N/A N/A im2 N/A concatenate N/A im2 N/A zeros N/A N/A rows1 rows2 N/A N/A im2 shape N/A 1 axis 0 N/A N/A concatenate N/A im1 im2 axis 1 N/A plot_matches N/A N/A im1 im2 locs1 locs2 matchscores show_below N/A True N/A N/A  Show a figure with lines joining the accepted matches
        input: im1,im2 (images as arrays), locs1,locs2 (location of features), 
        matchscores (as output from 'match'), show_below (if images should be shown below).  N/A im3 N/A appendimages im1 im2 N/A show_below N/A N/A im3 N/A vstack N/A im3 im3 N/A N/A imshow im3 N/A cols1 N/A N/A im1 shape N/A 1 N/A N/A i m N/A enumerate matchscores N/A N/A N/A m 0 N/A N/A N/A plot N/A N/A N/A locs1 N/A i N/A 1 N/A N/A N/A locs2 N/A m N/A 1 cols1 N/A N/A N/A locs1 N/A i N/A 0 N/A N/A locs2 N/A m N/A 0 c N/A N/A axis off N/A match_twosided N/A N/A desc1 desc2 N/A N/A N/A  Two-sided symmetric version of match().  N/A matches_12 N/A match desc1 desc2 N/A matches_21 N/A match desc2 desc1 N/A ndx_12 N/A N/A N/A matches_12 nonzero N/A 0 N/A n ndx_12 N/A N/A N/A N/A matches_21 N/A N/A int N/A matches_12 N/A n n N/A N/A N/A matches_12 N/A n 0 N/A matches_12 N/A