Skip to content

Error due to NaN matrix during non-stable registration #66

@yrleftbrain

Description

@yrleftbrain

Hi,
I'm getting the following error on a few files:

Error using imregionalmax
Expected input number 1, I, to be non-NaN.
Error in imregionalmax (line 67)
validateattributes(varargin{1}, {'numeric','logical'}, {'real','nonsparse','nonnan'},...

This occurs during motion correction, specifically during non-stable registration. I can't find the issue, and I was wondering if you had some insight that may help. The matrix is of NaNs, and I'm not sure how this is being created. Thanks so much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions