From: Erdem on 30 Jun 2008 03:10 Hello all, I would like to mention my solution to create IR scenes in Simulink environment. They are not real IR scenes, but it looks like. Maybe someone use it in one day. Virtual Reality creates RGB scenes, I converted this video to "double" using "Image Data Type Conversion" block. Then I used RGB to HSV converter block, and then I wrote a matlab embedded function which takes saturation (S) channel and invert it(y = (1-u(:,:,2));%u is input,y is output ), then I converted this information to uint8 using "Image Data Type Conversion" block again. Now you have a video which looks like IR-thermal. Best regards, Erdem
|
Pages: 1 Prev: FTDI and matlab Next: Problems using embedded matlab function |