Hi Brian,

thanks a lot for the example script, that's a great starting point!

Cheers,
Jan



On 19.08.2015 15:52, Brian Northan wrote:
Hi Jan

I am not sure of the best to draw points that are at a sub-resolution
position.

Below is an example that shows how to use imglib2 (in a script) to draw
points and then convolve them.   (note it works with imagej-ops-0.16.0
and above)

https://github.com/imagej/imagej-tutorials/blob/scripting/jython/CreateAndConvolvePoints.py

If you know the equation you want to use for a point at sub-resolution
maybe you can implement it using the same imglib2 interfaces...





On Wed, Aug 19, 2015 at 7:32 AM, Jan Eglinger <jan.eglin...@gmail.com
<mailto:jan.eglin...@gmail.com>> wrote:

    Dear all,

    I'd like to use ImageJ-Ops to create an image with "virtual beads"
    of a given diameter with a given intensity.
    I thought of using a 3D Gaussian to get the spatial intensities for
    each bead (at a random subpixel position), and then summing up
    single bead images to get a volume with randomly distributed spots.
    Finally, I might want to convolve these ideal 3D Gaussian spots with
    a given point-spread function (PSF).

    I guess I'll need
       ij.op().image().equation()
       ij.op().math().add()
    and finally
       ij.op().filter().convolve()

    but I am unsure how to proceed.

    Could anybody give me some hints how to start?

    Thanks,
    Jan


_______________________________________________
ImageJ-devel mailing list
ImageJ-devel@imagej.net
http://imagej.net/mailman/listinfo/imagej-devel

Reply via email to