Venkat,

The RGB sequence in raw mode depends on the scan direction (sensor can be 
"flipped" vertically and/or horizontally. I haven't used it for quite a while 
(since the normal image processing is stable), so I would have to verify myself 
- what pixel it starts from.

I would recommend you to install ImageJ 
(http://rsbweb.nih.gov/ij/download.html) and our plugin 
(http://elphel.git.sourceforge.net/git/gitweb.cgi?p=elphel/ImageJ-Elphel;a=blob_plain;f=JP46_Reader_camera.java;hb=HEAD)
 - you may just save it under "plugins" directory of ImageJ, and then in t the 
ImageJ menu - select "plugins"->"Compile and Run". That plugin will open the 
JP4 file (or image directly from the camera) as a 32-bit Tiff file, it will 
also show all the related metadata (if you uncheck "silent") used for decoding. 
This code is guaranteed to stay current, so you may use it at least to compare 
teh results with what you code does.

Andrey

---- On Sun, 14 Oct 2012 00:52:30 -0700 Venkat Subbiah<[email protected]> 
wrote ---- 

 > Andrey,
 > 
 > 
 > Is response to this detail on the raw format
 > 
 > 
 > 
 > 
 > "Just sequence of bytes (or 16-bit words) corresponding to 
 > (width+4)*(height+4), where width and height are dimensions you'll get in 
 > normal mode" 
 > 
 > 
 > Assuming B(1,*) is firt row raw data, B(2,*) is second row raw data and so on
 > 
 > 
 > 1) Then would it be right to say this is the data corresponding to the first 
 > pixel
 > 
 >  
 > B(1,1) B(1,2) B (1,3) B(1,4)
 > B(2,1) B(2,2) B (2,3) B(2,4)
 > B(3,1) B(3,2) B (3,3) B(3,4)
 > B(4,1) B(4,2) B (4,3) B(4,4)
 > 
 > 
 > 2) Now in this data which is the data correspondig to red , green and blue
 >  
 > 
 > Thanks,
 > Venkat
 > 
 > 
 >  
 >  
 > 
 > 
 > 
 > 
 >  _______________________________________________ 
 > Support-list mailing list 
 > [email protected] 
 > http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com 
 > 


_______________________________________________
Support-list mailing list
[email protected]
http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com

Reply via email to