VIPMREAD_CVIP
vipmread_cvip() - Reads image data from the VIPM file.
Contents
SYNTAX
[imageData, vipmInfo] = vipmread_cvip(filename)
Input Parameter include :
- filename - Character vector specifying the name of a VIPM file.
Output Parameters includes :
- imageData - Image array (real or complex format).The image can be of uint8, int16, int32, single or double class.
- vipmInfo - Information of the VIPM image file.
DESCRIPTION
The function reads image data from the VIPM (visualization in image processing Matlab) file specified by the filename. The vipm file format is similar to the vip format in CVIPtools, which was created to handle any data types and formats.
REFERENCE
1. Scott E Umbaugh. DIGITAL IMAGE PROCESSING AND ANALYSIS: Applications with MATLAB and CVIPtools, 3rd Edition.
EXAMPLE
% test.vipm must be stored in your disk % VIPM file info [I, Info] = vipmread_cvip('test.vipm'); disp(Info);
filename: 'test.vipm' vip_version: 'vipm' file_mod_date: '29-Jan-2018 21:58:44' image_format: 'tif' color_format: 'gray_scale' cvip_type: 'cvip_byte' no_of_bands: 3 no_of_cols: 512 no_of_rows: 512 byte_order: 'le' data_format: 'real' cmpr_format: 'none' history_info: 'none' real_pixdata_offset: 51 imag_pixdata_offset: [] file_size: 786483
CREDITS
Author: Norsang Lama, April,2017
Copyright © 2017-2018 Scott
E Umbaugh
For updates visit CVIP Toolbox Website