Comments (2)
Yes, it should be possible. In flika/roi.py, the ROI_line
class has all the kymograph
related functions. It should be pretty straightforward to copy those functions to the ROI_rectangle
class located in the same file. The code that would need to be changed in the transfer is the averaging, and the ability to select whether the kymograph is an x_kymograph
and y_kymograph
.
A more elegant solution might be to have a setting when creating the kymograph from the ROI_line
that specifies the width to average, with the default being 1 pixel. This could be a dialog box that pops up after you make the selection for 'Kymograph', or it could be a setting of the line itself, set by right clicking the line icon in the main window. If it's a dialog box it won't be hidden from the user, but it might get annoying to select the width every time.
I probably won't implement this, but if you want to discuss it and submit a pull request I'd be happy to include it.
from flika.
Thanks for the suggestions and ideas to implement this. It's taking time for me to get used to the PyQt syntaxes. but I like the second option where you could simply change the thickness. it can also allow to use any orientation. I will try to implement it and send a pull request.
from flika.
Related Issues (20)
- Kymograph update function fails on out of bounds HOT 1
- PolyLine selector fails on remove link HOT 1
- Permission error saving plugins HOT 3
- Pip installed Flika does not support drop events HOT 5
- issues with rect_line HOT 3
- tests fail with new tifffile HOT 1
- BaseProcess preview and Window switch
- Add a 'subtract black level' feature to the ratio by baseline.
- Error exporting to external hard drive
- Silent plugin errors
- viewing n-dimensional array HOT 1
- pyside?? pyside2?? impossible situation? HOT 7
- Cannot open flika on macOS Catalina HOT 4
- Plugin Manager HOT 2
- Butterworth filter HOT 4
- ImportError: DLL load failed while importing _rolling_ball_cy: The specified module could not be found. HOT 4
- Error when starting FLIKA - Assertion Error HOT 5
- Unable to install plugins in clean install HOT 3
- Problem with the functions (eg. Subtract/ Ratio) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flika.