| Pixopedia_24 Tutorial | Pixels Shifting | |||
| Index page | ||||
| Previous page |
Pixels Shifting performs shifting of pixels by some amount in X and Y direction and recombining
shifted pixels with original image pixels applying one of 20 arithmetic or boolean operations. |
|||
| Next page | ||||
![]()
|
Normal operation mode shifts the image without any combining with original pixels. To combine with original image, set transparency amount as desired. XOR method performs, after shifting pixels, XOR boolean operation is performed with original pixels. AND method combines shifted and original pixels by applying AND boolean operation among them. OR method is same as above, but instead of AND operation, OR operation is applied. ADD method simply adds shifted pixels to original pixels. SUB method subtract shifted pixels from original pixels. cADD is the same as ordinary addition, but the resultant pixel is limited by applying Circular limitation. cSUB is the same as above, but instead of addition, pixels are subtracted.
Higher
method compares pixel channels. Resultant channel value is substituted by higher
(MaxVal) channel value of pixels compared. Lower method is the same as above, but resultant pixel channel value is replaced by lower (MinVal) channel value of pixels compared. Mean method results in pixel that has the mean value of original and shifted pixel. RP=(OP+SP)/2.
MinMax
method compares pixel channels. Resultant pixel has channel values combined in such way that
MaxVal of channels compared becomes MaxVal of resultant pixel and MinVal of channels compared becomes
MinVal of resultant pixel channel. Random method results in pixel that is randomly chosen between original and shifted pixel.
Equalize
applies color vector length calculation for shifted and original picture. Resultant pixel channels are multiplied by Burn is similar as above, but with inverse vector length ratio: original_pixel/ shifted_pixel. |
cSUB is the same as above, but instead of addition, pixels are subtracted. Multiply performs multiplication between original and shifted pixel. Modulo method results in pixel that is calculated as modulo of original and shifted pixel. A x B method results in pixel that is calculated as vectorial product of original and shifted pixel color vectors. Intensity method performs shifted pixel color adjustment according to maximum color value (intensity) of original pixel. Bump method performs bum-mapping with bacground color as reference color. Difference between original and shifted pixel intensity is calculated and added to background color.
BumpColor
method is similar to previous one, except that original pixel color acts as reference color.
Applying Pixels Shifting
|
||