<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<?xml-stylesheet href="./_c74_ref.xsl" type="text/xsl"?>

<!--This is an automatically generated file. DO NOT EDIT THIS FILE DIRECTLY. Rather, use the _ref.xml files found in the 'edits' folder.-->
<c74object name="jit.resamp" module="jit" category="Jitter Spatial">
	<digest>
		Resample spatially
	</digest>
	<description>
		<o>jit.resamp</o> spatially resamples the input matrix. This can be used to scale (zoom in/out) and offset (move) an image horizontally, vertically, or in both directions.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Jitter
		</metadata>
		<metadata name="tag">
			Jitter Spatial
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="matrix">
			<digest>
				in
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="matrix">
			<digest>
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="matrix">
			<digest>
				out
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="matrix">
			<digest>
				dumpout
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--MOP-->
	<mop matrixinputcount="1" matrixoutputcount="1">
		<matrixoutput name="out" planelink="1" typelink="1" dimlink="1" minplanecount="4" maxplanecount="4" mindimcount="1" maxdimcount="32">
			<types>
				char
			</types>
		</matrixoutput>
	</mop>
	<!--MESSAGES-->
	<jittermethodlist>
		<jittermethod name="bang" />
		<jittermethod name="clear" />
		<jittermethod name="exportattrs" />
		<jittermethod name="exportsummary" />
		<jittermethod name="getattributes" />
		<jittermethod name="getstate" />
		<jittermethod name="jit_matrix" />
		<jittermethod name="importattrs" />
		<jittermethod name="outputmatrix" />
		<jittermethod name="summary" />
	</jittermethodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="interp_x" get="1" set="1" type="int" size="1">
			<digest>
				X value interpolation flag
			</digest>
			<description>
				X value interpolation flag (default = 0) When the flag is set, values are interpolated across the x (horizontal) dimension values.
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Interpolation X" />
			</attributelist>
		</attribute>
		<attribute name="interp_y" get="1" set="1" type="int" size="1">
			<digest>
				Y value interpolation flag
			</digest>
			<description>
				Y value interpolation flag (default = 0) When the flag is set, values are interpolated across the y (vertical) dimension values.
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Interpolation Y" />
			</attributelist>
		</attribute>
		<attribute name="wrap" get="1" set="1" type="int" size="1">
			<digest>
				Value wrap flag
			</digest>
			<description>
				Value wrap flag (default = 0) When the flag is set, values that exceed the limits are wrapped around to the opposite limit with a modulo operation. (1.1 wraps to .1, 1.2 wraps to .2, and -1.1 wraps to .9, -1.2 wraps to .8, etc.)
				<br />
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Wrap" />
			</attributelist>
		</attribute>
		<attribute name="xscale" get="1" set="1" type="float" size="1">
			<digest>
				Horizontal scaling factor
			</digest>
			<description>
				The scaling factor for the x (horizontal) dimension (default = 1.)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="X Scale" />
			</attributelist>
		</attribute>
		<attribute name="xshift" get="1" set="1" type="float" size="1">
			<digest>
				Horizontal offset
			</digest>
			<description>
				The shift (offset) amount for x (horizontal) dimension values (default = 0.). Positive values shift right, negative values shift left.
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="X Shift" />
			</attributelist>
		</attribute>
		<attribute name="yscale" get="1" set="1" type="float" size="1">
			<digest>
				Vertical scaling factor
			</digest>
			<description>
				The scaling factor for the y (vertical) dimension (default = 1.)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Y Scale" />
			</attributelist>
		</attribute>
		<attribute name="yshift" get="1" set="1" type="float" size="1">
			<digest>
				Vertical offset
			</digest>
			<description>
				The shift (offset) amount for the y (vertical) dimension values (default = 0.) Positive values shift down, negative values shift up.
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Y Shift" />
			</attributelist>
		</attribute>
	</attributelist>
	<jitterattributelist>
		<jitterattribute name="outputmode" />
		<jitterattribute name="adapt" />
		<jitterattribute name="out_name" />
		<jitterattribute name="type" />
		<jitterattribute name="dim" />
		<jitterattribute name="planecount" />
	</jitterattributelist>
	<!--EXAMPLE-->
	<examplelist>
		<example img="jit.resamp.png" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="jit.matrix" />
		<seealso name="jit.mxform2d" />
		<seealso name="jit.rota" />
	</seealsolist>
</c74object>
