X-Rayed flower
Sent this to all my friends saying this: Too good. I wonder how colors are captured. Can somebody give a thought?
–
Kanthan: dai its a COLOR X-RAY da ;-)))
–
Me: I thought X ray is color blind. Ho it is like COLOR-XEROX. I understand.
–
Kuchi: my guess is basically use 2 pictures.
1 frm Xray camera - assume image is ‘x’
1 frm Normal light camera - assume image is ‘n’
( both cameras are kept in same place)
final image = 0.9*x + 0.1*n ( something like this)
final image has both xray characteristics and color ( light ) info !!
so it shd be a combination of the 2..since the colors arent
predominant my weighting factor is just 0.1 ..i think it can be easily
done in photoshop provided u have access to both the images…
lemme know wot u think abt this.
–
Me: Nice thought Kuchi. If I have 0.1 of n, the color will be very light.
What we have in these pics is bright colors. So urs is not accepted ;)
I have something else,
Take 2 pics of the flower.
1/ X - With X rays
2/ L - With Visible Light
Take Luminance info from X and Crominance info from L.
Combine to form YUV. Ofcourse the co-ordinates shud match.
From this YUV calculate RGB. Compress to Jpg. Done.
–
Kuchi again, “i have a very faint idea of wot u r sayin ! but yea ..i stand corrected.. i shd have said final image = w1*brightness + w2*saturation
i am not specifying w1 and w2 cuz i will tune em until i get desired effect..
YUV is very interesting..and YES..i dint pay attention to TV engineering class :-D is there an easy way of converting RGB -> YUV ( does photoshop do it ? ) ..
what’s chrominance and luminance in terms of YUV ?”
–
This is me: “Ok, u were right.
RGB -> YUV Im not sure whether Photoshop can do this or not.
But I guess when u do jpg compression, it is conversion from
RGB to YUV, but is lossy. May be u can remove the
quantization part.
But google gave me this
—8RGB to YUV Conversion
Y = (0.257 * R) + (0.504 * G) + (0.098 * B) + 16
Cr = V = (0.439 * R) - (0.368 * G) - (0.071 * B) + 128
Cb = U = -(0.148 * R) - (0.291 * G) + (0.439 * B) + 128
YUV to RGB Conversion
B = 1.164(Y - 16) + 2.018(U - 128)
G = 1.164(Y - 16) - 0.813(V - 128) - 0.391(U - 128)
R = 1.164(Y - 16) + 1.596(V - 128)
—8
In YUV, Luminance is Y component and Crominance is U and V
Components.”

Add New Comment
Thanks. Your comment is awaiting approval by a moderator.
Do you already have an account? Log in and claim this comment.
Add New Comment