3dct / open_iA

A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
GNU General Public License v3.0
40 stars 16 forks source link

Prevent creating transfer function points beyond value range of image #57

Closed codeling closed 3 years ago

codeling commented 4 years ago

For a discrete type image, start and end point of the transfer function are shown directly at the minimum/maximum label tick, which is shown the middle of the respective bar. This means that there is chart space to the left and right which is "outside" the min/max range. Clicking there still results in creating a new transfer function point (and pressing Cancel in the color selection dialog, typically leading to the point not being inserted, still will result in the new point remaining).

Expected behavior: Creating points outside of the image's value range should not be possible.

codeling commented 3 years ago

Fixed by 2eb58f71b3b1e1cb362e046127854a669a968971

But when loading TF still checks are missing, see https://github.com/3dct/open_iA/issues/59