ksmet1977/luxpy

Rendering Error in hyper-spectral images Module

michaelweinold opened this issue · 2 comments

I am unable to reproduce the rendered image from the example given in section 4.4 of the documentation article, using the same sample image.

The example code I ran:

import luxpy
from luxpy import hypspcim
import luxpy.toolboxes.spdbuild as spb 

S = spb.spd_builder(peakwl = [450,530,610],
                  fwhm = [10,10,10],
                  target = 4000,
                  tar_type = 'cct')

img_hyp = hypspcim.render_image(img = 'testimage1.jpg',
                                cspace = 'ipt',
                                spd = S,
                                D = 1,
                                show = True,
                                stack_test_ref = 21)

gives me this image.

Excellent, I'll try it again with the new version. Thank you!