Giter VIP home page Giter VIP logo

Comments (6)

twongjirad avatar twongjirad commented on July 29, 2024

Currently can draw vertex. Need to decide how to save that information into an ROI.

from larcv.

twongjirad avatar twongjirad commented on July 29, 2024

Looks like @drinkingkazu has written storage class for 2D vertex: a22f14b. going to merge master with tmw_roi_feature and then utilize object to store hand-scanned vertex.

from larcv.

twongjirad avatar twongjirad commented on July 29, 2024

Lauren found a bug. Occurs when loading ROIs from file.

Traceback (most recent call last):
  File "/Users/twongjirad/working/larbys/LArCV/mac/pyrgb/display/rgbdisplay.py", line 524, in plotData
    self.roitool_layout.reloadROI()
  File "/Users/twongjirad/working/larbys/LArCV/mac/pyrgb/display/roilayout.py", line 358, in reloadROI
    if not self.roisg.fix_vertex_to_bb:
AttributeError: 'ROIToolLayout' object has no attribute 'roisg'

from larcv.

drinkingkazu avatar drinkingkazu commented on July 29, 2024

@twongjirad a clarification on 2D stuff in 2 categories:

Simple product for pixel location info
Pixel2D ... just pixel coordinate
Pixel2DCluster ... a set of such poop

Sophisticated product for geometrical calculation (algorithm to be ported from another geometrical computation package)
Vector2D ... double precision coordinate
LineSegment2D ... two Vector2D to define a finite line segment
AABox2D ... two Vector2D to define axis-aligned box

I think anything a user will do from GUI has no better precision than a pixel point, so Pixel2D should be enough.
If we want to store a value associated with each Pixel2D we can define something else (like Hit2D maybe... as something carrying time, wire, and value).

from larcv.

twongjirad avatar twongjirad commented on July 29, 2024

I finished the save feature here. Will check into tmw_roi_feature soon.

from larcv.

twongjirad avatar twongjirad commented on July 29, 2024

finished: d839117

from larcv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.