NI Home
Cart Cart | Help
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Gray level co-occurrence matrix

VERSION 3 Published

Created on: Dec 18, 2007 7:40 AM by Beta Community Content - Last Modified:  Dec 18, 2007 9:06 AM by Beta Community Content


REQUIREMENTS:
Application Software: LabVIEW Base Development System

 

This example shows how to find gray level co-occurrence matrix from pixel value input array.

There are 3 vis inside this example:1. glcm_main.vi will find the maximum pixel value to initialize gray level co-occurence matrix array (glcm). Then, it'll extract each pixel value inside array, together with right and below pixel value. The extracted values are used for determining which row and column inside glcm needs an increment.2. cell_value.vi extracts pixel value on right and below of current cell. If an index is invalid, it'll output -1.3. update_array.vi increments value in glcm according to its input row and column. If row or column is equal to -1 which means invalid index, it'll just pass input array to output array.

 

 

Downloads:
Average User Rating
(0 ratings)




There are no comments on this document

More Like This

  • Retrieving data ...