3D contour plot of an image

Hi,
I want to plot a 3D contour plot of intensity in an image. I've attached a sample image. Awaiting for suggestions.
Thanks.
Solved!
Go to Solution.
Attachments:
2009-01-17-15e35e40e,49_307.png ‏241 KB

Hello aveo,
how about using the "IMAQ 3D View". Please see the attached code saved for LV2010.
Does this suit your application?
Best regards,
K
https://decibel.ni.com/content/blogs/kl3m3n
"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
Attachments:
IMAQ3D.zip ‏448 KB

Similar Messages

  • How can I prevent a memory flow error from occuring when using 3D contour plots?

    After displaying a single contour plot a number of times, LabVIEW crashes and reports a memory overflow error.  I only load a single 2D array, never storing previouls ones. I always index the data for contour plot 0, and don't explicitly store multiple 2D arrays in any buffer, such as appending data to a shift register.  There appears to be some sort of memory leak in LV when using this feature.  Is there a programatic way to flush the stored data in a contour plot prior to displaying the next 2D array of data?

    Hello MicTomReiSr,
    Is this in the LabVIEW development environment?  Are you making changes to the code and then running the VI?  Does the plot contain default data? Is the indicator cleared when the program stops?  The Plot Clean Data method may be what you're looking for.
    Remember that the development environment maintains an undo history of the changes you've made, and copies both the block diagram and FP contents each time.  If you have a lot of data displayed on the front panel you end up copying it multiple times.  This isn't a problem unless you're actively editing the VI in question.
    If you do need to edit and run the VI at the same time (perfectly reasonable, although you might want to consider a 64-bit installation or more RAM if you commonly work with resource-intensive data types like 3D plots) try reducing the Undo history length (Tools>>Options), although be aware that you won't be able to back up as many steps.
    Regards,
    Tom L.

  • Flex 3 : Contour Plot Chart

    Hi,
    I have been tasked with a project where a contour plot chart is required like the one below. Does anyone know how this coould be done in Flex or are there any third-party components available to do this?
    Thanks very much for you help.
    Martin

    Hi Subeesh,
    Thanks for the info but it's not a radar chart. What I am looking for is more like --> http://www.singleton-labs.com/mcharts.php
    Martin

  • Zigzag contours on exported still image

    Hi! I get Zigzag contours on exported still images, no matter what setting I have. The zigzag pattern is not there in the viewer (nor if I make a screen capture and save the caption). Something must be wrong. GRateful for advice.
    Yours fransmo
    Panasonic hdc hs300/1920x1080/macbookpro13´/4gb

    Hi -
    If you have Photoshop, open the exported image in Photoshop, and go to Filter > Video > De-interlace.
    If you do not have Photoshop, you can apply a De-interlace Filter in FCE to the clip you want to export the still frames from, do your frame exports, and then remove the De-interlace filter.
    In FCE -
    Effects Tab > Video Filters > Video > De-Interlace
    Hope this helps.
    MtD

  • How to draw 3D/2D Surface Chart and Contour Plot using MSCHART

    Hello all
    i want to draw 3D/2D surface chart and Contour Plot using MSCHART, is that possible ?
    Please help me to sort the issue. Is there any like ?
    Thanks in advance

    As founder of Gigasoft, add our
    MS Chart Alternative to your research.  Quick 18 meg no hassle demo download will prove our bits beyond any words or pictures.

  • Create contour plot

    Hi,
    I'm trying to create a contour plot from data stored in a measurement file (lvm).
    The data file consists of time (x), size (y) and a concentration corresponding to each xy.
    I want to show the concentration in colour intensities and not as numbers.
    I've started with the "read from measurement file", but I don't know how to convert the data that is read to a x, y and z-vector, to be able to plot it afterwards .
    What graph can I use best to plot the x, y, z vector? A 3d surface Active X container?
    Thank you in advance!
    Evelien
    Attachments:
    contour plot smps.vi ‏44 KB
    SMPS 22-09-09 dN-dlogDp.txt ‏344 KB

    Kevin Smith, Kirinos Engineering:
    Phone: (408) 739-4706, FAX: (408) 739-7925, e-mail: [email protected]
    has written a package for contouring.
    My info stems from ltr 1995 but I believe he is still around
    greetings from the Netherlands

  • 2d contour plot with variable x,y spacing

    Hi
    How do I create a 2d contour plot with the the x-y values spaced at irregular intervals? Intensity plots appear to require equally spaced data.
    Any ideas
    Thanks
    Willem

    Hi Willem,
    You are correct in saying that intensity plots require regularly spaced data.
    The easiest way to get round this is by padding out your data so that it is regular.
    Does your data have a common multiple, if so you can simpley scale it by that factor to make your data regular.
    Emma R
    NIUK & Ireland

  • Contour Plotting

    Can any one suggest me a good site for contour plotting or any jar file exits which help me in plotting contour plot graphs.

    There's a huge, comprehensive and open-source GIS package called "GRASS", admittedly written quite a while back in C. It's very modular, with a class or two for each of dozens of commands, so it's quite a good source of example code for stuff like that.
    (Grass is originally a US military project).

  • Plotting on jpg image.

    hello,
    I have a jpg image of some graph. Now i want to plot my own graph created by an applet, on top of this jpg-graph. how can i do it?
    ( normally i goto the Java forums archives section to look for answers. But in this case, i was not getting the relevant answers.)
    ANy help is appreciated.
    Thanks

    Hi again,
    I see what you mean, but now I've another question. Does that downloaded image supposed to change? According to the graph your drawing of course!
    Example:
    Supposing you're drawing a sin(x), that you would like to compare it with an already made graph of sin(x)...but now if you want to plot a cos(x), you would have to change the background image...
    Since I suppose you're trying to compare you're graphic with some other already published it seems a little bit restrictive to compare it with an image, unless your graphic can't change very much, like if you're trying to proof a physical law...but then again you're restricted to the parameters of the downloaded graphic...
    This time, maybe is me the who wrote a messy answer...
    Good luck,
    ANeto
    PS-Maybe what you want to do is to let people see, how changing the parameters in your graph, this changes in respect to the image graph...don't know...

  • Does DIAdem support polar 3d contour plots, i.e. f(r, phi) instead of f(x,y)

    Hello
    I need to plot a flow velocity profile across a circular tube. Coordinates will therefore be not in x,y (easy job for DIAdem, I know) but in r and phi.
    I could convert the radius and angle information to x and y coordinates, but then they will not be evenly spaced and the axes will not reflect the set-up.
    Any idea?
    Thank you
    Michael
    Solved!
    Go to Solution.

    Hi Michael
    No, DIAdem does not support r, phi in 3D plots. But you can find an example in DIAdem which shows you how to display this in DIAdem. To find the example start the ExampleFinder, open new examples for version 10.0 and then select the example "ASCII File Loading and 3D Display". You will find most of the functions that you will need for your question.
    Hope this helps
    Winfried

  • Contour/3D Plot for a circular surface

    So I know that similar questions to this have been asked a few times, but I figured it'd be more helpful if I posted my specific goal since I'm still a bit new to this:
    I have a program that collects a set of data, degree position and surface height, for a circular object that rotates through 360 degrees.  The object itself has 5 probes evenly spaced from it's center to it's outer edge, which collect this data.  Each probe collects 3600 data points (0 to 360 degrees, .1 degree intervals). 
    Anyway, what I'd like to do is graphically represent this surface via a 2D contour plot, and possibly through a 3D plot as well.  I want to know what would be the best approach to do this.  The plots will be displayed through an executable distribution of my program. 
    2-D Contour Plot (looking for something similar to matlab contour plots): 
    Is the conensus that the scatter plot would be the best option for this purpose (looked through the contour vi)? 
    Will I have to convert degrees to x and y coordinates and then just create my own custom degree scale (maybe just an image) for the drawing?
    How are the contour rings (in my case 5, representing the data from each evenly spaced probe)  put together? 
    3-D Plot
    If I want a 3-dimensional image of the surface based on the data, what would be the best method/ plot type to use? 
    Are there any 3-D plot types that offer the ability to rotate the object?
    Any comments would be appreciated, thanks. 

    So I've run into a few problems attempting to create a 2-D contour plot using the intensity graph solution. 
    As it turns out, since the intensity graph uses an array to specify the position of each point, I had to do a bit of coercing of my data (consisting of 3600 points).  Basically I wanted each data point to correspond to a different index of the 2-d Array, but there isn't enough memory available to create arrays of the size I would need (around 10,000 x 10,000 to have a unique index per data point intensity).  Is there away around this, or should I just ignore this and assume the effect on my contour plot will be negligible? 
    Second: Is there a property/method I can use to make the nonzero points of my intensity plot thicker? 
    Third and most importantly:  The partial solution I have so far only draws the first ring (for first column of data).  I need to draw four more rings (other four columns of data), each successive ring inscribed at the inner edge of the previous ring.  What would be the best method to go about doing this (case structures, state machine architecture, nested for loops)? 
    Ideally, the contour plot would look very closely to the one I've attached in the gif. 
    Attachments:
    contourprob.vi ‏24 KB
    example.txt ‏88 KB
    sample contour.GIF ‏38 KB

  • How to plot contour using time stamp

    Hello,
    I need help on the following:
    I acquire size distribution data each minute from a particle counter. I would like to plot the data as a contour plot using time stamp on the x-axis, the size bins on the y-axis and the 2D data on the z-axis. I cannot get the contour functionality in LV 2011 to accept the time stamp format. I did change the format of the x-axis to "absolute time" but it still doesn't work, see simplified diagram below.
    Any advice on reformatting a time stamp to something the contour plot understands??!?
    Thanks a lot,
    Claus
    Attachments:
    countour.png ‏20 KB

    Milan R wrote:
    Hi Mogensen!
    You could use the "To Double Precision Float" vi to convert the timestamp to a double prescion number as mentioned in this forum post "time stamp to number function". As mentioned in that forum, the number is based on the LabVIEW epoch date so you can use it to compare values taken at a specific time.
    I can't look right now but will that work?
    I thought the 3D stuff was single and the magnitude of the time stamp would swamp the difference in time stamps.
    Just thinking out loud.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Plotting Image on a Map

    I know that the MapKit API contains the functionality to place pins on a MapView, but is there any way to plot a small image (GIF, JPEG, etc) at a GPS coordinate?

    http://discussions.apple.com/thread.jspa?threadID=1994597&tstart=0

  • Contour Analysis For image Recognition

    i need to develop a GUI that takes an image as an input and does contour analysis on the image n extract the feature from test sample compare it with the stored templetes
    And should display on the image to part does tat part of image belong to with there dimension.
    Help me out with the coding process
    Detailled:-
    i will start up with a Gui creation for the contour analysis process.
    kindly help me with the exact coding or process required.........
    Should i use Contour analysis n templates matching method or should i use feature extraction with some classifiers(Neural Network/K nearest neighbor).
    as i am a beginner kindly guide me the best way...
    cos my goal is to take in a Aerospace engine as input image and recognize different parts(HPT DISC n COMBUSTION DISC....) in it with dimensions.
    http://www.codeproject.com/KB/graphics/ContourAnalysis.aspx
    link is a code in .net....
    i have to build a software in JAVA.

    Hi i have a code tat does recognition by using a K nearest Neighbor Classifier
    i shall send u the code pls give me ur mail id

  • "print" command in Mathscript not saving plots in BMP format!

    Hi guys,
    i am trying to create a vi that will automatically generate a pdf report for my project. I found a way to save the report directly as pdf (that is, i "print" my report to a virtual PDF printer (PDFCreator) that saves the file automatically to a specific folder with the date/time as its name. So this was the first step to making the procedure automatic).
    I am stuck in the next level, which is adding to the report not labview's bad-looking graphs, but the plots generated through the Mathscript.
    So, after adding as input "a" my data to the mathscript node, i use the following commands:
    figure
    plot(a)
    print image
    Now, what this sequence does is make a nice plot of my data and then save it as "image.eps" in the default folder.
    However, the eps format is not at all useful to me as i cannot import the plot with the "Append Image To Report.vi". This vi supports only BMP, GIF, WMF, EMF and JPG formats.
    So, i want to save the plot from mathscript as BMP. This is supposedly possible, however i have not been able to find a way. The "print" command help for Labview 2011 Mathscript reads:
    http://zone.ni.com/reference/en-XX/help/373123B-01/lvtextmath/msfunc_print/
    Syntax
    print
    print(a)
    print(file)
    print(a, file)
    Description
    Print the plot window or save it into a file in either BMP or EPS format. If the plot window to save is an image plot or a 3D plot, the file must be in BMP format. For other kinds of plots, both BMP and EPS formats are supported.
    There is no way for me to choose which format i want and it automatically chooses eps. If i use the command
    print image.bmp
    it gives me back an error. So, adding the .bmp ending is not the way to go.
    All in all, it is crucial for me to export the plot in BMP format (so as to import it in the report generation), but i cannot find a way, althouth it is supposed to work.
    Any ideas????
    Thanks
    PS. I run Labview 2011 SP1
    Solved!
    Go to Solution.

    Thanks a lot ttrr!!

Maybe you are looking for

  • Messages and bluetooth keyboard send button?

    Is there any solution out there to be able to hit the send button on an iPad with the wireless bluetooth keyboard?

  • HT4623 Could not sign in unknown error has occurred

    Cannot load any apps from App Store . Keep getting unknown error

  • Best forms creator for my business

    Hi, I would like some advice on what option is best for my business. I primarily would like to create interactive forms that are sent out to job seekers in which they can answer questions and send back to us, being an employment agency. I need the  l

  • No sound on certain apps why?

    I have to keep switching the mute button back and forth on my 4s to get sound on certain apps why? Oh and I Haaaate spellcheck!

  • Iphone HOT!?!?

    Whenever I charge my Iphone, whether on the computer or the wall, it gets extremely hot. So hot to the point that i was awaken by the heat one night when i was sleeping with it. I know i should stop by a genius bar, but i live so far away from one no