Login  Register

Re: Pixels as variables

Posted by Herbie-2 on Aug 24, 2012; 5:28pm
URL: http://imagej.273.s1.nabble.com/Pixels-as-variables-tp4999840p4999841.html

Kirill,

if you think of realizing what you call a "certain function" as an
IJ-macro, then it would be a good idea to first study the available
macro routines at:

        <http://rsb.info.nih.gov/ij/developer/macro/functions.html>

and especially the routine

        getPixel(x, y)

On 24.08.12 17:30, kirill8910 wrote:

> Hello!
>
> Could someone tell me please...If I want to implement a certain function for
> image like:
>
> "If 3 pixels ahead value>  value here Then value = 0"
>
> I just wonder how to deal with pixels as variables. Or maybe me lazy butt
> should go and google this stuff.
>
> But if someone could give a link or code example would be amazing!
>
> Thanks in advance!
>
> Kirill

HTH

Herbie

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html