Giter Club home page Giter Club logo

Comments (4)

michaeldsmith avatar michaeldsmith commented on July 2, 2024

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.

gregcotten avatar gregcotten commented on July 2, 2024

@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.

michaeldsmith avatar michaeldsmith commented on July 2, 2024

thanks for the response @gregcotten, I will close the issue

from ctl.

michaeldsmith avatar michaeldsmith commented on July 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.