@All with out of memory issues:
This happens because in AAM_MakeSearchModel the variable drdp is 4D, you can just split it into smaller matrices, such as i did it in 2 3D matrices,and did averaging by adding and dividing instead of using mean and squeeze function. Because in the end you are using this drdp for the calculation of matrix R which is 2D
Annotation files are using cartesian coordinates:
Each point is stored as a row:
The code uses matlab convention for image coordinates:
and are stored in the same way:
Check the xy2ij() and ij2xy() functions for converting between the two.
Thanks for your sharing.
All the code are running correctly on my computer. Just got some logic questions.
Did you train the model that all coordinates related to shapes are in inverse order? shape = [Y X] as example.
Does not work under Ubuntu 12.04, Matlab 2012a
Figure name has Upper and lower case
The tabpanel is called "tabPanel"
Calling tabpanel('My_Figure.fig', 'tabPanel')
creats a pop up message : file 'my_figure.fig' not found.
fh = openfig('My_Figure.fig');
1 0 0 -1 -1 -1 0 0
I applied this to a micrograph containing circular fibers. The program recognized every single one of the fibers and marked its centers correctly. However, some of those fibers have zero radius which is obviously incorrect. Why?