LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Ideal particle image

Hello friends.. I am working on a project which is about the particles, about image processing. First part of the project that I need to draw a figure sth like below. I tried to use vision tools but ı can not find anything to help me. Can anybody lead me about the situation. How can ı draw such a figure. What I need to use ?

Idealparticle

I did it using matlab but I need it with labview . Thank you...

0 Kudos
Message 1 of 7
(2,565 Views)

Well, you did not show any scale that maps Z to a color, so all we can do is guessing. What is the function Z(x, y)? Is it a 2D gaussian?

 

After you have the model, all you need is create a 2D array and display it in an intensity graph. Change the Z colors according to the desired scale.

0 Kudos
Message 2 of 7
(2,562 Views)

I thinhk it is 2d gaussian. I have never interested in colors with arrays. How can I use them together ? where do I find the colors ? 

Thanks for your answer..

0 Kudos
Message 3 of 7
(2,553 Views)

All you need is a 2D array with your calculated z-values once you know what the model is ("I think it is 2D gaussian" is not specific enough!).

 

Wire the 2D array to an intensity graph and set the colors as described here.

0 Kudos
Message 4 of 7
(2,547 Views)

hello again 

thank you..

0 Kudos
Message 5 of 7
(2,488 Views)

for example here ; I do not know how to write sth like  

if ~exist('axistype')
  axistype=['image'];
end

in labview. how can I create exist function in labview ?

0 Kudos
Message 6 of 7
(2,486 Views)

Hello u_di,

 

The "exist" function in MATLAB® simply checks if an object exists.  See the following link for details:  http://www.mathworks.com/help/matlab/ref/exist.html

 

There is not a one to one equivalent function in LabVIEW.  Objects in LabVIEW are instantiated by the wires used to refer to them.  As such, unless you manually destroy an object, it is unlikely you will need to check if anything explicitly "exists."  You can perform checks to see if data exists in the way you expect it or need it to, which would differ for different objects or data types.  For example, the Not a Number/Path/Refnum? Function checks whether a reference to an object still resides in memory or has been closed.  

 

(MATLAB® is a registered trademarks of The MathWorks, Inc.)

Patrick
CLA
0 Kudos
Message 7 of 7
(2,438 Views)