MimShift()函数
Synopsis
Perform a point-to-point bit shift.
Format
void MimShift(SrcImageBufId, DestImageBufId, BitsToShift)
MIL_ID SrcImageBufId;??? Source image buffer identifier
MIL_ID DestImageBufId;??? Destination image buffer identifier
long BitsToShift;??? Number of bits to shift
Description
This function performs left or right bit-shifting on each pixel in the specified image. The shift operation is signed or unsigned depending on the source image buffer’s data type.
The SrcImageBufId parameter specifies the identifier of the data source of the operation. This parameter must be given an image buffer identifier.
The DestImageBufId parameter specifies the identifier of the destination of the results. This parameter must be given an image buffer identifier.
The BitsToShift parameter specifies the number of bits to shift. If the given value is negative, each pixel in the specified image is right bit-shifted by the specified number of bits; otherwise, it is left bit-shifted.
Note
Floating point values will be cast as unsigned long values before performing the shift operation. Therefore, unexpected results can occur if a floating point value is larger than the unsigned long range.
Status
In-place processing is supported, but the source and destination image buffers cannot partially overlap (a situation that can only occur when using child buffers).
注:用于图像移位操作,BitsToShift为正数左移,BitsToShift为负数右移;具体移位的作用就相当于移几位乘几个2或除几个2。移位可以参考这篇。巧用移位操作
Really lots of very good advice. fluconazol 150 mg
Nicely put, Appreciate it. fluconazole 200 mg
You made the point! canadian drugs
Nicely put, Appreciate it. northwestpharmacy
You actually reported this effectively! cbd oil for sale
You reported this very well! viagra without a doctors prescription
Truly plenty of fantastic data! canadian pharmacy online
Thanks! A good amount of stuff.
how much is viagra
Position very well used.! flagyl
Amazing quite a lot of amazing facts! online pharmacies in usa
Nicely put, Thank you! trust pharmacy canada
Whoa loads of fantastic data. online pharmacies of canada
Thank you. A lot of content.
Azithromycin 2g Without A Perscription
Superb information. Kudos! cbd oil online
You actually said it terrifically! wellbutrin medication
Nicely put, Cheers. canada drugs
Useful info. Regards. metformin er 500 mg
Thanks a lot! Lots of information!
hemp oil benefits
You actually mentioned that fantastically. canadian pharmacies online prescriptions
Thanks. I like this! viagra without doctor preion