LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Detect Changes in Camera Focus to Set Stepper Motor Limits

 I  need to devolve a stepper-motor driven mechanism for adjusting the lens focus and aperture remotely by detecting edges, then use quantify to get the standard deviation and the maximum value give the maximum focus for the lens .I need to know how to do this by connecting the stepper motor to determine the best lens position .

 

thanks in advance 

Eslamnagy

0 Kudos
Message 1 of 3
(1,008 Views)

Have you considered hiring a LabVIEW expert?  Have you considered becoming a LabVIEW expert?  LabVIEW Vision is one of the more complex areas of LabVIEW -- if you have some experience with it, then try writing some code that might (or might not) accomplish what you need, then post the code (probably best done by compressing the folder holding the LabVIEW Project and attaching the resulting .ZIP file), along (perhaps) with a sample Image or two.

 

Bob Schor

0 Kudos
Message 2 of 3
(982 Views)

Hi Eslamnagy,

 

I would say, your Project is not arrive the coding part yet, if you havn't build the mathematical model about your project.

 

1. Do you already have the mathematical formular, what's the relationship between the focus and the aperture.

2.The data of aperture and focus must come from the camera, so

  • Which camera do you use,
  • if you use an special camera for your project, you might be able to contact the supplier for the information about fetching the focus and aperture data.
  • if you are using a normal camera, here comes some general solution, you must fetch the realtime image and do the algorithmus by your self, to analysis if the picture satisfies you. You can direktly google some python library handels image and get the opensoure do some modification, and put your own code into LabVIEW.

3. Control the stepping-motor are the least challenge in your project, you need any Digital Out Device to control the motor.

 

 

Regards,

FrankenChino

 

0 Kudos
Message 3 of 3
(965 Views)