Comments (4)
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
from ctl.
@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.
from ctl.
thanks for the response @gregcotten, I will close the issue
from ctl.
I happened to be doing some work with scatteredDataToGrid3D()
this week and encountered the same issue originally reported by @gregcotten years ago Assertion failed: (sigma > .0f), function kernel, file /lib/IlmCtlMath/CtlRbfInterpolator.cpp, line 77.
It seems that the assert()
does not cause failure in Windows with Release mode, but does cause failure when using the simple cmake ..
command under Ubuntu. If I configure cmake to create a Release build in Ubuntu by using cmake .. -D CMAKE_BUILD_TYPE=Release
then I don't get the failure under Ubuntu. But, there could be some other issue like divide-by-zero or something that the assert was trying to prevent. I will reopen this issue and investigate further.
from ctl.
Related Issues (20)
- Not having a main() function causes a crash on Windows HOT 1
- ctlrender tests not working on Windows HOT 3
- CTL cmake does not find required dependencies when using apt-get install libilmbase-dev libopenexr-dev HOT 1
- EXR output resolutions are incorrect
- ctl_render dpx_read() should give error message when trying to open invalid filename
- install locations of a few files could be improved HOT 2
- Refactor exr_write() into a single function
- typo in include guard in dpx_raw.hh
- missing unit tests for code in directory /CTL/OpenEXR_CTL/exr_ctl_exr/ HOT 2
- missing unit tests for code in directory /CTL/OpenEXR_CTL/exrdpx/
- typo in \CTL\doc\CtlManual.pdf section 2.4 Arrays, Static Data and Lookup Tables
- typo in dpxToExr.cpp and exrToDpx.cpp
- Tiff read error when reading EXR file HOT 25
- LeakSanitizer: detected memory leaks when using -float argument with exr_ctl_exr HOT 2
- deprecation warning: 'uint32' is deprecated HOT 1
- 5 compile warnings on MacOs
- "Bad magic number" error on known valid OpenEXR files HOT 7
- New CTL programs HOT 6
- Build fails with strict-aliasing violations HOT 5
- Segmentation fault can result in ctlrender when the number of instructions gets too large
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 ctl.