{"id":32,"date":"2017-06-12T15:10:28","date_gmt":"2017-06-12T15:10:28","guid":{"rendered":"http:\/\/namauro.knight.domains\/samarnauzs\/?p=32"},"modified":"2017-06-12T20:21:36","modified_gmt":"2017-06-12T20:21:36","slug":"reading-and-writing-intensity-values-of-a-image","status":"publish","type":"post","link":"https:\/\/namauro.knight.domains\/samarnauzs\/2017\/06\/12\/reading-and-writing-intensity-values-of-a-image\/","title":{"rendered":"Reading and Writing Intensity Values of a Image"},"content":{"rendered":"<p>Below is the block diagram using the same method to read image intensity values as before (see\u00a0<a title=\"Converting an Image File to an Intensity Graph in LabVIEW\" href=\"http:\/\/namauro.knight.domains\/samarnauzs\/2017\/06\/01\/converting-an-image-file-to-an-intensity-graph-in-labview\/\" rel=\"bookmark\">Converting an Image File to an Intensity Graph in LabVIEW<\/a>), but it has been modified to write those values into a 1-D array in Excel.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-33 size-full\" src=\"http:\/\/namauro.knight.domains\/samarnauzs\/wp-content\/uploads\/sites\/22\/2017\/06\/BlockDiagram_intenstityTo1DArray.png\" alt=\"\" width=\"563\" height=\"275\" srcset=\"https:\/\/namauro.knight.domains\/samarnauzs\/wp-content\/uploads\/sites\/22\/2017\/06\/BlockDiagram_intenstityTo1DArray.png 563w, https:\/\/namauro.knight.domains\/samarnauzs\/wp-content\/uploads\/sites\/22\/2017\/06\/BlockDiagram_intenstityTo1DArray-300x147.png 300w\" sizes=\"(max-width: 563px) 100vw, 563px\" \/><\/p>\n<p>First, the size of the array must be known. To do this, we create an array using the Array Size VI. This creates an array with two values, the number of rows and the number of columns. Next, we index this created array to read the number of columns and rows. We then multiply the number of columns by the number of rows to get the size of the data set, which we can then use to set the size of the 2-D to 1-D array. The 1-D array is then sorted and written into an Excel spreadsheet.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Below is the block diagram using the same method to read image intensity values as before (see\u00a0Converting an Image File to an Intensity Graph in LabVIEW), but it has been modified to write those values into a 1-D array in Excel. First, the size of the array must be known. To do this, we create<\/p>\n<div class=\"read-more\"><a href=\"https:\/\/namauro.knight.domains\/samarnauzs\/2017\/06\/12\/reading-and-writing-intensity-values-of-a-image\/\">Read More<\/a><\/div>\n","protected":false},"author":60,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,5],"tags":[],"_links":{"self":[{"href":"https:\/\/namauro.knight.domains\/samarnauzs\/wp-json\/wp\/v2\/posts\/32"}],"collection":[{"href":"https:\/\/namauro.knight.domains\/samarnauzs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/namauro.knight.domains\/samarnauzs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/namauro.knight.domains\/samarnauzs\/wp-json\/wp\/v2\/users\/60"}],"replies":[{"embeddable":true,"href":"https:\/\/namauro.knight.domains\/samarnauzs\/wp-json\/wp\/v2\/comments?post=32"}],"version-history":[{"count":3,"href":"https:\/\/namauro.knight.domains\/samarnauzs\/wp-json\/wp\/v2\/posts\/32\/revisions"}],"predecessor-version":[{"id":36,"href":"https:\/\/namauro.knight.domains\/samarnauzs\/wp-json\/wp\/v2\/posts\/32\/revisions\/36"}],"wp:attachment":[{"href":"https:\/\/namauro.knight.domains\/samarnauzs\/wp-json\/wp\/v2\/media?parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/namauro.knight.domains\/samarnauzs\/wp-json\/wp\/v2\/categories?post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/namauro.knight.domains\/samarnauzs\/wp-json\/wp\/v2\/tags?post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}