Homec4science

Coloc 2: don't scale histogram intensities up if maximum < bins

Authored by Tom Kazimiers <tom@voodoo-arts.net> on Jun 22 2012, 14:23.

Description

Coloc 2: don't scale histogram intensities up if maximum < bins

The 2D histogram's abscissa shows the intensity values of channel
one and the ordinate the one of channel two. If the maximum
intensity is higher than the available number of bins in X and Y,
respectively, the calculated coodinates get scaled down so that
the maximum intensities are on the last bin available.

Up to now this also happened when the maximum intensity is lower
than the number of bins. Of course, the coodinates need up-scaling
in such a case. However, simple upscaling brings in artifacts of
empty bins. To get around this, the plugin now doesn't do up-scaling
anymore. The resulting histogram fills therefore only a part of
the image space, but doesn't show artifacts anymore.

Details

Committed
Tom Kazimiers <tom@voodoo-arts.net>Jun 26 2012, 17:05
Pushed
oburriMar 8 2018, 18:06
Parents
R6269:c012a17a59db: Coloc 2: reuse single array pixel look-ups during histogram creation
Branches
Unknown
Tags
Unknown

Event Timeline

Tom Kazimiers <tom@voodoo-arts.net> committed R6269:32f523e08cb6: Coloc 2: don't scale histogram intensities up if maximum < bins (authored by Tom Kazimiers <tom@voodoo-arts.net>).Jun 26 2012, 17:05