NaN to 0

Convert NaN pixel values to 0 in 32bit images

editing

Description

A short example macro to convert pixel values with “NaN (Not a Number)” in 32bit-floating point images in stack to “0”.

Input: 32bit floating point image stack.

Output:

Dependency

ImageJ

Installation

https://github.com/miura/ijmacros/blob/master/Replace%20NaN%20in%2032bit%20image%20with%200_stack.ijm

Usages

Standard procedure to run the macro.

Repository

<https://github.com/miura/ijmacros