Skip to content

Allow plotting histogram based on lasso or polygon regions #180

Open

Description

@leewujung

Currently the histograms are plotted using echogram content enclosed in a rectangular box.

We would like to have the functionality to plot histogram from a region with arbitrary shape selected via either lasso or polygon tools.

Activity

  1. Galaxy3696 commented on Feb 10, 2025

    @Galaxy3696
    Contributor

    Manually selecting a part of the echogram and dynamically plotting a histogram based on the selected data is straightforward; we don’t need to modify the existing code, as shown in the image below.

    Image If we want to make a more precise selection,I think providing a time selector may be a good idea.
  2. leewujung commented on Feb 10, 2025

    @leewujung
    MemberAuthor

    @Galaxy3696 I think you may have misunderstood what the issue is describing. Please read again and let me know if you have questions. @sashalai64 maybe you could discuss together?

  3. sashalai64 commented on Feb 10, 2025

    @sashalai64

    Sure, we can discuss together.

  4. ldr426 commented on Feb 11, 2025

    @ldr426
    Collaborator

    @Galaxy3696 @sashalai64 If anyone is interested in implementing this, you may try to do some research on the lasso select in holoviews . The key is how to get the vertices of the selected polygon then get the echo data based off these vertices

    Image

  5. leewujung commented on Jun 14, 2025

    @leewujung
    MemberAuthor

    Since the discussions here have diverged from the original intention, I've copied the original title and description to a new issue #195, and changed the current title and description to better fit the discussions in this thread.

  6. changed the title [-]Add region browser functionality[/-] [+]Allow plotting histogram based on lasso or polygon regions[/+] on Jun 14, 2025
  7. added and removed on Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions