bilinear or licubic

C

cmk128

Hi All
I want to enlarge my bitmap, i have read many articles in Google
but still have concept problem about bilinear/bicubic. I am confusing
about the "fill in sequence of the new pixel"

For example, if i have a 2x2 pixel bitmap, i represent it as:

xx
xx

And i enlarge it to 8x8, so i have this now

x???x???
????????
????????
????????
x???x???
????????
????????
????????

The ? is the unknown pixel, which is the new pixel, i need to use
bicubic to calculate its RGB value.

My *major* problem is, which ? pixel i should fill in first. If you
tell me i should fill in the left-most one in the topest row. Then i
come with another problem: I don't have enough known pixel to calcuate
its value.

PLEASE GIVE ME A HELP

thanks
from Peter ([email protected])
 
O

Oliver Wong

I want to enlarge my bitmap, i have read many articles in Google
but still have concept problem about bilinear/bicubic. I am confusing
about the "fill in sequence of the new pixel" [...]

My *major* problem is, which ? pixel i should fill in first. If you
tell me i should fill in the left-most one in the topest row. Then i
come with another problem: I don't have enough known pixel to calcuate
its value.

If your question is about how to do this in Java:

http://www.java-tips.org/java-se-tips/javax.imageio/java-2d-api-enhancements-in-j2se-5.0.html

If you need to implement this yourself (e.g. because it's homework or
something), then this doesn't really have anything to do with Java. Try
http://members.bellatlantic.net/~vze2vrva/design.html and seek a math or
programming group if you're unable to follow the explanations there.

Note that if you think one of the steps is to exactly copy over a pixel
value from the original image, you've already misunderstood how bicubic
works.

- Oliver
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top