-
Notifications
You must be signed in to change notification settings - Fork 77
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
Maximum data size for scatteredDataToGrid3D(...)? #56
Comments
I tried to replicate the error you've reported using the CTL code you've pasted into this issue processed by ctlrender (using this file issue_56.ctl.rename.txt that you can rename from *.rename.txt to *.ctl) , but I do not get the error you've reported and the output image file appears to be valid. I noticed that the pairs of input/output 3D coordinates in your large data[][2][3] array appear to have matching values for the input and output values. Is that intentional? I suppose it might be a good test that could be used to confirm the function scatteredDataToGrid3D () returns an identity 3D LUT that doesn't modify the image data when the input and output data value match. The only other effect of such a identity LUT processing should be limiting the processed input data to the range specified by minLUT3D and maxLUT3D, since values outside that range are not defined by the 3D LUT |
@michaeldsmith I have slept 2,931 days since I created this issue and I haven't the foggiest what I was on about. Happy to see this one closed - I no longer use ctlrender anyway. |
thanks for the response @gregcotten, I will close the issue |
I happened to be doing some work with It seems that the |
Is there a maximum size for the data set in scatteredDataToGrid? Using ctlrender I run into trouble with the CTL below but when I truncate most of the data it works fine.
The error I get with the large data set:
Assertion failed: (sigma > .0f), function kernel, file /tmp/ctl-sQsqh1/CTL-ctl-1.5.2/lib/IlmCtlMath/CtlRbfInterpolator.cpp, line 77.
The text was updated successfully, but these errors were encountered: