Cut images with equal size and position
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
agung pratama
el 9 de Sept. de 2020
Comentada: Image Analyst
el 22 de Sept. de 2020
Hello guys, how can i cut some images into same size and i can set (x1,y1) dan (x2,y2) for images cutting.
0 comentarios
Respuesta aceptada
KSSV
el 9 de Sept. de 2020
Yes i can be done....define your (x1,y1) and (x2,y2). Note that they should be positive integers. Let I be your image.
iwant = I(x1:x2,y1:y2,:) ;
Also read about imcrop.
11 comentarios
Image Analyst
el 22 de Sept. de 2020
If it worked, please accept the answer to give KSSV credit for it.
Más respuestas (0)
Ver también
Categorías
Más información sobre Image Processing Toolbox en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!