Skip to content

Image size logic bug #3

Description

@lhilbert

In a code segment of the cluster analysis scripts, in a region looking approximately like below, the code should be changed to replace imgSize with a direct extraction of stack size. It is the first line here that needs adjustment.

NucMask = false(size(imgStack{S5P_SegChannel}));
NucMask(props.VoxelIdxList{nn}) = true;
NucMask_subImage = NucMask(...
                boxArray(2)+0.5:boxArray(2)+boxArray(5)-0.5,...
                boxArray(1)+0.5:boxArray(1)+boxArray(4)-0.5,...
                boxArray(3)+0.5:boxArray(3)+boxArray(6)-0.5);

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