Color Plane - General Help and Assistance on using CHDK stable releases - CHDK Forum

Color Plane

  • 3 Replies
  • 2881 Views
Color Plane
« on: 10 / June / 2008, 10:13:16 »
Advertisements
Hi,
 First off i'm completely new to this CHDK. I just came across it today and Installed it. I was just wondering if it would be possible to display a single color plane on the camera display from an image or video, rather than the RGB composite image. Or if its possible to display the addition of two color planes on the display. What I'd like to do is image processing, pixel by pixel

Also would it be possible to write the single color plane to the SD card rather than the RGB image?

By this I mean that

if we define a pixel as P(x,y)[R/G/B]  (R - Red, G - Green, B - Blue) where P(1,1)[R] is the red pixel value at location x = 1, y =1;
What i'd like to do is set something like


Pnew(1,1)[R] = P(1,1)[R]+P(1,1)[ B];
Pnew(1,1)[G] = 0;
Pnew(1,1)[ B] = 0;

would this be possible?
« Last Edit: 10 / June / 2008, 10:17:15 by joey.enfield »

*

Offline dzsemx

  • ****
  • 302
  • [SX40HS][A650][A630]
Re: Color Plane
« Reply #1 on: 10 / June / 2008, 12:08:07 »
not really...
i think it can't process pixel by pixel within software...
the processor is too slow to alter preview data in realtime...
screen/preview buffer contains YUV data, so it's even harder

Re: Color Plane
« Reply #2 on: 10 / June / 2008, 15:54:10 »
Ok, well I was just thinking if it would be possible to create some code that would fit in when the data is being loaded for preview on the input pipeline. Would this be possible through alteration to the CHDK code..

*

Offline DataGhost

  • ****
  • 314
  • EOS 40D, S5IS
    • DataGhost.com
Re: Color Plane
« Reply #3 on: 10 / June / 2008, 16:03:13 »
I think it's easiest to just separate the colors from the RAW on your PC. If you want pixel-by-pixel image processing you don't want JPEG anyway (artifacts, demosaicing with 'nothing', antialiasing), so there is no need to develop them before processing.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal