I'm new of computer vision concepts and I'd like to know why, when we double the size of an image, we should use bilinear interpolation where pixels haven't values instead of average between nearest known values pixels.
Interpolation vs Average
1.3k Views Asked by M.Morris At
1
There are 1 best solutions below
Related Questions in IMAGE-PROCESSING
- Need help in detecting multiple blobs
- Image based steganography that survives resizing?
- WinRT Extract Thumbnail from RAW image format
- 3D B-Spline approximation
- Qualitative and Quantitative analysis of filtered back projection / iradon in matlab
- How to detect objects in an image based on colour?
- How to make sense (handle) when computes logarithm of zero in prior information
- scilab - Drawing bounding box
- Lowpass filter non working
- Get a single line representation for multiple close by lines clustered together in opencv
- error while drawing several x-marks on a binary image in matlab
- Which method should I use to find gradient direction of pixels in an image?
- Finding Circle Boundary Pixels Coordinates and RGB Intensity Values from An RGB Input Image in Matlab
- using SURF for handdetection
- Using only one tool from CLImageEditor
Related Questions in COMPUTER-VISION
- OpenCV algorithm of contours searching and creation of bounding rectagle
- How to make sense (handle) when computes logarithm of zero in prior information
- Matlab code crashes and gives error: Dimension of matrices being concatenated are not consistent
- Haar Cascade classifier does not detect faces in simple frontal pictures
- Face cropping using facial landmarks
- qtimer and opencv running slow
- Simple RGB to Gray program crashes
- Estimating pose of one camera given another with known baseline
- dealing with dimensions in scikit-learn tree.decisiontreeclassifier
- converting matlab code to c code readiness error
- MATLAB ConnectedComponentLabeler does not work in for loop
- Finding camera position without calibration
- StereoSGBM cannot handle negative minDisparity
- How to speed up caffe classifer in python
- HOG Feature extraction
Related Questions in BILINEAR-INTERPOLATION
- Texture taken from Item: can I make its filtering be gamma-correct?
- Faster Method for Multiple Bilinear Interpolation?
- Putting contributions of continuous values in a discrete 2D grid, based on distance from the nearest pixels
- Interpolation vs Average
- Interpolation along a BSpline
- Bilinear interpolation on quadrilateral
- Integer Bilinear interpolation optimization
- Why is my bilinear interpolation vastly different from the in-built matlab function?
- Finding nearest points in a scattered data
- Bilinear Interpolation from wikipedia
- How to optimize the custom bilinear sampling alternative to grid_sample for TensorRT inference?
- How to regrid a netCDF file using bilinear interpolation in r
- Bilinear interpolation - point outside of the grid
- Bilinear interpolation in Swift
- What is the difference between torch.nn.functional.grid_sample and torch.nn.functional.interpolate?
Related Questions in IMAGE-ENHANCEMENT
- What can I do to enhance my image quality?
- contrast enhancement of an image using neighbourhoood
- How to work with Bitmap(Effects) in Android?
- Alternative to `adapthisteq`, this functions is really slow
- Can't save images using python ImageEnhance module
- Interpolation vs Average
- Non-Reference Loss Function
- How to improve the constrastness of unclear image by opencv?
- KeyError: "None of [Index(['file_path'], dtype='object')] are in the [columns]
- Contrast Limited Adaptive Histogram Equalization in 360 images
- Image Enhancement using combination between SVD and Wavelet Transform
- Keras data generators for image inpainting using autoencoder
- Image Enhancement through Wavelet Decomposition
- Color problem with Log transform to brighten dark area. Why and how to fix?
- What is the best approach to enhance blacked out areas to make the text inside them readable.?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I'm not sure I agree with the premise that you "should use bilinear interpolation". You shouldn't blindly use anything without thinking about it. For example, if your pixels represent the result of a classification and
1represents wheat, and2represents water, and3represents barley, you certainly shouldn't take the average and assume that when you enlarge an image of wheat and barley that some ocean suddenly appears in the middle between the fields.Bilinear interpolation is actually just averaging, except a) it is in 2 dimensions because images are inherently 2-dimensional and b) if you know you are nearer to one point than another, surely it isn't unreasonable to weight your "guesstimated" value (which, after all, you don't actually know) more towards the geometrically closer value?
I guess my answer is really that there are several types of interpolation, and you should apply some thinking to deciding which one is best for your particular circumstances. Sometimes you don't want to introduce new colours because of classification or palette issues, and in these circumstances you need "nearest neighbour". Sometimes "bilinear" is what you need, sometimes "bicubic".