Skip to content

Slice point number does not update properly when moving to next slice #62

@kouichi-c-nakamura

Description

@kouichi-c-nakamura

I noticed that when I'm using sliceBrowser and move to the next slice, and I add a few points in the new pair of slices, hitting h on Atlas Viewer results in a wrong number of slice points (points to be used to match histological slices and atlas slices). I receive an error message saying the number of points do not match between Slice Viewer and Atlas Viewer, although they clearly should.

eg. When I added 3 points each for the new slice on Slice Viewer and Atlas Viewer and had 16 points in the previous, I received this error message:

Unable to transform -- 19 slice points and 3 reference points

Apparently, AtlasTransformBrowser.m (around here) fails to update the number of points on the histological slice (ud_slice.pointList) and accumulate the points from the previous slice and ones added in the new slice, thus reporting too many slice points compared to reference points on atlas images.

I can manually delete the slice points by hitting d many times for the moment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions