Changeset 4261 for trunk/doc/pslib/psLibSDRS.tex
- Timestamp:
- Jun 14, 2005, 3:19:11 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/doc/pslib/psLibSDRS.tex (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/psLibSDRS.tex
r4260 r4261 1 %%% $Id: psLibSDRS.tex,v 1.28 7 2005-06-15 01:11:17 jhoblittExp $1 %%% $Id: psLibSDRS.tex,v 1.288 2005-06-15 01:19:11 price Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 5018 5018 5019 5019 \begin{prototype} 5020 void psImageMaskRegion (psImage *image, psRegion region, bool logical_and, intmaskValue);5021 void psImageKeepRegion (psImage *image, psRegion region, bool logical_and, intmaskValue);5022 \end{prototype 5020 void psImageMaskRegion(psImage *image, psRegion region, const char *op, psMask maskValue); 5021 void psImageKeepRegion(psImage *image, psRegion region, const char *op, psMask maskValue); 5022 \end{prototype} 5023 5023 5024 5024 These two complementary functions set bit specified bits … … 5029 5029 outside the region, ignoring pixels inside. The pixel values are set 5030 5030 by combining the existing pixel value and the given \code{maskValue} 5031 with a logical \code{and} if \code{logical_and} is set, otherwise it 5032 uses a logical \code{or}. 5033 5034 \begin{prototype} 5035 void psImageMaskCircle (psImage *image, double x, double y, double radius, bool logical_and, int maskValue); 5036 void psImageKeepCircle (psImage *image, double x, double y, double radius, bool logical_and, int maskValue); 5031 with a logical operation. The allowed operations are \code{=}, 5032 \code{AND}, \code{OR} and \code{XOR}. 5033 5034 \begin{prototype} 5035 void psImageMaskCircle(psImage *image, double x, double y, double radius, const char *op, 5036 psMask maskValue); 5037 void psImageKeepCircle(psImage *image, double x, double y, double radius, const char *op, 5038 psMask maskValue); 5037 5039 \end{prototype} 5038 5040 … … 5044 5046 \code{psImageKeepCircle}, sets the bits outside the circle, ignoring 5045 5047 pixels inside. The pixel values are set by combining the existing 5046 pixel value and the given \code{maskValue} with a logical \code{and} 5047 if \code{logical_and} is set, otherwise it uses a logical \code{or}. 5048 pixel value and the given \code{maskValue} with a logical operation. 5049 The allowed operations are \code{=}, \code{AND}, \code{OR} and 5050 \code{XOR}. 5048 5051 5049 5052 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Note:
See TracChangeset
for help on using the changeset viewer.
