A kind of GPU scratches image space method

A kind of GPU scratches image space method

  • CN 106,303,162 A
  • Filed: 08/16/2016
  • Published: 01/04/2017
  • Est. Priority Date: 08/16/2016
  • Status: Active Application
First Claim
Patent Images

1. a GPU scratches image space method, it is characterised in that the method comprises the steps:

  • 1) CPU obtains and scratches as required view data, including foreground image and background image, by described foreground image and BackgroundAs from RAM incoming GPU global memory;

    Described foreground image is identical with the resolution of background image;

    2) described CPU applies for space to the global memory of GPU, the view data after depositing synthesis;

    3) each block of described GPU starts to perform kernel function;

    4) described GPU is polymerized the blocks of data read foreground image and background image to shared drive respectively from global memory.5) described GPU synchronizing thread, repeats step 4, until view data to be processed all reads in shared drive;

    6) each thread of described GPU is each from shared drive reads the data of a pixel in foreground image and background image,And carry out scratching the pixel read as processing, result write is deposited the shared drive of composograph;

    7) described GPU synchronizing thread, the data of each one pixel of thread process, result all writes shared drive, finallyForm composograph data;

    8) the composograph data in shared drive are write global memory by described GPU;

    9) the composograph data back in global memory is given described CPU by described GPU;

    10) display composograph.

View all claims
    ×
    ×

    Thank you for your feedback

    ×
    ×