Jump to content

Urgent!! Problem with output image


Recommended Posts

Hi!

I have a video of a laser beam spot. The images contain noise. I need only the central bright portion of the image as the other circular portions are noise. After eliminating the noise I have to find the area of the spot by counting the bright pixels in the image.I have tried to execute the same but I find the output image after processing to be faulty.Ideally it should in black and red as I have done threshold. Can you help me with this ?

Also I need help with counting the bright pixels to find area .

I have tried converting the image into 1D array and then tried to add array elements.But again I find the result to be wrong.

The images in black and white are the required output images.I can find them inside vision assistant as black and red (which is the same) but when it is displayed on the front panel I do not get the same image.

 

Video_Final2.vi

Video2.avi

Propic.jpg

Propic2.jpg

Propic3.jpg

Propic4.jpg

Link to comment

Create a new binary image outside the loop and feed that output as the destination for the output of your vision assistant processing.  That should stop the final image from flickering, I think this is what you are complaining about on the output.  Image wires are references, not values.

The area particle measurement should get you the value you want.  What is wrong with that?

Link to comment

Thank you for your reply!

The final image has a different output when compared to the images I have attached. I am able to see the output like the ones attached when I view it inside Vision Assistant but when I run the program the output is different(It displays gray scale images).Also I am still able to see some noise in the final image but it is not present inside Vision assistant . Can you tell me what is the issue ?

Particle measurement gets me the value. But the I remember reading that it approximates to a circle/ ellipse and finds area. So I want to find the area by  adding the the number of white pixels. But I am not able to add as the array values keep changing continuously. Do you have any idea ?

I thought of appending the 1D arrays to form 2D array (each 1D is a column)and then processing the values in each column (which is each image) to obtain area. But I don't know how to do the same. 

I am a beginner in LabVIEW. 

Link to comment
20 hours ago, Niranjhani said:

Thank you for your reply!

The final image has a different output when compared to the images I have attached. I am able to see the output like the ones attached when I view it inside Vision Assistant but when I run the program the output is different(It displays gray scale images).Also I am still able to see some noise in the final image but it is not present inside Vision assistant . Can you tell me what is the issue ?

Did you attempt what I suggested?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.