Could anyone let me know how I can understand these parameters and terms?

- cell[0-31] (integer coordinate across dim);

- norm[0-31] (normalized coordinate across dim);

- snorm[0-31] (signed normalized coordinate across dim);

- dim[0-31] (matrix size across dim);

- in[0-31] (input matrix, corresponding plane);

- in[0-31].p[0-31] (input matrix, specific plane);

- matrixname (any named matrix, corresponding plane);

- matrixname.p[0-31] (anynamed matrix, specific plane);

- PI, TWOPI, HALFPI, INVPI, DEGTORAD, RADTODEG, E, LN2, LN10, LOG10E, LOG2E, SQRT2, SQRT1_2;

Does any one have simple patches with better documentation than Jitter help or reference ?

Or should I find some books about image or video processing in order to understand the usage of jit.expr and jit.bfg help files ?

Please help or recommand some books to start.

Thank you so much.

]]>also, search the forum. there are several good examples floating around here.

– Pasted Max Patch, click to expand. –

]]>
- cell[0-31] (integer coordinate across dim);

generates an integer coordinate value of the cell location using the dimension specified in brackets.

- norm[0-31] (normalized coordinate across dim);

similar to cell, but gives normalized values (0.-1.)

- snorm[0-31] (signed normalized coordinate across dim);

similar to cell, but gives signed normalized values (-1. – 1.)

- dim[0-31] (matrix size across dim);

gives the size of the matrix (constant for all cells)

- in[0-31] (input matrix, corresponding plane);

specifies one of the inputs as a variable

- in[0-31].p[0-31] (input matrix, specific plane);

used to get aspecific plane of the input matrix

- matrixname (any named matrix, corresponding plane);

specifies a named matrix as a variable

- matrixname.p[0-31] (anynamed matrix, specific plane);

used to get a specific plane of that named matrix

- PI, TWOPI, HALFPI, INVPI, DEGTORAD, RADTODEG, E, LN2, LN10, LOG10E, LOG2E, SQRT2, SQRT1_

These are all common mathematical constants and functions.

Hope that helps…

Best,

Andrew B.

Thanks for this, it was much needed. Another point: is there a way to do translation i.e. to refer to a cell in the input[1] that has not got the same address than the input[0] or does it have to be parallel?

thanks

pa

Could you explain more by using “expr cell(0)(0)” and “expr cell(1)cell(1)” as an example ?

Thank you so much.

]]>I don’t know TWOPI as a mathematical operator, is there anyone to help on this?

@Cheng

In my knowledge, If you have for example “cell(1)cell(1)” :

-> the first cell(1) talks to plane 1

-> and the second cell(1) talks to plane 2.