06-09-2012 05:01 PM
Hi i'm a new user of Labview,
i have a problem with my 3d sensor viewing of IFM company.
I wanto to doing a background subtraction,on the image. The output format of my sensor is a 2d array displaying on intensity graph.
I would to take the image and doing a background suppression:
i have solved this type of problem saving an image of background and doing a comparison between z axis min of the sensor and the real image.
For giving more complete discussion i upload my file..
The case cycle saving the image of the background when is true.
When is false,compare the image roi displaying by the sensor and the background. This type of problem is solved if the sensor work in plane and is parallel with the plane of the object..
However i have to rotate the sensor because there is a problem of reflection with some object...but i don't know how to solve.
I'm a student
06-09-2012 09:08 PM - edited 06-09-2012 09:08 PM
You did not attach your datafile or the background data, but you are doing things way too complicated.
06-10-2012 03:49 AM
ok sorry... this is a vi crated in 2 minutes,so i have not introduce NI RULES of program.
The background suppression in my case is not a simple subtract.
I have just test this type of way and is not good.
the VI that i have created going well when the sensor work in plane with axis orthogonal with the plane of the object..
When we start to use the sensor,we have to start the teach background function. Teach background function acquisit a intensity graph calculating the minimal z quote and assume that this is the cutting plane when we start to considering the object.
So if there are some object far to background,is not considered by the system of acquisition.Instead,if the object is near to sensor there are considered.
I used coerce for determing the real object that i want to measure. The object that i want to measure is get between two limits:
the minimal z quote of the background and the minimal z quote of the object.
The problem is subtract the background when i'm using the sensor not orthogonal with the plane of the object...For this aspect i have to learn a background that introduce a shift plane trasverse but i have not idea to doing this...
example when the sensor is rotated of 45 degrees...
THank a lot for the reply
06-10-2012 03:51 AM
Initially we teach background and there isn't the object in the roi area..
After the teach program we put the object and we begin the acquisition of the object
06-10-2012 03:53 AM
i put two images for giving more explaination
06-10-2012 06:01 AM
sorry but the request is not solved...
06-10-2012 11:04 AM
Can you show us background pictures and pictures with an object for the case that works and for the inclined view.
I simply don't understand your terminology. For example, what is the "minimal z quote".
Do you simply want to subtract all regions where the image with and without background is very similar.
06-10-2012 11:32 AM - edited 06-10-2012 11:36 AM
@altenbach wrote:
Do you simply want to subtract all regions where the image with and without background is very similar.
Here's a quick draft, LabVIEW 2010.
In your case (image is DBL) you would subtract the two images and check if the difference is within a narrow range close to zero and use that instead of the not equal comparison I am using in the example.
06-10-2012 12:18 PM
ok ..my sensor acquisit a matrix of z quote points and the minimal z quote distance is the minimal distance between sensor and object
06-10-2012 12:19 PM
i post my data of acquisition if you want to understand what i mean...
i have tested your vi but is not the result that i want