User Tools

Site Tools


jvs:cigal:manual:chapter3:analyze

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
jvs:cigal:manual:chapter3:analyze [2011/03/31 14:49]
127.0.0.1 external edit
jvs:cigal:manual:chapter3:analyze [2023/02/23 18:43] (current)
Line 8: Line 8:
 elements in the array represent the frequency distribution of the possible elements in the array represent the frequency distribution of the possible
 values in the input.  Thus, element 45 in the output array corresponds to the values in the input.  Thus, element 45 in the output array corresponds to the
-number of elements in the input array with value equal to 45.  For inputs greater +number of elements in the input array with value equal to 45.   
-than 8-bitsonly the low-order 12 bits are considered.+ 
 +By default, RESULTARRAY will be allocated 256 elements if IVARB is a byte array, or 4096 elements 
 +otherwise.  If RESULTARRAY already has more than that many elements allocated to it the entire array will be used as the output histogram. In general, the length of RESULTARRAY should be 1 more than the largest integer value in IVARB. 
 + 
 +Any IVARB values less than 0 will be counted in the 0 element of RESULTARRAY, and IVARB values greater than the length of RESULTARRY will be counted in the last element of RESULTARRAY.
  
 The array produced by ANALYZE is useful for measuring various descriptive properties The array produced by ANALYZE is useful for measuring various descriptive properties
Line 55: Line 59:
           sum(buf)/             ; the mean pixel intensity           sum(buf)/             ; the mean pixel intensity
  
-The command MEAN(VGA0) would give the same result, but is generally slower.+The command MEAN(VGA0) would give the same result, but is sometimes slower.
  
 **See Also:**\\ **See Also:**\\
jvs/cigal/manual/chapter3/analyze.1301582953.txt.gz · Last modified: 2014/08/04 16:03 (external edit)