<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: What contourc function returns in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/What-contourc-function-returns/m-p/1673088#M596407</link>
    <description>&lt;P&gt;A function much closer to the Matlab one is included in LabVIEW 2011: &lt;A href="https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/vi-lib/analysis/geometry-llb/contour-line-vi.html" target="_self"&gt;Contour Line&lt;/A&gt; which is under the Mathematics/Geometry/Computational Geometry palette.&amp;nbsp; This works on 2D DBL arrays.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ContourLine.png" style="width: 250px;"&gt;&lt;img src="https://ip1.i.lithium.com/fa2c2d8bafbf3fe6ed45168345833d9ac15533d8/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f353035373269353943443546373237413941393233302f696d6167652d73697a652f6c617267653f763d76322670783d393939" role="button" title="ContourLine.png" alt="ContourLine.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jun 2026 18:00:36 GMT</pubDate>
    <dc:creator>GregSands</dc:creator>
    <dc:date>2026-06-30T18:00:36Z</dc:date>
    <item>
      <title>What contourc function returns</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-contourc-function-returns/m-p/1665864#M594769</link>
      <description>&lt;P&gt;This question is actually about Matlab, but the thing is I don't really use Matlab; Matlab is simply a labor for LabVIEW in the code.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In Matlab, there is a function called c=contourc(im,[.8 .8]). This function is supposed to return a single contour at level 0.8. The return is a 2X387 matrix in this case. Can someone tell me what this matrix is? It does not look like a collection of pixle positions. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there an efficient Matlab forum like this NI forum somewhere?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2011 13:48:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-contourc-function-returns/m-p/1665864#M594769</guid>
      <dc:creator>MengHuiHanTang</dc:creator>
      <dc:date>2011-08-10T13:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: What contourc function returns</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-contourc-function-returns/m-p/1667836#M595207</link>
      <description>&lt;P&gt;Perhaps this Mathworks forum is what you're looking for: &amp;nbsp;&lt;A href="http://www.mathworks.com/matlabcentral/answers/" target="_blank"&gt;http://www.mathworks.com/matlabcentral/answers/&lt;/A&gt;﻿&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;James McNicol&lt;/P&gt;
&lt;P&gt;Applications Engineer&lt;/P&gt;
&lt;P&gt;National Instruments&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2011 15:32:38 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-contourc-function-returns/m-p/1667836#M595207</guid>
      <dc:creator>James_M.</dc:creator>
      <dc:date>2011-08-11T15:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: What contourc function returns</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-contourc-function-returns/m-p/1669480#M595575</link>
      <description>&lt;P&gt;James,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there similar function in LabVIEW? I am trying to convert a m code into LV. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2011 16:50:40 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-contourc-function-returns/m-p/1669480#M595575</guid>
      <dc:creator>MengHuiHanTang</dc:creator>
      <dc:date>2011-08-12T16:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: What contourc function returns</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-contourc-function-returns/m-p/1671328#M595998</link>
      <description>&lt;P&gt;Hi Meng Hui,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure of the exact purpose of that Matlab function, but is this close to what you're looking to do?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ni.com/docs/en-US/bundle/ni-vision-labview-api-ref/page/imaqvision/imaq_extract_contour.html" target="_blank" rel="noopener"&gt;https://www.ni.com/docs/en-US/bundle/ni-vision-labview-api-ref/page/imaqvision/imaq_extract_contour.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;James McNicol&lt;/P&gt;
&lt;P&gt;Applications Engineer&lt;/P&gt;
&lt;P&gt;National Instruments&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2026 18:00:18 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-contourc-function-returns/m-p/1671328#M595998</guid>
      <dc:creator>James_M.</dc:creator>
      <dc:date>2026-06-30T18:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: What contourc function returns</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-contourc-function-returns/m-p/1672058#M596178</link>
      <description>&lt;P&gt;Thanks, James.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That matlab function is used to return a contour, but I guess the difference is that the matlab contour function uses interpolation and therefore returns a DOUBLE contour line instead of Integer coordinates.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2011 13:21:01 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-contourc-function-returns/m-p/1672058#M596178</guid>
      <dc:creator>MengHuiHanTang</dc:creator>
      <dc:date>2011-08-16T13:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: What contourc function returns</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-contourc-function-returns/m-p/1673088#M596407</link>
      <description>&lt;P&gt;A function much closer to the Matlab one is included in LabVIEW 2011: &lt;A href="https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/vi-lib/analysis/geometry-llb/contour-line-vi.html" target="_self"&gt;Contour Line&lt;/A&gt; which is under the Mathematics/Geometry/Computational Geometry palette.&amp;nbsp; This works on 2D DBL arrays.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ContourLine.png" style="width: 250px;"&gt;&lt;img src="https://ip1.i.lithium.com/fa2c2d8bafbf3fe6ed45168345833d9ac15533d8/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f353035373269353943443546373237413941393233302f696d6167652d73697a652f6c617267653f763d76322670783d393939" role="button" title="ContourLine.png" alt="ContourLine.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2026 18:00:36 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-contourc-function-returns/m-p/1673088#M596407</guid>
      <dc:creator>GregSands</dc:creator>
      <dc:date>2026-06-30T18:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: What contourc function returns</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-contourc-function-returns/m-p/1673786#M596578</link>
      <description>&lt;P&gt;Greg,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the update. That's good to know.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the input 'Height' for? Contour line is in a 2-D image.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2011 13:24:08 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-contourc-function-returns/m-p/1673786#M596578</guid>
      <dc:creator>MengHuiHanTang</dc:creator>
      <dc:date>2011-08-17T13:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: What contourc function returns</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-contourc-function-returns/m-p/1674744#M596770</link>
      <description>&lt;P&gt;Height specifies the value at which you want a contour.&amp;nbsp; Think of your 2D array as Z-values at a range of X-Y locations - then Height is the value of Z for contouring.&amp;nbsp; This is a polymorphic VI, so you can also provide an array of heights, or ask for a certain number of contours, and the heights will be automatically selected.&amp;nbsp; If you use those options, then the height of a given contour is returned in the Contour Line cluster as shown.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2011 23:28:40 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-contourc-function-returns/m-p/1674744#M596770</guid>
      <dc:creator>GregSands</dc:creator>
      <dc:date>2011-08-17T23:28:40Z</dc:date>
    </item>
  </channel>
</rss>

