Skip to content

Use sinogram weights to calculate sino_indicator #46

Description

@dyang37

Currently unweighted sinogram is used to calculate sino_indicator:

indicator = np.int8(sino > 0.05 * np.mean(np.fabs(sino)))

This would cause problem when "bad" values exist in sino (inf, nan etc.)
Usually such case is handled by setting the associated sino weights to be 0 for the "bad" sino values.
As a result we should also use weights when calculating the indicator in _sino_indicator function. Maybe a good start point is to try using the weighted sino.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions