Here is a Java part:
public double[][] getArrayPixels()
{
double array[][] = new double[nx][ny];
int k = 0;
for(int j = 0; j < ny; j++)
{
for(int i = 0; i < nx; i++)
array[i][j] = pixels[k++];
}
return array;
}
On Mon, 21 Jan 2013, Alexey Ryabukhin wrote:
I have a function in java code that returns double array[][].
In python I have this:
JArray[, , , , ]
Works fine.
But when I put it back to java it shows error:
self.putArrayPixels(self.getArrayPixels())
ijresize.InvalidArgsError: (, 'putArrayPixels
I have a function in java code that returns double array[][].
In python I have this:
JArray[, , , , ]
Works fine.
But when I put it back to java it shows error:
self.putArrayPixels(self.getArrayPixels())
ijresize.InvalidArgsError: (, 'putArrayPixels',
JArray[, , , , ])
Is it possible somehow to