Opened 13 years ago

Closed 13 years ago

#116 closed defect (fixed)

spectral smoothing on a single channel breaks stats calculation

Reported by: MatthewWhiting Owned by: MatthewWhiting
Priority: normal Milestone:
Component: Smoothing Version: 1.1.11
Severity: normal Keywords:
Cc:

Description

I was running a test on a cube, just looking at a single channel, but I still had the spectral smoothing option set. The stats are measured from the smoothed array, but this is blank, so *all* the stats came out to be zero.

Solution - if the image is 2D and spectral smoothing is selected, turn off the smooth flag (and delete the recon array, as this will have been allocated).

Change History (2)

comment:1 Changed 13 years ago by MatthewWhiting

Status: newassigned

Better - we should know at initialisation whether the image is 2D, so can incorporate that as part of the check as to whether the recon array should be allocated.

comment:2 Changed 13 years ago by MatthewWhiting

Resolution: fixed
Status: assignedclosed

Done as per second comment, and committed [817].

Closing ticket.

Note: See TracTickets for help on using tickets.