Rank: 21384 based on 0 downloads (last 30 days) and 0 file submitted
Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Alex View all
Updated File Comments Rating
26 Jul 2010 Efficient subpixel image registration by cross-correlation Registers two images (2-D rigid translation) within a fraction of a pixel specified by the user. Author: Manuel Guizar

Re: my comment on 14 Jul 2010:
I owe an apology. It seems at the point when I wrote my comment I was feeding an accidentally reshaped array into the code. Because of the artifacts in my data, it caused a wrap around artifact in the output (and the registration worked in one axis only, but I didn't notice because that happened to be the axis containing almost all of the shifts).

Great code - no resrvations! Thanks much.

--Alex.

14 Jul 2010 Efficient subpixel image registration by cross-correlation Registers two images (2-D rigid translation) within a fraction of a pixel specified by the user. Author: Manuel Guizar

Code registers images very well. Question about the supplementary output:
output = [error,diffphase,net_row_shift,net_col_shift]

On my data it seems that some times the row_shift variable seems to 'wrap around' in away that is not intuitive. For example though the data is only 512 pixels wide, I get row shifts of -512.3, 1024.3 etc which I assume are actually very small pixel shifts that have a somewhat random multiple of the image size thown on for fun.

21 Jun 2010 Automatic 2d Rigid Body Image Registration Automatic 2d rigid registration using improved MI kernel Author: Matthew Sochor

I have the same problem as Frank on Dec 02 2009. What compiler was originally used with this?

07 Apr 2010 Convert TDMS (v2) Import a TDMS v2 file as a matlab object (ob). Author: Grant Lohsen

Still really appreciate this code!!!! Had some problems importing a cluster containing metadata stored as properties with no large sets of data attached. I'd love to submit a TDMS file for you but am unsure how in this forum.
1. Program has a few instances of:
'rawDataInThisSeg=0;'
which get get called with these zero data property entries. and therefore eliminate the array that should exist
replacing them with
'rawDataInThisSeg(obnum)=0;'
eliminates a failure at line 257, Index exceeds dimensions
and did not cause problems with rest of function.
2. Program assumed that there would be a lot of data attached and allocated a lot of memory to single value. I believe error had something to do with:
'estNumSeg=floor(filesize/(20+segLength)*1.2);' I hacked around this, making it equal to 1 for my special case, but surely there is correct method.

PS. Mathworks is currently posting the NI solution to this problem http://www.mathworks.com/support/solutions/en/data/1-2XFSRG/?solution=1-2XFSRG

Others may also wish to tell them how much better this solution is.

--Alex.

06 Apr 2010 Convert TDMS (v2) Import a TDMS v2 file as a matlab object (ob). Author: Grant Lohsen

Seems to work a lot better than code provided by NI that requires its own rather large C library and has very limited set of datatypes!

Contact us