how to crop images 3D
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
mohd akmal masud
el 18 de Oct. de 2022
Editada: Cris LaPierre
el 18 de Oct. de 2022
Dear all,
I have 130x130x36 image as attached.
How to crop it into 130x130x10 ?
I tried this command, but error
h = imcrop(imstack3,[1:10]);
Error using images.internal.crop.parseInputsOverTwo>checkCData
Invalid input image.
Error in images.internal.crop.parseInputsOverTwo (line 52)
checkCData(a);
Error in imcrop (line 104)
images.internal.crop.parseInputsOverTwo(varargin{:});
2 comentarios
Respuesta aceptada
Cris LaPierre
el 18 de Oct. de 2022
Editada: Cris LaPierre
el 18 de Oct. de 2022
Why not just do this
h = imstack3(:,:,1:10)
h = imcrop3(imstack3,[1,1,1,129,129,9]); % [xmin ymin zmin width height depth]
0 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!