GithubHelp home page GithubHelp logo

perklab / spectroscopy_trackedtissuesensing Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 109.14 MB

Codebase for the project titled "Development of a research testbed for intraoperative optical spectroscopy tumour margin assessment" conducted by David Morton 2021-2023.

Jupyter Notebook 97.79% Python 2.18% CMake 0.03%

spectroscopy_trackedtissuesensing's People

Contributors

16djm10 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

spectroscopy_trackedtissuesensing's Issues

Implement data collection mode

TODO
[] Adjust the sampling rate of the spectroscope (This is not currently working in PLUS file for some reason)
[-] Add a counter to consecutively label files

DONE SINCE LAST MEETING
[-] Use seqBrowser to create a sequence of image_image node over a set interval ex 1 second
[-] Get the data collection mode to a functional state. Combining
[-] Change the drop-downs to sliders
[-] General Bug fixes
[-] Add a continuous collection option

DONE
[-] Create the UI
[-] Link the UI to the widget and logic class
[-] Create a seqBrowser
[-] Save the created sequence as a .csv file

Setting up control point interactions

  • Drop Fiducials/ control points at a specified location
  • Change colour of dropped fiducial depending on the classification output
  • Transform control points to new coordinate systems
  • Drop Control points on tip of probe in the world reference frame

Add the characteristic curve of the lightsource to my preprocessing

[x] Divide my spectra by the characterisitic curve of the light source
[x] Alter my useable wavelength to where the signal to noise ratio is acceptable. The signal explodes for areas where low light is coming from the source
[ ] Add the functionality to the process library
[ ] Apply this to the visualized spectra in 3D slicer

Modularize my algorithm

Separate my 881 pipeline into formating, preprocessing, training, testing, and associated functions scripts

EM tracking setup

  • Setup the EM tracking system to work in my module
  • Get the live transform and place points at the tip
  • synchronize a needle model with my probe

Tamas: Improving coding practices

There are a variety of best practices which Tamas is teaching me.

  • Don't use self.variable to store data as this is disconnected from the scene
  • Using VTKObservationMixin

Standard Operating Protocol

[-] Write the SOP
[-] Run through a trial of the SOP with Amoon

[ ] Module: Implement the changes he laid out in our meeting
[ ] SOP: Write a new draft of the SOP and send it to him for review

[ ] Make it so the save button disables while data is being saved before re-enabling

Go through my code. Use parameter node instead of getting nodes from the scene

Instead of checking if a node type exists, check if the node ROLE is present in the parameter node. If it is not then save an empty node of that type to the parameter node

[ ] On line 125 in onConnectButton Clicked:
I should instead check if ROLE: connector is saved to the parameter node. If there is nothing with that role then I know to create one and save the ID to the parameter node.

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.