This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the user guide for the big picture.
Threshold the given input image, mostly statistical or atlas images.
Thresholding can be done based on direct image intensities or selection threshold with given percentile.
New in version 0.2.
img: a 3D/4D Niimg-like object
threshold: float or str
mask_img: Niimg-like object, default None, optional