Skip to content

ca_analyze.py fails at MATLAB with "Index exceeds matrix dimensions" #3

Description

@GoogleCodeExporter
What steps will reproduce the problem?

1. In accordance with the log below, go to Google_logos on Astana
2. clean the hiperspace project directory of all but images/
3. from above, run ca_analyze.py -m images hiperspace

What is the expected output? What do you see instead?

I expected ca_analyze to finish -- instead, the process quit in the middle
of the MATLAB portion job (see log below). Results.txt was empty, etc.
Also, there was something strange: adaptiveColorQ.txt was inside /images

I've attached the image file that MATLAB failed on, in case some kind of
formatting was the cause.


LOG:

Astana:Google_logos jeremydouglass$ ca_analyze.py -m images hiperspace

Error: importing config.py
Processing line...
/Applications/Programming/softwarestudies/scripts/line -d hiperspace/lines
--preset high hiperspace/images
[line]Processing...1stdayofschool08.jpg
[line]Processing...4th_birthday.jpg
[line]Processing...5th_birthday.jpg

[...]

[line]Processing...yuri_gagarin.jpg
Processing UniformColorQ...
/Applications/Programming/softwarestudies/scripts/uniformColorQ -q 2
hiperspace/images 
[uniformColorQ]Processing...1stdayofschool08.jpg
[uniformColorQ]Processing...4th_birthday.jpg

[...]

uniformColorQ]Processing...yuri_gagarin.jpg
Processing AdaptiveColorQ...
/Applications/Programming/softwarestudies/scripts/adaptiveColorQ -n 16 -k 2
/Volumes/SWS02/projects/jeremy/images/Google_logos/hiperspace/images/ 
matlab -nodisplay -nojvm -r
"path(path,'/Applications/Programming/softwarestudies/matlab/adaptiveColorQ');
adaptiveColorQ('/Volumes/SWS02/projects/jeremy/images/Google_logos/hiperspace/im
ages/',16,2);
exit;"

[...]

[matlab-adaptiveColorQ]../Volumes/SWS02/projects/jeremy/images/Google_logos/hipe
rspace/images/elsalvador_independence08.jpg
[matlab-adaptiveColorQ]../Volumes/SWS02/projects/jeremy/images/Google_logos/hipe
rspace/images/escher.jpg
??? Index exceeds matrix dimensions.

Error in ==> adaptiveColorQ at 46
            fprintf(resultf,',%.4f,%.4f,%.4f',T(j,4:6));
EDU>> 

Original issue reported on code.google.com by jeremydouglass@gmail.com on 8 Sep 2009 at 8:11

Attachments:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions