List of Routines By Functionality | MISR Toolkit: Main Page
-Abstract MTK_UPSAMPLE_MASK Upsample a mask by nearest neighbor resampling. -Copyright Copyright (2013), California Institute of Technology. U.S. Government sponsorship acknowledged. -I/O Given: src_mask source mask size_factor factor by which to scale up source mask the call: status = MTK_UPSAMPLE_MASK( src_mask, size_factor, resamp_mask ) returns: status 0 on success; otherwise failure resamp_mask upscaled mask -Examples ;; ;; Set up input parameters ;; src_mask = byte(replicate(1,528,384)) size_factor = 2 ;; ;; The call ;; status = MTK_UPSAMPLE_MASK( src_mask, size_factor, resamp_mask ) ;; ;; Output... ;; print, '=================================================' help, src_mask, resamp_mask IDL outputs: ================================================= SRC_MASK BYTE = Array[528, 384] RESAMP_MASK BYTE = Array[1056, 768] -Particulars None. -Required Reading For important details concerning this module's function, please refer to the MTK routine MtkUpsampleMask.c. -Version -IDL-MTK Version 1.2.4