Plate.AttachNoImage() Method

Performs a fast AttachFITS by not allocating the image array and reading the image data. See Remarks for limitations.

Syntax

Plate.AttachNoImage(FileName)

The method syntax has these parts:

Part Description
FileName (String) The full path and name of the FITS image to attach
Return (Boolean) Success or failure (generates trappable error on failure)

Remarks

This is a variation on Plate.AttachFITS() whch bypasses the time-consuming scaling and input of the image array and eliminates the memory consumed by allocating the image array. Use this when you just want to read and/or modify properties that translate to FITS headers without using the image itself. If attached with this method, the Plate.FullWidthHalfMax property will not be available (it will be 0), and the filtering methods such as Plate.Blur() and Plate.ConvolveGaussian() will fail since no image array is available.

If the image was previously attached with Plate.AttachFITS() and scanned with Plate.FindImageStars() with the Plate.CacheImageStars property set to True, then the star cache may be available. In this case, a plate that has been attached with Plate.AttachNoImage() can still be solved with Plate.Solve().