XML Feeds

.

[java-dev] working with JitterObjects in mxj that don't output jitter matrices

Joshua Kit Clayton jkc at musork.com
Wed Oct 3 11:41:57 MDT 2007


On Oct 3, 2007, at 3:15 AM, volker böhm wrote:

> 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, ???);

If null doesn't work as a second argument to matrixcalc, you can just  
pass in any matrix (duplicate the input).

The values you are looking for are available as attributes after the  
matrixcalc method has finished executing. Their names are "max"  
"mean" "min" and will return arrays of values.

Hope this helps.

-Joshua


More information about the java-dev mailing list