Skip to content

Commit d525bd2

Browse files
ctruedenclaude
andcommitted
Document the Directionality quirks kept for plugin parity
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent badbebf commit d525bd2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎scijava-ops-image-gpl/src/main/java/org/scijava/ops/image/gpl/directionality/DefaultDirectionalityHistogram.java‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@
7272
* instead, so its bins collect the orientations in
7373
* {@code [center, center + width)} and its histogram and fitted direction are
7474
* offset by half a bin (about 1 degree with the default 90 bins). The first
75-
* and last bins thus cover only half a bin width each.
75+
* and last bins thus cover only half a bin width each. Quirks kept for parity
76+
* with the plugin: the bin centers include both ends of the analyzed range,
77+
* and the Blackman window has a constant third term (the plugin omits the
78+
* position from its cosine).
7679
* </p>
7780
* <p>
7881
* Note: this is unrelated to the Tamura texture feature

0 commit comments

Comments
 (0)