Crop .avi file

11 vues (au cours des 30 derniers jours)
Katrina German
Katrina German le 8 Mai 2021
Commenté : David Gill le 22 Nov 2022
Hi,
I'm have a video .avi file that i want to crop for these dimensions: 767 410 166 165. This is the code I have now but I keep getting a error. I've learned that I can't do it with VideoReader or vision.VideoReader. Any suggestions are welcomed.
vid=VideoReader('bubbles.mov','Tag', 'My object');
vid_croppped=vid('767 410 166 165')

Réponses (1)

Image Analyst
Image Analyst le 8 Mai 2021
See attached example and make the obvious simple modifications.
Write back if you can't figure it out.
  12 commentaires
Image Analyst
Image Analyst le 22 Nov 2022
@David Gill you were supposed to modify the demo. You were supposed to realize that the resizing line in the demo is not what you want and to delete that line. If you do that there will be no change in resolution, only that the output video will be three lines shorter vertically.
David Gill
David Gill le 22 Nov 2022
Ah I see. thank you for clarifying.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Image Processing and Computer Vision dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by