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.

Compiler/DLP4500: DLP 4500

Part Number: DLP4500

Tool/software: TI C/C++ Compiler

Hello,

I am working on Dlp lightcrafter 4500 and point Grey camera for scanning application,I have my DLP SDK compiled in Visual Studio Successfully running but I am facing an issue in Horizontal scanning. I am able to do vertical scanning but when i try for horizontal the data is getting stored but i could not see the point cloud.I will attach a picture for your overview. Can any one guide me regarding the issue . I even faced the issue when i compiled it with Cmake and Mingw.

With Regards

Ramayampet Vinaykumar

  • Vinaykumar,

    Thanks for your interest in our DLP products.

    I will try to reproduce this issue on my end. In the meantime, have you tried recompiling this on a different system? If so, does the issue persist? Thanks.

    Best Regards,
    Philippe Dollo
  • Thanks Philippe Dollo , for your reply

    Yes,I have tried it in my laptop and also with my desktop. It shows the similar behavior.

    With Regards

    Ramayampet Vinaykumar

  • Hi,

    Since you mentioned you are able to perform vertical scan, i suspect your calibration and configuration settings. Which method you are using, binary or sinusoidal?

    Also look at the output directory scan_images folder, if the captures images are not good or dark, you will not be getting good point cloud data.

    Regards,
    Sanjeev

  • Hi,

    I am working on binary Method, I could not find any images in the output folder . I suspect this as a reason .What could be wrong any suggestions?

    Can you suggest me the better configurations settings of projector and camera for a proper scan and at which range the scanner would function?

    With Regards,
    Ramayampet Vinaykumar
  • Hi Vinay Kumar,

    What happens when you do Vertical scan? Are you seeing the scan images in the directory? Also when you do the Horizontal scan are you seeing the pattern display on the object?

    Regards,

    Sanjeev

  • Hi sanjeev,

    In vertical scan i can see the scan images in the output folder ,but in horizontal scan i don't see any scan images.In the point cloud viewer i can see only black window.

  • After the horizontal scan i have noticed that in  scan output folder . I could find the scan images only if i delete the previous images from the folder .But the strange thing is that all the images which i got during the horizontal scan are same.I have attached the image above .

  • Hi Vinay,
    Okay, if i understand correctly, after horizontal scan, you can see the images captured and stored in the folder?You also mentioned that all images looks same, does all image look dark? Can you attach images here, you can compress them to jpeg and attach them as zip folder.
    Another question, when you perform the Horizontal scan, does the projector display horizontal stripe patterns on the object?
    Regards,
    Sanjeev
  • scan_images.zipThanks sanjeev for your support,

    I have attached the zip file of the scan images output which i got during the horizontal scan.I can observe the horizontal stripes during the scan on the object.

  • Okay, i don't see the horizontal stripe patterns changing, but you mentioned visibly you can see the horizontal stripe patterns changing? Is it correct? Also could you upload the firmware image it created once you run the Step:2 Prepare DLP LightCrafter 4500 (once per projector)...
    Regards,
    Sanjeev
  • 5078.scan_images.zipI have changed the firmware, updated the latest "DLPR350PROM_v3.1.0.bin". Now i can see the stripes both on the object and in the scan images but the problem remains the same ,with the same settings i can get the vertical scan but not the horizontal scan . I am also attaching the firmware image .

  • I can see the zip folder has only the scan images, please attach the firmware image... what is the native resolution of your camera? is it 2048x2048? I can see from the capture image, when you scan try increasing the camera exposure a bit, captured images look too dark.
    Regards,
    Sanjeev
  • camera resolution is 2448x2048, if i increase the exposure i am facing problem with the calibration of system.If i could get a vertical scan with the same configuration why not the horizontal? is there an issue with projector ?

    Regarding the firmware image can you explain what actually do you need ? As you said after running the command 2 (Prepare DLP Lightcrafter(once per projector)) i got the image displayed on the board which i have attached for your view in the above message.
  • I agree that same exposure should work since Vertical scan is working, the image looked too dark hence i made that comment.
    When you run step-2: it will create a new firmware image, that contains patterns included in the file, please look into the directory where you provided the path for DLPR350PROM_v3.1.0.bin file, you will see another file created that is the one will be used to upload on the hardware, please attach that file.
  • Images.zip

    Meanwhile i would try to get better images with increased exposure, I have attached the new Firmware image which i got after running the step2.

  • Hi Vinay, 

    Firmware image I meant the binary file that will be uploaded, as i mentioned once you execute step 2. it will create a firmware file along with the bmp images, you can go to the folder path where you have provided the path for the v3.1 f/w file. You can see there another file created, and basically you can attach the file.

    Also in the algorithm_horizontal.txt file 

    you can change the value to 10 and redo the step2 and then perform the scan, basically this will display more number of patterns actually two more.

    Also you can attach the firmware file as per my instructions above.

    Regards,
    Sanjeev

  • Hello sanjeev,

    I have attached you the zip folder which contains the bin file along with .bmp files which were generated after the step 2 .

    I have tried second procedure changing the sequence count to 10,but i have not seen any improvement in the horizontal scan just the increase in scan images to 20 .I have also attached the prepared bin file in zip(bin-Sequencecount10.zip).

    Please try to figure out a solution ,Do you think Is there any problem with my projector ?bin-Sequencecount10.zip

    bin-bmp.zip

  • Thank you, I was looking for the same binary. I am still not convinced about the issue with the projector, it should be mostly do with configuration setup and calibration, when you performed the projector and camera calibration did you ensured the checkerboard capture is done in enough angles?
    Another thing, could you rebuild the DLP_LightCrafter_4500_3D_Scan_Application.cpp file with following lines added in the main function after //System Variables declaration.

    algo_gray_code_vert.SetDebugEnable(true);
    algo_gray_code_vert.SetDebugLevel(3);
    algo_gray_code_horz.SetDebugEnable(true);
    algo_gray_code_horz.SetDebugLevel(3);

    Please collect the log after running the scan, it will show more log messages if something is not correct.

    Regards,
    Sanjeev

  • Hello sanjeev,

    I would like to clarify few doubts before sending you the log file as you insisted me to check the calibration.

    I have sent you two pictures related to camera calibration and projector calibration configuration files,can you please clarify me regarding the things which i have marked in yellow. Should these values be maintained default values or should i change based on my calibration board dimensions.

    I am using calibration board with dimensions 10x13 with 20mm each square .

    Thanking you,

    With Regards,

    Ramayampet Vinaykumar

  • Hi Vinaykumar,

    The two pictures you attached in top first one is of Camera 

    here the the parameter DISTANCE_PIXELS is unit-less, you can put any other number it is should not matter only thing both row and column should be equal to show these are square pixels. You can try changing the offset_pixels but i don't think it is going to make any change.

    On the second picture which is of projector calibration I think settings are okay.

    Can you do one more experiment - rotate projector by 90-degree and do a scan. How both horizontal and vertical scan perform. Since you changed the orientation, you may want run calibration again.

    Regards,
    Sanjeev

  • Thank you sanjeev,

    I have tried rotating my projector even that did not work in getting the horizontal scan.

    I have tried for the log files as you insisted to collect it after running the scan . It did not work i could not find any log file generated after the scan.

    can we try any other alternative to figure out the issue regarding the horizontal scan?

    With Regards,
    Ramayampet Vinaykumar