Concatenate images with different size to buffer

조회 수: 3 (최근 30일)
Itai Kadosh
Itai Kadosh 2017년 1월 22일
댓글: Walter Roberson 2017년 1월 22일
Hi all,
i would like to update buffer of images, the buffer contains 15 images with different size (the size: VxHx15) and I should update the last image in the buffer and delete the first. I tried to use "Cat" function but it doesn't work with different dimensions, how can I concatenate different images size to this buffer?? please help me, Itai
  댓글 수: 3
Itai Kadosh
Itai Kadosh 2017년 1월 22일
The buffer is used as a background for image processing code and he should contains all along the code 15 images, when every iteration this buffer is updating with new image instead of the first image that deleted. But, i don't know what is the max size of the images in the video file, moreover I would like to be able to use different video files if I would like to...
Walter Roberson
Walter Roberson 2017년 1월 22일
For any given video file all of its frames are the same size, so unless you are using different video files at the same time then your buffer should only be dealing with images that are not changing size, which is a much easier problem.

댓글을 달려면 로그인하십시오.

답변 (1개)

KSSV
KSSV 2017년 1월 22일
편집: KSSV 2017년 1월 22일
Use resize to change the dimensions of image to your desired size. Make all the images to same size.
  댓글 수: 1
Itai Kadosh
Itai Kadosh 2017년 1월 22일
I don't know what is the size of the images, because I have in the code a video file from which I take the images and the video file size can vary, so I do not know his size...

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by