working with JitterObjects in mxj that don't output jitter matrices

volker böhm's icon

hi,
i'm trying to write a class for mxj that incorporates a JitterObject.

from the examples this seems to be straight forward for objects that
process and output jitter matrices, like in the
"javajitterfirsttest.pat" example, where jit.sobel and jit.brcosa are
used with the "matrixcalc" message:

mybrcosa.matrixcalc(inname,mymatrix2);
etc.

but what about using a jitter object, which doesn't output a jitter
matrix?

i'd like to find the mean value of a 2d 1 plane matrix using jit.3m e.g.

JitterObject my3m = new JitterObject("jit.3m");
my3m.matrixcalc(myInputMatrix, ???);

thanks for any pointers.
volker.

volker böhm's icon
zerox_'s icon

same question but with jit.findbounds
findbounds has two outlets which output list two integer lists
how do i grab the output ?
myfindbounds.matrixcalc(mat, ???);

zerox_'s icon

bump

zerox_'s icon

in java:
my3m = new JitterObject("jit.3m");
...
my3m.matrixcalc(inmat, null);
outlet(1,"mean", my3m.getAttr("mean"));

but with jit.findbounds it doesent work ;-(
WHY NOT !!!
because the jit.findbounds outlet name "min bound" has got a blank ?
i tried als permutations "min bounds", "min_bounds", "minbounds"...
and allways get an
java.lang.NullPointerException: args argument cannot be null
error message

any ideas ?