Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.466.603 Times

BlockMean 1.0

  Date Added: April 30, 2013  |  Visits: 299

BlockMean

Report Broken Link
Printer Friendly Version


Product Homepage
Download (44 downloads)



BLOCKMEAN - Fast mean of rectangular submatricesThe mean of V*W elements along the 1st and 2nd dimension is calculated. This is no running mean filter: The sizes of the 1st and 2nd dimension are reduced by the factors V and W.I use this as cheap anti-aliasing of RGB images, therefore it is implemented for DOUBLE and UINT8 input.Y = BlockMean(X, V, W)Input: X: UINT8 or DOUBLE array of any size. V, W: 2 scalars as size of the window. Each element of the output is the mean over V*W neighbouring elements of the input. V and W are limited to 256 to limit memory usage.Output: Y: UINT8 or DOUBLE array, the 1st and 2nd dimensions are V and W times shorter: [FIX(X / V) x FIX(Y / W) x (further dims...)] If the size of the 1st or 2nd dimension is not a multiple of V and W, the remaining elements at the end are skipped.E.g. for 4x4 blocks of a 1024x768x3 double array, this MEX implementation is about 5 times faster than the corresponding Matlab method (Matlab 2009a, 1.5GHz Pentium-M, WinXP, MSVC 2008): reshape(sum(sum(reshape(X, 4, 256, 4, 192, 3), 1), 3), 256, 192, 3).Run the unit-test uTest_BlockMean to check validity and speed.Tested with: LCC v2.4, v3.8, Open Watcom 1.8, BCC 5.5, MSVC 2008, Matlab 6.5, 7.7, 7.8, WinXP 32 bitCompatibility assumed: Linux, MacOS, 64bit.Pre-compiled Mex: http://www.n-simon.de/mexI'd appreciate suggestions for improvements and bug reports sent through email - thanks.

Requirements: No special requirements
Platforms: Matlab
Keyword: 2009a Ghz Matlab Method Pentiumm Reshapesumsumreshapex Unittest Utest Blockmean Winxp
Users rating: 0/10

License: Shareware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


BLOCKMEAN RELATED
Development Tools  -  DGradient 1.0
Gradient along a specified dimensionY = DGradient(X, Dim, Spacing, Method)INPUT: X: Real DOUBLE array, any number of dimensions. Spacing: Scalar or vector of the length SIZE(X, Dim). Dim: Dimension to operate on. Optional, default: 1st...
10 KB  
Communication  -  fSGolayFilt 1.0
fSGolayFilt is a fast polynomial smoothing filter for uniformly spaced signals. This implementation offers less flexibility than other versions found in the MATLAB Central (eg. from Jianwen Luo, YangQuan Chen or Vassili Pastushenko), but it is...
20.48 KB  
Multimedia  -  Multi ROI/Mask Editor Class 1.0
This is a class with a convenient user interface to define multiple region of interest (ROI) masks on a given image.All the imroi tools (freehand, circle, rectangle, polygon) can be used to define these region(s).Loading and storing of previously...
10 KB  
Development Tools  -  anyExceed 1.0
Check if any element exceeds upper or lower limitEquivalent Matlab expression: any(Array(:) Upper)This Mex is faster especially for large arrays, because it returns after the first match is found and it does not create...
10 KB  
Development Tools  -  VChooseKO 1.0
VChooseKO(V, K) creates a matrix, which rows are all permutations of choosing K elements of the vector V with order and without repetitions.INPUT: V: Array of class DOUBLE, SINGLE, (U)INT8/16/32/64, LOGICAL, CHAR. K: Number of elements to...
20.48 KB  
Development Tools  -  VChooseKR 1.0
VChooseKR(V, K) creates a matrix, which rows are all combinations created by choosing K elements of the vector V without order and with repetitions.INPUT: V: Array of class DOUBLE, SINGLE, (U)INT8/16/32/64, LOGICAL, CHAR. Prefer (U)INT8 or...
10 KB  
Development Tools  -  VChooseKRO 1.0
VChooseKRO(V, K) creates a matrix, which rows are all permutations created by choosing K elements of the vector V with order and with repetitions.INPUT: V: Array of class DOUBLE, SINGLE, (U)INT8/16/32/64, LOGICAL, CHAR. Prefer (U)INT8 or (U)INT16...
10 KB  
Development Tools  -  DateConvert 1.0
DateConvert: Simple but fast date conversionDateConvert converts the DATESTR(0) format to a date vector or serial date number and backwards.Matlab's DATENUM, DATEVEC and DATESTR accept a variety of inputs, but in consequence they are slow. If the...
10 KB  
Development Tools  -  FilterM 1.0
FilterM, FiltFiltM: Fast digital filterThese functions are compatible to MATLAB's FILTER and FILTFILT commands,but they are faster (see screenshot): FilterM: 30%-40% of FILTER runtime FiltFiltM: 4%-20% of FILTFILT runtimeADDITIONAL FEATURES:- The...
20.48 KB  
Development Tools  -  DNorm2 1.0
Fast euclidian norm over N.th dimension of a DOUBLE arrayY = DNorm2(X, N)INPUT: X: Real DOUBLE array. N: Dimension to operate on.OUTPUT: Y: Euclidian norm over N.th dimension: Y = sqrt(sum(X .* X, N)). Length of N.th dimension of Y is 1. NaN's are...
10 KB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Development Tools  -  Aml2CHM 3.50
Those who use the popular Aml Pages text editor might be looking out for a way of generating help files from their text and notes. Aml2CHM is a plug-in that was developed to offer people a quick and efficient way of converting Aml Pages documents...
549.99 KB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  Sending reports and timestamped file by emailing 1.0
main executing reference usage:[1] usage_send_mail.mIllustrates email sending with multiple separate files or single timestamped tar file. Attachment failure is properly handled, with continuation of report emailing without the attachment.[2]...
768 KB  
Development Tools  -  IrisMVC 2.0 rc1
IrisMVC is an OOP PHP framework that developers can use as a strong and secure foundation to build on various web applications following the Model-View-Controller (MVC) pattern. It provides the basic functionality developers need, without...
51.2 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB