Shaun07 Posted March 12, 2018 Report Posted March 12, 2018 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 Quote
Shaun07 Posted March 12, 2018 Author Report Posted March 12, 2018 Yes. kind of . Do you have a VI for this? Other thing I am looking for calculating beam profile. 1/e^2 measurement of beam profile. Here is the example I attahed Quote
infinitenothing Posted March 12, 2018 Report Posted March 12, 2018 That's a snippet so in theory, you should be able to just drag it into your block diagram negating the need for a VI file 1 Quote
Shaun07 Posted March 12, 2018 Author Report Posted March 12, 2018 Thank you so much. I will try and if I have a question the will let you know. Quote
Shaun07 Posted March 12, 2018 Author Report Posted March 12, 2018 Sorry forgot to ask you. Do you have any idea if I have a image capturing from live camera and if i want to remove a background.? I have one solution but I am facing problem to solve this. Here, is the solution. Quote
infinitenothing Posted March 12, 2018 Report Posted March 12, 2018 (edited) My example uses the second technique (subtracting a constant at IMAQ Subtract). Where are you getting these requirements from? Also, it's nice if you let us know where you've cross posted this so we don't duplicate efforts https://forums.ni.com/t5/LabVIEW/calculate-1-e-2-of-beam-intensity-profile-Measurement/td-p/3766062/page/2 https://forums.ni.com/t5/LabVIEW/Background-correction-and-Normalizing-Image/m-p/3766148#M1060967 Edited March 12, 2018 by infinitenothing Quote
Shaun07 Posted March 12, 2018 Author Report Posted March 12, 2018 So you select the 4 corners and then remove the background? Quote
Shaun07 Posted March 12, 2018 Author Report Posted March 12, 2018 I tried to drag the image into VI but it created a link only. Quote
infinitenothing Posted March 13, 2018 Report Posted March 13, 2018 Try right clicking, saving the image to disk, and then drag the saved file from explorer to your block diagram. The snippet is in 2017 so if you need an earlier version you might have to ask someone to down convert it or... there's not that many blocks there, maybe you can try and recreate it. Quote
Shaun07 Posted March 14, 2018 Author Report Posted March 14, 2018 It works properly. Thank you so much. Other thing I want to ask you regarding auto exposure. Did you have any idea If we want to perform auto exposure of the camera how can we perform ? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.