Resize image array

버전 1.1.0.0 (1.52 KB) 작성자: Simon Musall
Fast downsampling of the first two dimensions in a multi-dimensional array
다운로드 수: 115
업데이트 날짜: 2016/11/12

라이선스 보기

Function to downsample an image stack based on averaging through a symmetric box filter in the first two dimensions. This is comparable to using other code such as imresize(DataIn,bin,'box') in a for loop but will perform much faster.
It will resize only the first two dimensions of any given data matrix while leaving additional dimension unchanged.
Usage: DataOut = arrayResize(DataIn,bin)
DataIn = x*y*n matrix to be downsampled.
bin = size of the box filter.
Downsampled image stack consists of averages of squares of the size bin*bin in the x and y dimension. If dimension x or y can not be divided by bin, the downsampled matrix will not contain the lower and right edges of DataIn that are above the highest divider.

인용 양식

Simon Musall (2026). Resize image array (https://kr.mathworks.com/matlabcentral/fileexchange/59877-resize-image-array), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2014b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Denoising and Compression에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

Changed code description and image.
Changed title

1.0.0.0