Page MenuHomePhabricator

ImageCropper does not set outside value correctly
Closed, InvalidPublic

Description

When cropping an image with a non-box bounding object (e.g. cylinder), the outside value is always set to 0 (which looks gray in images with signed voxels), instead of the value chosen in "Set border voxel value".

To replicate, load a a signed image (e.g. Pic3D), activate "Set border voxel value", choose a value different from 0, choose a bounding volume different from box, and crop.

Event Timeline

[3abd4a]: Merge branch 'bug-9076-ImageCropper-outside-value'

Merged commits:

2011-08-17 15:16:06 Thiago dos Santos [3cdcef]
Higher resolution for Cylinder display.


2011-08-15 16:39:02 Thiago dos Santos [4260cc]
Passing the outside value to the cropping filter, which sets it correctly.

Removed old methods that only works for boxes.

Opend again.
Funnily, now the behavior works for every form but Cuboid.
For cuboid it seems that pixels outside the border are completely missing "no image information at this position!". What is the use of the "Set border voxel value" checkbox then?

hentsch added subscribers: thomass, hentsch.

In the new image cropper from @thomass, only cuboids are allowed as geometric objects

kislinsk changed the task status from Invalid to Spite.Jun 27 2018, 1:32 PM
kislinsk added a project: Bulk Edit.
kislinsk changed the task status from Spite to Invalid.Jun 27 2018, 1:37 PM
kislinsk removed a project: Bulk Edit.