![]() Returns the angle in radians whose cosine equals the given input.Returns the absolute value of its input.There are numerous built in functions that can appear in an equation. constants ( such as E and PI in "E * 7" or "PI / 4" ) calls to built in functions (such as sin(v) - more listed below) variable index references ( x in ", 3 * x" ) add / subtract / multiply / divide / mod (+ - * / %) When you query this equation for a loaded image it substitutes each pixel value for the "img" function and adds 23 to itĮquations are specified in pieces. One can also use the current image's data values as input to an equation.įor instance here is an example that does so: ", x + z" Notice that we don't care about the Y axis but we specify it to keep the positional indexes populated correctly. Given an input image whose axesĪre one can legally specify a function like this: However one can underspecify a set of axes without issue if they are not used. ", t * 2" the input image would substitute x values for the t variable and you would not get what you want. data set we might want an equation that sets the pixel value to 2 times the time index. If you have a multidimensional set of data it is important to specify all axes as index variables. Such that it has axes you want your equation to match (i.e. The key concept is that the order of index definition is important. Note that index names do not have to be those defined in ImageJ 1.x (i.e. When you query this equation for a loaded image it substitutes each x index for u and each y index for v Here is an example of an equation with index variable definitions: Note that there are no index variable definitions. When you query this equation it returns the value 12. (Index variables are discussed a bit later)įor example here is the most basic definition: Refer to any index variables they can be omitted from the definition. The Process › Math › Equation dialog supports a powerful language for defining equations that can be usedĪn equation is defined by a list of index variable declarations and a formula definition. This page documents that language that can be used to specify equations via the Process › Math › Equation command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |