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 post
Share on other sites

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 post
Share on other sites

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 post
Share on other sites
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 post
Share on other sites

Join the conversation

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

Guest
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.

  • Similar Content

    • By Maurice Rahme
      Hello, 
      I'm trying to implement an object tracking in LabVIEW. I've written a VI (attached) to detect and locate the centroid of elliptical shapes (because my circular subject can possibly be rotated and appear as an ellipse). However, the detection is not successful on every frame.
      For this reason, I would like to use the object detection method I've written as a ROI reference for an object tracker, whereby the object detector runs every 10-20 frames or so to make sure the tracker has not accumulated too much error. Any advice on how I can do this? Thanks! 
      Additionally, any criticism or advice on my object detection method would be appreciated. 
      Vision.vi
    • By GeT-Cameras
      Hello everyone,
      We have started with the development of our own embedded MIPI camera module for the Raspberry Pi with an industrial image sensor. Currently we are in the specification phase and we are interested in your preferences so we will develop a product that does fit your requirements. If you have some time, please consider filling in this 4-question questionnaire.
       
    • By Shaun07
      Hello,
       
      Here, I have attached the VI in which I want to do auto exposure and set that exposure value.
      Basically this is program for laser beam analysis on live image. 
      Basically I want to set exposure time accordingly laser beam intensity. 
      If anyone previously worked on it then please help me with that. I am new to image processing. 
       
      Other image I attached, that's the part I want to implement with this program. 
      Help me out to solve this problem. 
       
      Thanks
       
      Thanks,
      Basic_Camera_Live_Beam_Information.vi

    • By Shaun07
      Hello,
      Research purpose, I am using Imagining Source (DMK 33Ux249) camera to capture the laser beam. I am trying to write a code for auto exposure according to power level of laser beam. I used Vision acquistion for capturing live video image and tried to open the front panel of the vision acquistion. 
      But, I couldn't figure out how to set the exposure level automatically.  Basically whole task is,
      1. Capturing live image
      2. set the exposure time according to laser beam profile
      3. Remember the exposure the time and set again according to next frame or beam profile.
      Is anybody previously work or have an idea to solve this issue please let me know. 
       
      Thanks 
    • By Shaun07
      Hello All,
       
      I am trying to removing the background and normalizing the image data. I have an image which I attached here. 
      All I want as end result of normalized image with no background. 
      At last  I want to check the beam profile before and after.
       
      Is anybody previously worked on it?
      Any VI?
      Any help would be appreciate.
       
      Thanks in Advance 

×
×
  • Create New...

Important Information

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