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

Boson: Disable all Non-Uniformity Correction #46

Open
vishwa91 opened this issue Mar 6, 2021 · 10 comments
Open

Boson: Disable all Non-Uniformity Correction #46

vishwa91 opened this issue Mar 6, 2021 · 10 comments
Labels
enhancement New feature or request

Comments

@vishwa91
Copy link

vishwa91 commented Mar 6, 2021

First, thanks a ton for the wonderful codebase -- made my life so much easier.

I wanted to know if it is possible to disable all corrections on the Boson 640 camera? I want to get raw data for performing custom NUC and hence the question.

Thank you.

@jveitchmichaelis
Copy link
Contributor

Hiya, this is probably possible. You'd likely need multiple commands because there are several stages of correction that the camera performs by default (and I'm not sure which you'd want to turn off for your application). It's a matter of implementing the commands defined in the Boson Software idd, but that's fairly easy if you know which. We'd need to add the relevant commands to the Boson class - ultimately it'd be good to implement the entire camera interface at some point...

@vishwa91
Copy link
Author

vishwa91 commented Mar 6, 2021

I agree with the multi-step command, as the GUI requires switching off several options. I will look into the Boson commands reference and try them to this codebase. Thanks!

@jveitchmichaelis
Copy link
Contributor

Yes, each command should be a separate API call. If you get them working, please consider submitting a pull request (ideally also with a test case for each command- so you should write a set/getfunction for each). Otherwise if you have any questions about implementation, feel free to ask.

@vishwa91
Copy link
Author

vishwa91 commented Mar 6, 2021

I will follow the same template as the code base, and add test functions. Once I test on the Boson camera I have, I will submit a pull request. Thanks for the support!

@jveitchmichaelis jveitchmichaelis added the enhancement New feature or request label Feb 8, 2022
@nrwiederhold
Copy link

What is the status of this issue? Do these options exist in the code base now?

@jveitchmichaelis
Copy link
Contributor

jveitchmichaelis commented Jul 6, 2022

No PR was submitted, but you're welcome to add it - it should be quite easy to do, but I don't have access to a Boson at the moment. If you can tell me which things you want to disable, I can just implement the commands from the datasheet and you can let me know if it works.

@socome
Copy link

socome commented Jan 4, 2023

@jveitchmichaelis Could you teach me how to turn off the NUC on boson camera .? I will try and PR about that. I want to turn off the NUC because of image block when NUC is running. In other words, I want to get raw image without the pause caused by NUC.

@jveitchmichaelis
Copy link
Contributor

jveitchmichaelis commented Jan 4, 2023

Do you mean flat fielding? This causes a slight pause when the camera takes a calibration image. This is different to NUC.

Try the set_ffc_manual command - that will disable the pause but you'll get noisy images over time unless you keep the camera at a fixed temp.

@socome
Copy link

socome commented Jan 4, 2023

@jveitchmichaelis Oh .. When i read this post, i think NUC is main reason of thermal image sometimes freezes and the camera makes a clicking noise. However, do you mean this problem caused by FFC..? I will try to use the "set_ffc_manual" function. Thank you!

@jveitchmichaelis
Copy link
Contributor

Ah I think they use it interchangeably. From the article:

It is also referred to as an FFC (flat field correction

Usually I’ve seen NUC used to refer to the various other settings the camera uses to correct the image (see the beginning of this thread).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants