diff matlab/bmm/carfac/SAI_BlendFrameIntoComposite.m @ 608:fc353426eaad

Better functionization of SAI, and new way to make picture with lag marginal and smoothed history of lag marginal.
author dicklyon@google.com
date Mon, 13 May 2013 21:15:56 +0000
parents ec3a1c74ec54
children b3118c9ed67f
line wrap: on
line diff
--- a/matlab/bmm/carfac/SAI_BlendFrameIntoComposite.m	Fri May 10 20:12:49 2013 +0000
+++ b/matlab/bmm/carfac/SAI_BlendFrameIntoComposite.m	Mon May 13 21:15:56 2013 +0000
@@ -17,9 +17,10 @@
 % See the License for the specific language governing permissions and
 % limitations under the License.
 
-function composite_frame = SAI_BlendFrameIntoComposite(new_frame, ...
+function composite_frame = SAI_BlendFrameIntoComposite( ...
   layer_struct, composite_frame)
 
+new_frame = layer_struct.frame;
 alpha = layer_struct.alpha;
 lag_curve = layer_struct.lag_curve;
 target_columns = layer_struct.target_indices;