A(A>300)=300
How to set a threshold in data
32 次查看(过去 30 天)
显示 更早的评论
I have a 3D images stored in a matrix A. Some pixels are outliers and I want to put a threshold.
When the value at particular pixel is bigger than 300 then set it to 300.
Can anyone help with that?
0 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!