imagej / imagej-ops

ImageJ Ops: "Write once, run anywhere" image processing
https://imagej.net/libs/imagej-ops
BSD 2-Clause "Simplified" License
88 stars 42 forks source link

Shadows Op #561

Open gselzer opened 6 years ago

gselzer commented 6 years ago

This Op provides an Op version of the ImageJ Core Plugin created by Barry Dezonia.

Below is a demo of the new Shadows Op (middle) run on this image (left), taken from imagej.net, alongside the output of the same image run through the Plugin (right).

shadowscomparison

Points of Discussion:

TODO:

ctrueden commented 6 years ago

I am OK with the output differing from past implementations, so that we achieve a configurable angle.

Please write a test, and then we can merge it.

gselzer commented 5 years ago

@ctrueden I found test commit that was for some reason not pushed. The test passes and is sound, however it introduces a test-scope dependency on scijava-io-http that I am not sure we want. It also forces the download of abe.tif, which seems bad to me. However it does have a method downloadOnce that seems valuable; maybe it should go in DownloadService. Let me know what you think of this