1461098970-5c9aaa5c-382c-4e72-be5f-06467187ad1d

What is claimed is:

1. A method of preventing HIV and retroviral infections comprising administering to a patient in need thereof a therapeutically effective amount of (5-aryl-1,2,4-thiadiazol)-3-yl thiourea derivative or (5-aryl- 1,2,4-thiadizol)-3-yl urea derivative having the formula:
6
wherein X is oxygen or sulfur, R is hydrogen or alkyl having from 1-3 carbons, n is 1-4, R1 is independently selected from the group consisting of hydrogen, alkyl having from 1 to 7 carbon atoms, chloro, bromo or fluoro, oxychloro, alkoxy having the formula O(CH2)yCH3 wherein y is from 1 to 6, or the pharmaceutically acceptable acid addition salt or prodrugs thereof for a period of time sufficient to build up immunity to the infection with the virus.
2. A method according to claim 1 wherein the treatment is for at least 3 weeks.
3. A method according to claim 2 comprising administering a therapeutically effective amount of a pharmaceutical composition comprising (5-phenyl-1,2,4-thiadiazol)-3-yl thiourea or the pharmaceutical addition salt thereof or the prodrugs thereof.
4. A method according to claim 3 comprises administering to a patient in need thereof from about 1 mgkg to about 10000 mgkg of said (5-aryl-1,2,4-thiadiazol)-3-yl thiourea derivative.
5. A method according to claim 2 comprises administering an adjunct therapy with said (5-aryl-1,2,4-thiadiazol)-3-yl thiourea derivative or (5-aryl-1,2,4-thiadizol)-3-yl urea derivative
6. A method according to claim 5 wherein said adjunct therapy comprises administration of a member selected from the group consisting of AZT, TC-3 and protease inhibitors.
7. A method according to claim 1 wherein said (5-aryl-1,2,4-thiadiazol)-3-yl thiourea is administered in a solid form and wherein said solid form includes a carrier selected from the group consisting of lactose, sucrose, gelatin and agar.
8. A method according to claim 7 wherein from about 10 mgkg body weight to about 6000 mgkg body weight of said (5-aryl-1,2,4-thiadiazol)-3-yl thiourea is administered.
9. A method according to claim 1 wherein said (5-aryl-1,2,4-thiadiazol)-3-yl thiourea is administered in a liquid form and wherein said liquid dosage form is selected from the group consisting of aqueous solutions, alcohol solutions, emulsions, liposomes, suspensions, and suspensions reconstituted from non-effervescent and effervescent preparations and suspensions in pharmaceutically acceptable fats or oils.
10. A method of treating viral infections comprising administering a therapeutically effective amount of (5-phenyl-1,2,4-thiadiazol)-3-yl thiourea having the formula:
7
wherein X is sulfur, R is hydrogen, n is 1-4, R1 is independently selected from the group consisting of hydrogen or alkyl having from 1 to 7 carbon atoms or the prodrugs or pharmaceutically acceptable addition salt thereof.
11. A method according to claim 10 wherein R1 is hydrogen and n is 4 and R is hydrogen.
12. A method according to claim 11 wherein said pharmaceutical composition comprises from about 1 mgkg to about 6000 mgkg of said (5-aryl-1,2,4-thiadiazol)-3-yl thiourea.

The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.

1. A video anti-shaking method, comprising:
obtaining a first global relative motion vector and a sequence of second global relative motion vectors, wherein the first global relative motion vector represents a global relative motion vector of a current video frame relative to a video frame which is previous and adjacent to the current video frame, and the sequence of second global relative motion vectors comprises one or more second global relative motion vectors each of which represents a global relative motion vector of a reference video frame relative to a video frame which is previous to and adjacent to the reference video frame;
calculating a sequence of third global relative motion vectors based on the first global relative motion vector and the sequence of second global relative motion vectors, wherein the sequence of third global relative motion vectors comprises one or more third global relative motion vectors each of which represents a global relative motion vector of a reference video frame relative to the current video frame;
filtering the sequence of third global relative motion vectors to obtain a motion vector for compensating shaking of the current video frame; and
cropping an entire pixel image of the current video frame based on the motion vector for compensating shaking of the current video frame and a predetermined size of an effective pixel image to obtain an image after anti-shaking compensation.
2. The video anti-shaking method according to claim 1, wherein the reference video frame is one video frame adjacent to the current video frame or one of a set of consecutive video frames adjacent to the current video frame.
3. The video anti-shaking method according to claim 1, wherein obtaining the first global relative motion vector and the sequence of second global relative motion vectors comprises:
detecting information of lens motion during video-recording; and
calculating the first global relative motion vector and the sequence of second global relative motion vectors based on the information of lens motion.
4. The video anti-shaking method according to claim 1, wherein obtaining the first global relative motion vector and the sequence of second global relative motion vectors comprises:
obtaining the current video frame and the reference video frame;
calculating a sequence of fourth global relative motion vectors and a sequence of fifth global relative motion vectors using a motion estimation algorithm, respectively, wherein the sequence of fourth global relative motion vectors comprises global relative motion vectors of pixel blocks in the current video frame relative to corresponding pixel blocks in a video frame previous to and adjacent to the current video frame, and the sequence of fifth global relative motion vectors comprises global relative motion vectors of pixel blocks in the reference video frame relative to corresponding pixel blocks in a video frame previous to and adjacent to the reference video frame; and
calculating the first global relative motion vector and the sequence of second global relative motion vectors based on the sequence of fourth global relative motion vectors and the sequence of fifth global relative motion vectors.
5. The video anti-shaking method according to claim 4, wherein calculating the sequence of fourth global relative motion vectors and the sequence of fifth global relative motion vectors using the motion estimation algorithm comprises:
calculating the sequence of fourth global relative motion vectors based on all pixel blocks in the current video frame or portions of the pixel blocks in the current video frame; and
calculating the sequence of fifth global relative motion vectors based on all pixel blocks in the current video frame or portions of the pixel blocks in the reference video frame.
6. The video anti-shaking method according to claim 1, wherein calculating a third global relative motion vector of a particular reference video frame, which is previous to the current video frame, based on the first global relative motion vector and the sequence of second global relative motion vectors comprises:
calculating a summation of second global relative motion vectors of all reference video frames after the particular reference video frame and before the current video frame and the first global relative motion vector of the current video frame; and
multiplying the summation with \u22121 to obtain the third global relative motion vector of the particular reference video frame relative to the current video frame.
7. The video anti-shaking method according to claim 1, wherein calculating a third global relative motion vector of a particular reference video frame, which is after the current video frame, based on the first global relative motion vector and the sequence of second global relative motion vectors comprises:
summing up second global relative motion vectors of all reference video frames after the current video frame and before the particular reference video frame and the second global relative motion vector of the particular reference video frame to obtain the third global relative motion vector of the particular reference video frame relative to the current video frame.
8. The video anti-shaking method according to claim 1, wherein filtering the sequence of third global relative motion vectors comprises a low-pass filtering process to filter out high frequency portions in the sequence of third global relative motion vectors.
9. The video anti-shaking method according to claim 1, wherein cropping the entire pixel image of the current video frame based on the motion vector for compensating shaking of the current video frame and the predetermined size of an effective pixel image to obtain the image after anti-shaking compensation comprises:
setting an end point of the motion vector for compensating shaking as a compensation center, wherein the motion vector for compensating shaking starts from a geographic center of the entire pixel image of the current video frame;
determining a cropping region on the entire pixel image of the current video frame, wherein the cropping region has a geographic center as the compensation center and a size as the size of the effective pixel image; and
outputting pixels within the cropping region as the image after anti-shaking compensation.
10. A video anti-shaking device, comprising:
a first processing unit, adapted to obtaining a first global relative motion vector and a sequence of second global relative motion vectors, wherein the first global relative motion vector represents a global relative motion vector of a current video frame relative to a video frame which is previous and adjacent to the current video frame, and the sequence of second global relative motion vectors comprises one or more second global relative motion vectors each of which represents a global relative motion vector of a reference video frame relative to a video frame which is previous to and adjacent to the reference video frame;
a second processing unit, adapted to calculating a sequence of third global relative motion vectors based on the first global relative motion vector and the sequence of second global relative motion vectors, wherein the sequence of third global relative motion vectors comprises one or more third global relative motion vectors each of which represents a global relative motion vector of a reference video frame relative to the current video frame;
a third processing unit, adapted to filtering the sequence of third global relative motion vectors to obtain a motion vector for compensating shaking of the current video frame; and
a fourth processing unit, adapted to cropping an entire pixel image of the current video frame based on the motion vector for compensating shaking of the current video frame and a predetermined size of an effective pixel image to obtain an image after anti-shaking compensation.
11. The video anti-shaking device according to claim 10, wherein the reference video frame is one video frame adjacent to the current video frame or one of a set of consecutive video frames adjacent to the current video frame.
12. The video anti-shaking device according to claim 10, wherein the first processing unit comprises:
a lens motion information detecting sub-unit, adapted to detecting information of lens motion during video-recording; and
a lens motion information processing sub-unit, adapted to calculating the first global relative motion vector and the sequence of second global relative motion vectors based on the information of lens motion.
13. The video anti-shaking device according to claim 12, wherein the lens motion information detecting sub-unit is a gyro sensor.
14. The video anti-shaking device according to claim 10, wherein the first processing unit comprises:
a video frame receiving sub-unit, adapted to obtaining the current video frame and the reference video frame;
a motion estimation calculation sub-unit, adapted to calculating a sequence of fourth global relative motion vectors and a sequence of fifth global relative motion vectors using a motion estimation algorithm, respectively, wherein the sequence of fourth global relative motion vectors comprises global relative motion vectors of pixel blocks in the current video frame relative to corresponding pixel blocks in a video frame previous to and adjacent to the current video frame, and the sequence of fifth global relative motion vectors comprises global relative motion vectors of pixel blocks in the reference video frame relative to corresponding pixel blocks in a video frame previous to and adjacent to the reference video frame; and
a global relative motion vector calculation sub-unit, adapted to calculating the first global relative motion vector and the sequence of second global relative motion vectors based on the sequence of fourth global relative motion vectors and the sequence of fifth global relative motion vectors.
15. The video anti-shaking device according to claim 10, wherein the third processing unit comprises a low-pass filtering sub-unit for filtering out high frequency portions in the sequence of third global relative motion vectors.