GETPIX(1) User Commands GETPIX(1)NAME
getpix - AME
SYNOPSIS
getpix [-vp][-n num][-g val][-l val][format] file.fit x_range y_range
DESCRIPTION
Print FITS or IRAF pixel values
or getpix [-vp][-n num][-g val][-l val][format] file.fit x1 y1 x2 y2 ... xn yn
or getpix [-vp][-n num][-g val][-l val][format] file.fit @file
format: C-style (%f, %d, ...) format for pixel values file: File with x y coordinates as first two tokens on lines -d: Print range
of pixel values in specified image region -f name: Write specified region to a FITS file -g num: keep pixels with values greater
than this -i: Ignore first token per line of coordinate file -l num: keep pixels with values less than this -m: Print mean of pixel
values in specified image region -n num: number of pixel values printed per line -p: label pixels -r num: radius (<0=box) to extract
in degrees/arcsec -s: print x y value with no punctuation -v: verbose
%: C format for each pixel value
getpix 3.8.4 June 2012 GETPIX(1)
Check Out this Related Man Page
IMMATCH(1) User Commands IMMATCH(1)NAME
immatch - AME
SYNOPSIS
[-vl] [-m mag] [-n frac] [-s mode] [-g class] [-h maxref] [-i peak]
DESCRIPTION
Match catalog to image stars from WCS in image file
[-c catalog] [-p scale] [-b ra dec] [-j ra dec] [-r deg] [-t tol] [-x x y] [-y frac] FITS or IRAF file(s)
-a ang: initial rotation angle in degrees (default 0)
-b: initial center in B1950 (FK4) RA and Dec
-c cat: reference catalog (gsc, uac, ujc, tab table file
-d cat: Use following DAOFIND output catalog instead of search
-f: Write output X Y RA Dec, instead of N RA Dec X Y
-g num: Guide Star Catalog class (-1=all,0,3 (default -1)
-h num: maximum number of reference stars to use (10-200, default 25
-i num: minimum peak value for star in image (<0=-sigma)
-j: initial center in J2000 (FK5) RA and Dec
-k: magnitude to use (1 to nmag)
-l: reflect left<->right before rotating and fitting
-mx m1[,m2]: initial reference catalog magnitude and limits
-p num: initial plate scale in arcsec per pixel (default 0)
-q: fit image to catalog magnitude polynomial(s)
-r ang: rotation angle in degrees before fitting (default 0)
-s frac: use this fraction extra stars (default 1.0)
-t tol: offset tolerance in pixels (default 20)
-u num: USNO catalog single plate number to accept
-v: verbose
-w: rotate image WCS with image
-x x y: X and Y coordinates of reference pixel (default is center)
-y num: multiply image dimensions by this for search (default is 1)
-z: use AIPS classic projections instead of WCSLIB
immatch 3.8.4 June 2012 IMMATCH(1)
Hi everyone...
I'm working with XLib and I want to find out the pixel value of a particular point on screen and then map it to RGB values. I used XGetImage and XGetPixel to get the pixel value, but how do I get the RGB values of the pixel?
I went through a few XLib manuals, there seems to be no... (1 Reply)
i was able to make a connection to X server and get a screen shot using XGetImage, now, im unable to save this XImage to any good format like PNG, i found a code that saves it to bitmap, but the resulted bitmap file is massive, is there anyway i can save this XImage to PNG directly?
thanks; (7 Replies)
I need to rotate a pixmap in XLib with some kind of interpolation to reduce the aliasing.
I came up with the following code, which uses bilinear interpolation. It works fine: the rotated image looks perfect, but unfortunately it takes 5 or 6 seconds for each rotation. (in a 300x300, 16 colours... (5 Replies)