Uploaded image for project: 'The Virtual Brain'
  1. The Virtual Brain
  2. TVB-1251

Add checkbox for centring Surface at import-time

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.4
    • Component/s: None
    • Labels:
      None

      Description

      • On the Surface Importer(s) expose a supplementary input parameter for the user, "centre the new surface"
      • it could come under the form of a checkbox (you should tell us what's the most expected default: TRUE or FALSE)

      A-Tim: I agree. I would say that the default is to have a centered surface, so if this average over three axes leave the MNI space centered as well, the TRUE should be default. Otherwise the FALSE should be default.

      • when the checkbox is TRUE, we could apply a translation on the imported surface and move the centre (0, 0, 0) in the "middle" of the surface
      • this middle of the surface could get computed with a simple average over the 3 axes
      • this alternative can scale, because later on, if wanted, we could transform the single checkbox into a list of centring options (with different mathematical formulas)

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              mihai.andrei Mihai Andrei
              Reporter:
              tim.proix Tim Proix
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 6 hours
                  6h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 30 minutes Time Not Required
                  2h 30m