bilinear interpolation verilog code
#1

Hi i want help on verilog code for bilinear interpolation. FPGA will receive grayscale image from computer using uart interface as input lets say 256x256 and output will 512x512. please help me on this. thankyou
Reply
#2
In mathematics, bilinear interpolation is an extension of linear interpolation for the interpolation functions of two variables (for example, x and y) into a rectilinear 2D grid.


The key idea is to perform linear interpolation first in one direction, and then again in the other direction. Although each step is linear in the sampled values and in the position, the interpolation as a whole is not linear but rather quadratic in the sample location.

In computer vision and image processing, bilinear interpolation is one of the basic techniques of resampling.

In texture mapping, it is also known as bilinear filtering or bilinear texture mapping, and can be used to produce a reasonably realistic image. An algorithm is used to assign a screen pixel location to a corresponding point in the texture map. A weighted average of the attributes (color, alpha, etc.) of the four surrounding texels is calculated and applied to the screen pixel. This process is repeated for each pixel forming the object being textured.

When an image needs to be magnified, each pixel of the original image needs to be moved in a certain direction based on the scale constant. However, by enlarging an image by a non-integral scaling factor, there are pixels (ie, holes) to which no suitable pixel values are assigned. In this case, these holes should be assigned appropriate RGB or grayscale values so that the output image does not have unvalued pixels.

Bilinear interpolation can be used where perfect image transformation with pixel mapping is impossible, so that one can calculate and assign appropriate intensity values to pixels. Unlike other interpolation techniques, such as near-neighbor interpolation and bicubic interpolation, bilinear interpolation uses only the 4 closest pixel values that are located in diagonal directions from a given pixel to find the color intensity values Appropriate for that pixel.

Bilinear interpolation considers the nearest 2x2 neighbourhood of known pixel values surrounding the calculated location of the unknown pixel. It then takes a weighted average of these 4 pixels to arrive at their final interpolated value. The weight in each of the 4 pixel values is based on the calculated distance of the pixel (in the 2D space) of each of the known points.
Reply
#3
hi jaseela123. i know what billinear interpolation is.. i want help implimenting it on FPGA in verilog.. please somebody help
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: edge enhancement interpolation matlab code, matlab source code for image bicubic interpolation, bilinear interpolation, opencv bicubic interpolation source code, bilinear interpolation code resizing, scilab bilinear code, program in c image bilinear interpolation,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  can anyone provide us verilog HDL code for DWT 0 6,392 28-11-2018, 11:21 AM
Last Post:
  verilog code for atm machine pdf 1 705 27-07-2018, 10:38 AM
Last Post: Guest
  vending machine full project in verilog 0 616 02-07-2018, 10:15 PM
Last Post: Guest
  verilog code for linear convolution 0 526 19-06-2018, 05:26 PM
Last Post: Guest
  verilog code for 8 bit nikhilam sutra 0 530 15-06-2018, 11:44 AM
Last Post: Guest
  verilog code wallace tree multiplier using compressor 0 537 09-05-2018, 04:02 PM
Last Post: Guest
  verilog code for ant colony optimization to implement in fpga 0 503 21-04-2018, 10:17 AM
Last Post: Guest
  how to interface lm35 with fpga code in verilog 0 513 04-03-2018, 09:56 PM
Last Post: Guest
  dma controller using verilog code 0 594 04-03-2018, 09:16 PM
Last Post: Guest
  vhdl verilog codes for digital watermarking 0 526 04-03-2018, 07:34 PM
Last Post: Guest

Forum Jump: