This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Switching LEDs during pattern sequence



We have an application where part of our pattern sequence uses the green LED for about 15 frames, and then we want to do a single R, G, and B frame to extract a color image of our object using a monochrome camera. We are triggering the DLP from the camera at a 90Hz frame rate, and we need the RGB sequence and the rest to run at that 90Hz speed, so manually changing the R,G,B global pattern setting is time prohibitive. I guess we are wondering why there isn't a per-pattern LED selection variable in this API in the first place? Obviously the hardware is capable of switching the LED drive on the fly as this is the basis of normal full-color operation of this DLP. It seems like adding this feature would open up a lot of possibilities for people, including full color pattern sequences where the R,G,B drive sequence is controlled by the user. Adding such functionality can easily be made backwards compatible by adding a pair of LCR_CMD_DefinePatternBMPEx and LCR_CMD_ReadPatternEx commands that take the LED color as an additional parameter. If a API user uses the LCR_CMD_DefinePatternBMP and LCR_CMD_ReadPattern commands instead, the LED color will default to the LCR_CMD_SetPatternSeqSetting LEDSelect value.

What do you think?

Colby

  • Hi Colby,

    Thank you for sharing your idea.  I will look into the feasibility of your request.  Can you share more about your end application?

    Is anyone else needing similar capablity?

    Eric

  • Hi Eric-

    The end application is 3D imaging for medical applications using structured light imaging (SLI). We will use monochrome (green) patterns for the SLI imaging but we also want to gather a color image of the surface using the same monochrome camera system. We can do this by using the LCR LEDs to project 3 bright field (all pixels on) R, G, and B images temporally close to the acquisition of the SLI data. The images need to be in rapid sequence so that there are not registration issues due to subject movement. We have other multispectral and color pattern encoding applications where we would like control of the pattern colors as well.

  • Hi Colby,

    Thank you for following up.  I'm posting information that we already discussed to close the loop with those who are following this thread. 

    The LEDs turn ON/OFF by LED_EN signals. These hardware signals are generated from a preset sequence database. The sequence contains the precise information, to the usec, for controlling the LEDs.  There is no configuration or control option available for enabling the LEDs on a per pattern bases in real time.  I discussed the option and scope to enable this functionality with the development team and determined it is a development project that we cannot work through at this time.

    Eric