cquammen/Clarity — Issue #3: JVC giving NaN result in Matlab interface
Author: rcasero
Created: 2012-01-15 19:35:25+00:00
State: open

Hi Cory,

I hadn't noticed this, but it seems that even though the CUDA implementation now compiles and runs in Ubuntu with the Gerardus matlab interface, I'm getting as a result a volume of NaNs. For example running

>> im = deconvolve('jvc', single(nrrd.data), single(psf), 8);

uses Clarity_JansenVanCittertDeconvolve, and im is just an array of NaNs. It works fine with

>> im = deconvolve('ml', single(nrrd.data), single(psf), 8);

that uses Clarity_MaximumLikelihoodDeconvolve. If I'm not wrong, Clarity_MaximumLikelihoodDeconvolve doesn't have a CUDA implementation.

I was just wondering whether you have observed something similar running Clarity by itself. Maybe this is just a problem when mixing it up with Matlab.

Best regards,

Ramon.