Comments (15)
Hey @frauzufall ,
I ❤️ your initiative! There are indeed some things I've never managed in ImageJ2 and would love to learn how to do them. I link some half-backed solutions for these questions and some solutions only in ImageJ1:
- How to measure resulting in a table (related)?
- How to deal with image calibration / pixel size in space and time?
- How to visualize a spot detection result?
- How to save an animated GIF?
- How analyse an MRI-data set of a banana slice by slice 😉
- How to react on user clicks in an image window?
- How to sychronize BigDataViewer windows/panels so that their planes are always perpendicular?
Thanks again for your efforts! If you point me to better solutions answering my questions, I'm happy to help to write the HowTo-code 🎄
Cheers,
Robert
from tutorials.
@haesleinhuepf cool! I added a readme and template to #79. Let me know if it's useful or needs improvement!
from tutorials.
Hi Robert, thanks for the questions and links, I'll look into it! Btw, here is a PR with some improvements from the discussion in the last PR #79
Another quite straightforward thing to do would be to translate these IJ2 script templates into Java.. And sort them into the HowTos.. And vice versa. (Though I would prefer groovy) Then the HowTos would also be available from the script editor directly as templates. And if @ctrueden or someone else finds a way to do the translation automatically at some point, even better!
from tutorials.
Hey @frauzufall
Great! I'm happy to take the translation of the scripts over. For 11 files I would not invent an automatic translation algorithm ;-)
Is there a HOWTO-template and short description available of what a HOWTO-writer should take into account?
Thanks!
🐰
from tutorials.
Hey @frauzufall,
while translating the script templates, some additional questions came up:
- How to open confocal series zip
- How to iterate a HyperSphere in Java - I only know the cursor way.
I may add some more while translating ;-)
from tutorials.
How to carry out pixel level mathematical operations like I can in Matlab? Full access to indices, values, logical operations etc.
from tutorials.
@haesleinhuepf wrote:
How to iterate a HyperSphere in Java
HyperSphere<T>
implements Iterable<T>
, so it should work exactly as in the Jython example, no?
from tutorials.
it should work exactly as in the Jython example, no?
I couldn't find out how. My IntelliJ gives a bit a weird error message
from tutorials.
In this ImgLib2 example it seems to work.
from tutorials.
I think the problem is, neither IntelliJ nor the code writer can know what U is. A problem introduced by Java generics....
from tutorials.
neither IntelliJ nor the code writer can know what U is.
That's why you have to put U extends RealType< U >
in the class/method signature, as shown in the example as well. I'd be very surprised if IntelliJ couldn't handle generics well. I'd recommend using Eclipse then ;-)
from tutorials.
That's why you have to put
U extends RealType< U >
But it's DoubleType
and not RealType<U>
, look here:
https://github.com/imagej/tutorials/blob/adding_scripting_templates/howtos/src/main/java/howto/processing/CreateAndConvolvePoints.java#L60
from tutorials.
I added a point by editing the
from tutorials.
I merged #79, in case that affects the checklist here at all.
from tutorials.
Thanks @ctrueden!
@haesleinhuepf, do you plan to continue with the scripts or should I continue from you branch https://github.com/imagej/tutorials/commits/adding_scripting_templates? Should we go over it together at some point?
from tutorials.
Related Issues (20)
- Fix ExecuteCommands to work with fake format changes HOT 7
- some error massage
- Invalid service: net.imagej.legacy.LegacyService HOT 1
- Python kernel error (in Binder): PYJNIUS_JAR environment variable not defined. HOT 10
- Link to more awesome data science tutorials HOT 1
- Create tutorial about imglib2-roi and how to work with labelings HOT 2
- Useful Writing Plugin Setup Video HOT 2
- DynamicCommand: combobox in the example never gets updated HOT 2
- Include Maven installation of ImageJ and Fiji artifacts in postBuild for binder HOT 6
- Problems with %classpath HOT 3
- Consider using Jupytext for version control of Jupyter notebooks HOT 1
- A connection to the notebook server could not be established.
- "ImageJ with Python Kernel" section 6.2 doesn't work HOT 2
- Move working-with-modules to howtos
- Address dependency skew in BeakerX notebooks
- Resolve BeakerX component version skew (kotlin, okio, maybe more)
- Tab completion isn't working in the Jupyter Notebooks
- Add -Djava.net.useSystemProxies=true tip to sections about proxy configuration
- Update to the latest version of ImageJ2
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 tutorials.