Machine Vision

取消
显示结果 
搜索替代 
您的意思是: 

Pattern Projection - Controlling Projector

已解决!
转到解答

Hello,

I would like to create patterns with projectors. It is like how 3D scanning devices use for pattern projection, here is an example link.

 

pattern.png

 

I want to create any geometries, not only lines. I am hoping for a pixel based method like creating an image/picture with coordinates and color values. I have searched some projector brands to see if they have any API for that but could not find anything.

I would appreciate if there is anyone who has experience or idea for me to deal with this topic.

0 项奖励
1 条消息(共 10 条)
7,654 次查看

Do you need to change the pattern rapidly, or just keep the same pattern?  You should be able to set up a projector as a second screen, then display the image you want on the projector.  Changing it rapidly is a little more challenging, but you could probably generate several images and flip through them fairly quickly.  Changing the image every frame would be the most difficult.  That might require creating a video and playing at the desired frame rate.

 

Bruce

Bruce Ammons
Ammons Engineering
2 条消息(共 10 条)
7,617 次查看

Bruce, changing the images qucikly like in the structured light 3D scanners can be another workaround for me but for now I just want to keep one pattern. But I am not sure how I can display the image with the projector on LabVIEW.

Do you have any suggestion where I can start?

0 项奖励
3 条消息(共 10 条)
7,615 次查看
解答
已被主题作者 sevincom 接受

1. Create the image.  Either use the drawing tools in LabVIEW, or use a drawing program to create an image and load it into LabVIEW.  The image should be the same resolution that the projector can display.

 

2. Connect the projector to the computer.  Use Windows to set it up as a second display.

 

3. Create a VI with a large Image indicator, large enough to display image from step 1.  Make the VI load and display the image.  Move the VI so it shows up on the projector.  You might be able to use VI properties to display it full size on the second screen.

 

Bruce

Bruce Ammons
Ammons Engineering
4 条消息(共 10 条)
7,611 次查看

Thank you for the suggestion Bruce. I will try it when I am near the device.

0 项奖励
5 条消息(共 10 条)
7,608 次查看

I was do this project before for this one I write a vi just show the pattern image but record camera and process the pattern behind also maybe using two monitor method and sharing desktop work between to monitor (one for projector )

0 项奖励
6 条消息(共 10 条)
7,575 次查看

I have tried this with creating pictures and it works pretty well as expected.

However, beside the pattern, we are also projecting the whole VI which creates an amateur look. How can I can get rid of it and only show the pattern I want in the picture?

0 项奖励
7 条消息(共 10 条)
7,522 次查看

You can change the display options for your VI to no border, size to screen, display on second screen, etc.  Size your image display to fill the VI window, then when you run it, it will resize to fill the screen.

 

If you can't get that to work, the old window display is still available (Vision Utilities -> External Display).  It creates a separate window just for displaying your image.  I would think it would be more work than setting the VI properties, though.

 

Bruce

Bruce Ammons
Ammons Engineering
8 条消息(共 10 条)
7,516 次查看

Hi, I'm a new Labview user. I want to use labview to generate pattern projection. And connect to the projector. Can you give me some examples to learn? And how can I control the projector?

 

Thank you

Xueping

0 项奖励
9 条消息(共 10 条)
6,268 次查看

Hi Xueping,

Few questions to get a better idea of your system:

What hardware are you using?

How is it connected? (serial?) 

 

Thanks! 
Joseph

0 项奖励
10 条消息(共 10 条)
6,253 次查看