Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. Plot1 = Import["ExampleData/CTengine.tiff", "Image3D"];
  2. PlotData1 = ImageData@Plot1;
  3. PlotData1Filtered = PlotData1 /. x_ /; x < 0.2 -> 0;
  4. PlotData1Normlalized = PlotData1Filtered/Max[Flatten@PlotData1Filtered];
  5. Image3D[PlotData1Normlalized, ColorFunction -> "Hue"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement