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.
Imagine you have two slides of the same picture. Now put one slide onto another and shift one slide a bit. This is actually normal shift with transparency amount set to 50%.

  Next page
   
 


Shifting Direction and Amount
On the right side of control panel, you will notice a round red button surrounded by eight arrows.
Pressing the arrow pixels are shifted in direction of that arrow for one step. To increase shifting amount, press desired arrow several times. To annulate shifting amount, simply press central button.
You can also choose if pixels will be combined with Normal original image pixels or with Complement image pixels.
In last mode, original image pixels are inverted to negative.
Original pixel channel values can be also shifted for desired amount of bits, left or right.
For more info, see bit shifting.

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.
For example: original_pixel: R=20 G=100 B=200; shifted pixel: R=30 G=50 B=230; resultant pixel: R=30 G=100 B=230;

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
shifted_pixel/ original_pixel vector length ratio.

Burn is similar as above, but with inverse vector length ratio: original_pixel/ shifted_pixel.

 


sADD is the same as ordinary addition, but the resultant pixel is limited by applying SwapColor limitation.

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
If you want to apply Pixels Shifting on whole image, after choosing the method, mode and amount of bit shifting, simply press Image button. Shifting will be applied to whole image.

You can apply Pixels Shifting through brush movement, contour and mask as well. For shape selection and brush movement refer to Shapes and Brushes section.

NOTE:
Resultant image is affected by all previously set
Global parameters.
All pixels that are shifted beyond the image border are wrapped around.
Depending on screen resolution, not all methods are visible in list box. List box can be scrolled up or down.



Example of Shift action. Original pictures are on the left, right pictures are processed with Shift action. Click on picture to enlarge.