Mercurial > hg > aimc
comparison 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 |
comparison
equal
deleted
inserted
replaced
607:49eef19e4f1d | 608:fc353426eaad |
---|---|
15 % distributed under the License is distributed on an "AS IS" BASIS, | 15 % distributed under the License is distributed on an "AS IS" BASIS, |
16 % WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 16 % WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
17 % See the License for the specific language governing permissions and | 17 % See the License for the specific language governing permissions and |
18 % limitations under the License. | 18 % limitations under the License. |
19 | 19 |
20 function composite_frame = SAI_BlendFrameIntoComposite(new_frame, ... | 20 function composite_frame = SAI_BlendFrameIntoComposite( ... |
21 layer_struct, composite_frame) | 21 layer_struct, composite_frame) |
22 | 22 |
23 new_frame = layer_struct.frame; | |
23 alpha = layer_struct.alpha; | 24 alpha = layer_struct.alpha; |
24 lag_curve = layer_struct.lag_curve; | 25 lag_curve = layer_struct.lag_curve; |
25 target_columns = layer_struct.target_indices; | 26 target_columns = layer_struct.target_indices; |
26 | 27 |
27 frame_width = size(new_frame, 2); | 28 frame_width = size(new_frame, 2); |