Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-6929

Image Viewer: Support circular selection

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: SUIT
    • Labels:

      Description

      Support circular selection by choosing a point and dragging the mouse across the image. The callbacks and functions supported for rectangular selection should be also supported for circular selection.

      (Circular region selection is a part of Paul O'Connor's visualization wish list and is a long promised feature.)

       

      Copied from GitHub(XW 1/18/18)

      This development includes,

      • adding circular selection support for area selection.
      • change select area icon on the tool bar from on/off button to a on/off button with dropdown selection at off state. The dropdown list supports the selection for 'rectangular selection', 'elliptical section' (circular area).
      • add stats calculation for circular area selection on both rotated and non-rotated images.
      • fix stats calculation for rectangular area selection on rotated image case.
      • update 'select catalog' and 'filter catalog' functions for circular area selection.

      Test:

      • Do image selection:
        1. Click 'select area' icon (on 'off' state)  to get selection dropdown list,
        2. Select either 'rectangular selection' or 'elliptical selection' (this will move the 'select area' icon into 'on' state)  and draw a selected area by choosing a point over the image and dragging the mouse across the image.

                3. Click  'select  area' icon to move it back to 'off' state to remove the selected area.
                4. Select one of the extension buttons for 'crop', 'stats', 'zoom', or 'recenter' while either 'rectangular  selection' or 'elliptical selection' is selected.

      • Repeat the steps by rotating the image first.
      • Do catalog selection next:
        repeat the 'select area' steps done as image selection, and select one of the extension buttons for 'crop', 'stats', 'select mark data', 'filter', 'zoom' or 'recenter' while either 'rectangular selection' or 'elliptical selection' is selected.

        Attachments

          Issue Links

            Activity

            Hide
            cwang Cindy Wang [X] (Inactive) added a comment - - edited

            per discussion with Xiuqin Wu [X] regarding the support of circular selection at front-end UI and back-end sever,
            For UI,

            • change the icon at image tool bar from 'rectangle selection' to a dropdown containing 'rectangle selection' and 'elliptical selection' (for circular selection)
            • support circular selection by choosing a point and dragging the mouse across the image that forms a rectangle surrounding a circular selection (i.e. the ellipse
              inscribed in the rectangle).
            • the cutoff image for 'crop the image to selected area' and 'zoom to fit the selected area' is shown by the rectangular image surrounding the elliptical area marked with a elliptical drawing.

            For sever:

            • add function to compute statics for the selected elliptical area on either rotated or non-rotated images. 
            Show
            cwang Cindy Wang [X] (Inactive) added a comment - - edited per discussion with Xiuqin Wu [X] regarding the support of circular selection at front-end UI and back-end sever, For UI, change the icon at image tool bar from 'rectangle selection' to a dropdown containing 'rectangle selection' and 'elliptical selection' (for circular selection) support circular selection by choosing a point and dragging the mouse across the image that forms a rectangle surrounding a circular selection (i.e. the ellipse inscribed in the rectangle). the cutoff image for 'crop the image to selected area' and 'zoom to fit the selected area' is shown by the rectangular image surrounding the elliptical area marked with a elliptical drawing. For sever: add function to compute statics for the selected elliptical area on either rotated or non-rotated images. 

              People

              Assignee:
              cwang Cindy Wang [X] (Inactive)
              Reporter:
              tatianag Tatiana Goldina
              Reviewers:
              Tatiana Goldina, Trey Roby
              Watchers:
              Cindy Wang [X] (Inactive), Tatiana Goldina, Trey Roby
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.