Syntax: deadpixelremoval(image, radius, magnitude)

Removes dead pixels from projection dataset.Determines whether dead pixel removal algorithm should be applied to the projection images. In the algorithm, each flat-field corrected projection $$I$$ is processed separately. Pixel at position $$x$$ is classified as dead if its value $$I(x)$$ is $$NaN$$ or it satisfies $$|I(x) - m(x)| > M * std(|I - m|)$$, where $$m$$ is a median filtering of $$I$$ with user-specified radius, $$M$$ is a magnitude parameter, and $$std$$ is standard deviation of whole image. If a pixel is dead, its value is replaced by $$m(x)$$, otherwise the value is left unchanged.

This command cannot be used in the distributed processing mode. If you need it, please contact the authors.

## Arguments¶

### image [input & output]¶

Data type: uint8 image, uint16 image, uint32 image, uint64 image, int8 image, int16 image, int32 image, int64 image, float32 image

Image to process.

Data type: positive integer

Default value: 1

Magnitude parameter $$M$$.