Usage for scaleImage

Return to directory of Todd's CASA extensions

This function will read in a CASA single-plane image, and scales one or more rectangular regions by a scale factor. See also imshift and normalizeImage.


       au.scaleImage(myimage, boxes=[], factors=[])
To scale the whole image, set boxes to a blank box, i.e. boxes=[[]]


CASA <5>: au.scaleImage('B9scaled.image',[[147,91,181,123]],[10])
Prior max=3.504224,  new max=8.389874

Original After scaling

-- ToddHunter - 2012-07-03
Topic attachments
I Attachment Action Size Date Who Comment
original.pngpng original.png manage 17 K 2012-07-03 - 10:57 ToddHunter  
scaled.pngpng scaled.png manage 15 K 2012-07-03 - 10:57 ToddHunter  
Topic revision: r3 - 2014-06-09, ToddHunter
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback