Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Table / Array doe's not work' topicStudent Support Forum > General > Archives > "Table / Array doe's not work"

Next Comment >Help | Reply To Topic
Author Comment/Response
Omer
02/29/12 07:09am

I am trying to use the following command:
Table[Total[ImageData[ImageTake[ImageRotate[img[m], \[Theta]], {row1, row2}, {n - p, n + p}]],
2], {m, minpic, maxpic}, {n, col1, col2}]]

where img[m] is the m-th jpg image from a series of measurements.
row1, row2, col1, col2, theta, p, minpic and maxpic are all integer parameters (except for theta).

if I manually run the function without the Table command it works perfectly fine for every {m,n}.
However, once I try and run it with the Table command, the loop seems to not run over all the {n,m} and stops after a few steps.
I get no output either.

Thanks for your help.

URL: ,

Subject (listing for 'Table / Array doe's not work')
Author Date Posted
Table / Array doe's not work Omer 02/29/12 07:09am
Re: Table / Array doe's not work Bill Simpson 03/01/12 02:10am
Re: Re: Table / Array doe's not work Omer 03/03/12 06:45am
Re: Re: Table / Array doe's not work Omer 03/03/12 06:50am
Re: Re: Re: Table / Array doe's not work Bill Simpson 03/03/12 6:12pm
Re: Re: Table / Array doe's not work Omer 03/04/12 08:56am
Next Comment >Help | Reply To Topic