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

How to modify the configuration file? #18

Open
yubo105139 opened this issue Oct 12, 2022 · 1 comment
Open

How to modify the configuration file? #18

yubo105139 opened this issue Oct 12, 2022 · 1 comment

Comments

@yubo105139
Copy link

Please tell me how to modify the parameters if it is 12-bit raw data

@Kuo-TingKai
Copy link

I encountered RuntimeWarning when loading RAW image in dpc.py:

overflow encountered in ushort_scalars if (abs(p1 - p0) > self.thres) and (abs(p2 - p0) > self.thres) and (abs(p3 - p0) > self.thres)
overflow encountered in ushort_scalars and (abs(p4 - p0) > self.thres) and (abs(p5 - p0) > self.thres) and (abs(p6 - p0) > self.thres)
overflow encountered in ushort_scalars and (abs(p7 - p0) > self.thres) and (abs(p8 - p0) > self.thres):

It seems like you need to adjust self.thres to larger value when you use larger bit depth.
I'll check it out.

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

No branches or pull requests

2 participants