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.

DLPLCR4500EVM: question about video mode and c++ code

Part Number: DLPLCR4500EVM
Other Parts Discussed in Thread: DLPC350, DLPDLCR4710EVM-G2

Hello,

I bought LightCrafter 4500 to project a video taken by a webcam with a customized LabVIEW code.

I am currently trying to convert given codes(LightCrafter4500_GUI_Source_Code_v3.0.1) to DLL with small knowledge of C & C++.

Anyway in my project, I thought the video mode is better and tried to read the manuals: dlpu010f, dlpu011e.

But I cannot get the point that

1) basic-level procedure in video mode

Let me explain the process that I understood so far.

1. send the video from webcam to DLP chipset via DVI.(Or virtually by LabVIEW if possible)

* webcam is triggered by the DLPC350 firmware, vice versa.

2. after cropping and correcting images, start the projection in, for example 1280X800 resolution.

Did I correctly understand the procedure? Is there any missing point or important point?

2) sample C code for video mode 

In the manual, it says that;

" To improve image quality in the video frames, these bit-planes, time slots, and color frames are intertwined and interleaved by the DLPC350. Note this functionality is performed automatically in video mode and not adjustable by the user "

After reading this comment, I was worried that I mignt not able to access some functions in video mode. And I could not find those sample codes for image processing, formatting and front end processing in GUI source code v3.0.1.. Is there any sample code to control the video mode?

Sorry for my low English level :(

  • User,

    Thanks for your question and welcome to the DLP Forums! I don't exactly understand what you are asking about, so I'll do my best:

    For your first point, regarding video mode, I would just say that resolution is important. If you want to use video data in a pattern sequence mode, then the input resolution needs to 912x1140.

    For your second point, I don't understand what type of control over video mode you're looking for. Can you clarify further?

    It would be helpful if you could tell me what your application is and how you intend to use the Lightcrafter. I would also advise that you become familiar with using the GUI before writing any custom code so that you understand how the basic operation of the unit works.

    Sincerely,
    -Paul
  • Thanks for your kind reply, Paul.

    What I am trying to do is in the picture below.

    1. Acquire an image per, for example,  1/30 second(30fps)  by webcam.

    2. Convert the image to 24bit-rgb-scale image.

    3. Send the 24bit rgb image to the buffer and starts the projection.

    4. By repeating these process,real-time(30fps) video is projected by DMD.

    ---------------------------------------------------------------------------------------------------------

    I found the source code written in C++ for LCr4500(LightCrafter4500_GUI_Source_Code_v3.0.1) and planned to use these codes in LabVIEW by converting them(cpp and hpp files) to DLL files.

    I am currently trying to make DLL file of dlpc350_usb.cpp, which will be called in LabVIEW, in order to check whether the computer and the lightcrafter is connected.

    My question is about the next process; after checking the connection, how can I make the DLP project 24 bit  image in 30fps? And I thought the answer is related to 'video mode'.

    Based on the picture in the manual (If it is not allowed to upload the picture in the manual, please tell me.)

    the video mode implements more image processing functions such as gamma correction and chroma interpolation(Actually I do not know these) than the pattern display mode.

    I think those image processing techniques are mandatory to get natural images and for my project. So I tried to find if there are the functions for video mode in the given source code(LightCrafter4500_GUI_Source_Code_v3.0.1), but I could not.

    Is there any sample code related to the video mode(front end processing, image processing, etc.)?

  • The Lightcrafter 4500 with auto lock onto any video source coming in from HDMI and play it in 24b mode. You can test this by hooking it up to a computer or laptop.

    There is no sample code related to video mode as you've described it for the Lightcrafter 4500. We designed the LightCrafter 4500 for industrial applications which make use of patterns and the focus was not on video project like you're interested in. With this device, we do not offer adjustment of any of the video parameters (gamma, chroma, etc.).

    You may want to look at the DLPDLCR3010EVM or the DLPDLCR4710EVM-G2, which are more strictly video focused.

    -Paul

  • Okay, thanks.

    But since I do not have enough time and money, I will try with pattern display mode and functions related to the image processing in LabVIEW.

    I want to ask you that is there any additional functions used in video mode, which is not shown in the figure above?
    If there is any guideline or explanation about the detail of video mode, please let me know.
  • You can find all the details about what can be controlled over USB and I2C in the DLPC350 programmer's guide. This includes video settings and pattern sequence modes.

    www.ti.com/.../dlpu010f.pdf

    -Paul
  • Okay, I will check the guide in detail. Thank you so much!!