Skip to content

Commit

Permalink
fixed volume passage bug in apply_colormap
Browse files Browse the repository at this point in the history
  • Loading branch information
RR-N committed Aug 8, 2024
1 parent c443dbc commit f10de1b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions +Methods/ChunkyMethods.m
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,7 @@ function apply_colormap(app, actions, progress)
progress.Value = a/length(actions);
end

processed_vol = zeros(new_dims);
processed_vol = Methods.ChunkyMethods.apply_vol(app, actions{a}, processed_vol);
processed_vol = Methods.ChunkyMethods.apply_vol(app, actions{a}, app.proc_image.data);
end

% Save to file.
Expand Down
Binary file modified visualize_light.mlapp
Binary file not shown.

0 comments on commit f10de1b

Please sign in to comment.