A hyperspectral imaging device (200, 300, 400, 500) comprising an input for receiving a light field from a scene, an encoder, at least one dispersive element (110, 112), at least one array detector (114, 116) and a processor, wherein: the encoder is arranged to receive at least a portion of the light field from the input and transform it to provide a first and second encoded light field (120, 122) having different binary spatial patterns; at least one dispersive element (110, 112) is arranged to apply spectral shear to the first and second encoded light fields (120, 122) respectively to provide first and second sheared light fields (124, 126); at least one array detector (114, 116) is arranged to detect the first and second sheared light fields (124, 126); and the processor is arranged to process an output from the at least one array detector (114, 116) to determine a datacube corresponding to a hyperspectral image of the scene; and the at least one dispersive element comprises a first dispersive element configured to apply a first spectral shear to the first encoded light field, and a second dispersive element configured to apply a second spectral shear to the second encoded light field, the at least one array detector comprises a first and second array detector, respectively arranged to detect the first and second sheared light fields (124, 126); characterized in that the hyperspectral imaging device further comprising a third array detector, arranged to receive an unsheared portion of the light field; and wherein the processor is further arranged to process an output from the third detector jointly with the outputs from the first and second detectors (114, 116) to determine the datacube. the encoder is arranged to receive at least a portion of the light field from the input and transform it to provide a first and second encoded light field (120, 122) having different binary spatial patterns; at least one dispersive element (110, 112) is arranged to apply spectral shear to the first and second encoded light fields (120, 122) respectively to provide first and second sheared light fields (124, 126); at least one array detector (114, 116) is arranged to detect the first and second sheared light fields (124, 126); and the processor is arranged to process an output from the at least one array detector (114, 116) to determine a datacube corresponding to a hyperspectral image of the scene; and the at least one dispersive element comprises a first dispersive element configured to apply a first spectral shear to the first encoded light field, and a second dispersive element configured to apply a second spectral shear to the second encoded light field, the at least one array detector comprises a first and second array detector, respectively arranged to detect the first and second sheared light fields (124, 126); characterized in that the hyperspectral imaging device further comprising a third array detector, arranged to receive an unsheared portion of the light field; and wherein the processor is further arranged to process an output from the third detector jointly with the outputs from the first and second detectors (114, 116) to determine the datacube.