Project

General

Profile

Actions

Bug #749

closed

pyami cross_correlate does not work on rectangular images

Added by Neil Voss almost 14 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Pyami
Start date:
07/19/2010
Due date:
% Done:

0%

Estimated time:
Affected Version:
Pre-2.0
Show in known bugs:
No
Workaround:

Description

broken code:

pc=correlator.cross_correlate(binned1,binned2)
peak = peakfinder.findSubpixelPeak(pc, lpf=0.0)
subpixpeak = peak['subpixel peak']
shift=correlator.wrap_coord(subpixpeak, pc.shape)
peak['scalefactor'] = dimension2/float(dimension1)
peak['shift'] = numpy.array((shift[0]*shrinkfactor1, shift[1]*shrinkfactor1))

Actions #1

Updated by Anchi Cheng over 8 years ago

  • Status changed from New to Closed

Must have been fixed by now since many cameras are rectangular today.

Actions

Also available in: Atom PDF