Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OpenCV Use case #142

Merged
merged 7 commits into from
Apr 8, 2024
Merged

Add OpenCV Use case #142

merged 7 commits into from
Apr 8, 2024

Conversation

hinerm
Copy link
Member

@hinerm hinerm commented Apr 1, 2024

No description provided.

@hinerm
Copy link
Member Author

hinerm commented Apr 1, 2024

@elevans what do you think of this example?

@elevans
Copy link
Member

elevans commented Apr 1, 2024

@hinerm I pulled the opencv-use branch and tried your example de-noise script, but it doesn't work. My output image looks the same as my input image (sample_16bit_T24.png) regardless of whatever setting I specify. Is there something more that I need to do to make this work?

edit: Just updating this for the record. This use case works when using Fiji with jaunch!

hinerm added 2 commits April 3, 2024 20:38
Because our op.yaml exposes methods from imagej-opencv it is not just
test scope.
Copy link
Member

@elevans elevans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great example @hinerm! I it just needs some clarification on what the parameters do. It's too bad that for now this is limited to uint8 outputs.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think this file should live on media.imagej.net and when its ready media.scijava.org instead of the repo proper.

hinerm and others added 3 commits April 5, 2024 10:53
Instead of always opening a result, only do so if the ops denoise call
was actually successful.
This commit also simplifies the Groovy script.
elevans added 2 commits April 5, 2024 16:09
This commit adds more details about the denoise
operation and describes what each of the parameters do.
Additional this commit adds an image of the expected output
with the recommended starting values.
@elevans elevans merged commit 6f99a25 into main Apr 8, 2024
2 checks passed
@hinerm hinerm deleted the opencv-use branch April 8, 2024 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants