Changeset 21316 for trunk/psLib/src/imageops/psImageCovariance.h
- Timestamp:
- Feb 5, 2009, 10:15:32 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/imageops/psImageCovariance.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/imageops/psImageCovariance.h
r21298 r21316 5 5 * @author Paul Price, IfA 6 6 * 7 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $8 * @date $Date: 2009-02-05 00:42:48$7 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2009-02-05 20:15:32 $ 9 9 * Copyright 2009 Institute for Astronomy, University of Hawaii 10 10 */ … … 21 21 // storage difficult; and if that's not enough, the time to do the calculation is definitely impractical). 22 22 // Since there are (generally) lots of zeros in the covariance matrix, and the same basic pattern repeats (for 23 // background pixels), we can just carry that pattern . We carry this in a psKernel, since the values are the24 // covariance between the pixel of consideration (at 0,0 in the kernel) and neighbouring pixels. Note that25 // this may not be strictly correct near sources, but this is the best we can do (and much better than most26 // currently do).23 // background pixels), we can just carry that pattern ("covariance pseudo-matrix"). We carry this in a 24 // psKernel, since the values are the covariance between the pixel of consideration (at 0,0 in the kernel) and 25 // neighbouring pixels. Note that this may not be strictly correct near sources, but this is the best we can 26 // do (and much better than most currently do). 27 27 28 28 /// Allocate a covariance pseudo-matrix with no covariance … … 50 50 ); 51 51 52 /// Truncate covariance pseudo-matrix 53 /// 54 /// The covariance pseudo-matrix is truncated by removing the outer regions that contribute less than the 55 /// nominated fraction of the total. 56 psKernel *psImageCovarianceTruncate( 57 const psKernel *covar, ///< Covariance pseudo-matrix 58 float frac ///< Fraction of covariance to truncate 59 ); 52 60 53 61 /// @}
Note:
See TracChangeset
for help on using the changeset viewer.
