1. Download our Official Android App: Forums for Android!

Root Raw camera

Discussion in 'Android Devices' started by EarlyMon, Jun 21, 2014.

  1. Lordvincent 90

    Lordvincent 90 ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
    Rank:
    None
    Points:
    583
    Posts:
    5,559
    Joined:
    Oct 5, 2011

    Oct 5, 2011
    5,559
    4,445
    583
    Male
    entertainer
    grand rapids,mi
    You may be right. I took that from gsm arena :eek:
    (And after reviewing my screenshot, you are obviously correct)


    Copy - paste fail
     

    Advertisement

    Granite1 and EarlyMon like this.
  2. EarlyMon

    EarlyMon The PearlyMon
    VIP Member Thread Starter
    Rank:
    None
    Points:
    5,218
    Posts:
    57,591
    Joined:
    Jun 10, 2010

    Jun 10, 2010
    57,591
    70,376
    5,218
    New Mexico, USA
    Ok, 1944 worked anyway - defcomg got it.

    Here's what I got of that -

    [​IMG]

    And his -

    [​IMG]

    Bear in mind those are just first attempts. Plus - he does Photoshop, mine is sort of just raw(er).
     
    Granite1 and Lordvincent 90 like this.
  3. Lordvincent 90

    Lordvincent 90 ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
    Rank:
    None
    Points:
    583
    Posts:
    5,559
    Joined:
    Oct 5, 2011

    Oct 5, 2011
    5,559
    4,445
    583
    Male
    entertainer
    grand rapids,mi
    [Hide]EM
    [​IMG]
    LV(stock)
    [​IMG]
    DEF
    [​IMG]
    [/spoiler]

    :)
     
    Granite1 likes this.
  4. EarlyMon

    EarlyMon The PearlyMon
    VIP Member Thread Starter
    Rank:
    None
    Points:
    5,218
    Posts:
    57,591
    Joined:
    Jun 10, 2010

    Jun 10, 2010
    57,591
    70,376
    5,218
    New Mexico, USA
    We don't have reference wrgb values, so I just let dcraw do autowhite.

    Is that from your regular camera?
     
  5. Lordvincent 90

    Lordvincent 90 ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
    Rank:
    None
    Points:
    583
    Posts:
    5,559
    Joined:
    Oct 5, 2011

    Oct 5, 2011
    5,559
    4,445
    583
    Male
    entertainer
    grand rapids,mi
    Yes. Its the stock camera.
     
    EarlyMon likes this.
  6. EarlyMon

    EarlyMon The PearlyMon
    VIP Member Thread Starter
    Rank:
    None
    Points:
    5,218
    Posts:
    57,591
    Joined:
    Jun 10, 2010

    Jun 10, 2010
    57,591
    70,376
    5,218
    New Mexico, USA
    Your backpack - is it red, orange or copper?

    BTW -

    [​IMG]
     
    Lordvincent 90 likes this.
  7. Lordvincent 90

    Lordvincent 90 ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
    Rank:
    None
    Points:
    583
    Posts:
    5,559
    Joined:
    Oct 5, 2011

    Oct 5, 2011
    5,559
    4,445
    583
    Male
    entertainer
    grand rapids,mi
    Red. Coke bottle for comparison:
    [Hide]
    [​IMG][/spoiler]



    It seems like there is quite a bit of noise in the one you just posted. I assume that's just a matter of me finding the correct arguments?
     
    EarlyMon likes this.
  8. EarlyMon

    EarlyMon The PearlyMon
    VIP Member Thread Starter
    Rank:
    None
    Points:
    5,218
    Posts:
    57,591
    Joined:
    Jun 10, 2010

    Jun 10, 2010
    57,591
    70,376
    5,218
    New Mexico, USA
    It's going to be a combination of that plus whatever your sensor really has.

    There's no telling how much of that in my shot is coming from either dcraw or me making a guess at what the color balance is and then trying to bring out a picture.

    Plus - I'm still learning how to spell dcraw.
     
  9. Granite1

    Granite1 Zercron Encrusted Tweezer
    Rank:
    None
    Points:
    833
    Posts:
    7,148
    Joined:
    Dec 27, 2010

    Dec 27, 2010
    7,148
    7,173
    833
    Male
    Highway Construction Inspection
    Pittsburgh, PA
    Ok EM, here are the results for these parameters:

    dcraw -v -m 10 -r 2.132583 1 1.480864 1 -6 -T -H 2 -g 2.7 2.5 IMAG0009.draw

    Pure dcraw output:
    [​IMG]

    RawTherapee 16bit .tiff edited for contrast shadows and saturation enhancement:
    [​IMG]

    I think I need to adjust some of the dcraw parameters for direct sunlight shots. I'll start to play around with zeroing in on the -r values.

    I'll take a few shots of a piece of white printer paper in different lighting to see what I get. :)
     
  10. EarlyMon

    EarlyMon The PearlyMon
    VIP Member Thread Starter
    Rank:
    None
    Points:
    5,218
    Posts:
    57,591
    Joined:
    Jun 10, 2010

    Jun 10, 2010
    57,591
    70,376
    5,218
    New Mexico, USA
    OK, those gamma adjustments were just for your dog lol - I liked the contrast. It was less realistic, more dramatic.

    I'm going to try white printer paper (and matte photo paper) on the theory that that's what I'm printing to.

    You may need to add a matte color or black object atop the paper for a percentage of the picture.

    I'm not sure, but I seem to recall dcraw sites saying that it will colorize pure white in an attempt to find the image.

    I'm going to try it both ways.

    Then, do the draws with -a and extract the numbers.

    Once you have those, use with -r and so far as I know right now, drop off the -a.

    :)
     
  11. Granite1

    Granite1 Zercron Encrusted Tweezer
    Rank:
    None
    Points:
    833
    Posts:
    7,148
    Joined:
    Dec 27, 2010

    Dec 27, 2010
    7,148
    7,173
    833
    Male
    Highway Construction Inspection
    Pittsburgh, PA
    Well, I handled that well. LOL :p

    It did give the puppy photo a great effect. I added the -H highlight modifier to a photo that didn't need it. Brilliant!

    I'll take a raw photo of a white piece of printer table on a grey table and try to get both colors in the shot.

    Once done, how do I extract the -a values?
     
  12. EarlyMon

    EarlyMon The PearlyMon
    VIP Member Thread Starter
    Rank:
    None
    Points:
    5,218
    Posts:
    57,591
    Joined:
    Jun 10, 2010

    Jun 10, 2010
    57,591
    70,376
    5,218
    New Mexico, USA
    dcraw prints them out to my command window.

    If not yours, shoot me your draw(s) and I'll post them here.
     
  13. Granite1

    Granite1 Zercron Encrusted Tweezer
    Rank:
    None
    Points:
    833
    Posts:
    7,148
    Joined:
    Dec 27, 2010

    Dec 27, 2010
    7,148
    7,173
    833
    Male
    Highway Construction Inspection
    Pittsburgh, PA
    100% you the man! I wasn't aware those outputs in dcraw were the actual values calculated. I assumed they were defaults. :eek:

    Ok, piece of white printer paper on a grey desk. Fluorescent overhead lights and a wide open window 2' to the right:
    https://drive.google.com/file/d/0B1xiIlbIPKFDRkFnV01HMjM4d28/edit?usp=sharing

    Parameters:
    dcraw -v -m 10 -a -T IMAG0023.draw

    dcraw output this:
    Scaling with darkness 0, saturation 1023, and
    multipliers 1.814818 1.011867 2.046757 1.000000

    Right there are my multipliers for -r! :)

    Going to print a black square on the same paper and redo the process.
     
  14. EarlyMon

    EarlyMon The PearlyMon
    VIP Member Thread Starter
    Rank:
    None
    Points:
    5,218
    Posts:
    57,591
    Joined:
    Jun 10, 2010

    Jun 10, 2010
    57,591
    70,376
    5,218
    New Mexico, USA
    Remember to do sunlight when you can, fluorescent lights are really colored.

    The -a tip is from Elle, I take no credit.
     
    Granite1 likes this.
  15. Granite1

    Granite1 Zercron Encrusted Tweezer
    Rank:
    None
    Points:
    833
    Posts:
    7,148
    Joined:
    Dec 27, 2010

    Dec 27, 2010
    7,148
    7,173
    833
    Male
    Highway Construction Inspection
    Pittsburgh, PA
    I'll try and get a straight up sunlight shot tomorrow. We're seeing thunderstorms here in the Burgh for the rest of the evening.

    That one there is a blend. Maybe get a straight up sunlight and straight up fluorescent. Have 3 different values for different scenarios.

    Give my thanks to Miss Elle, she's a rock star! :)
     
  16. Granite1

    Granite1 Zercron Encrusted Tweezer
    Rank:
    None
    Points:
    833
    Posts:
    7,148
    Joined:
    Dec 27, 2010

    Dec 27, 2010
    7,148
    7,173
    833
    Male
    Highway Construction Inspection
    Pittsburgh, PA
    Here's my latest attempt EM.

    [​IMG]
    Did a little tweaking using RawTherapee: saturation and a slight contrast hike.
     
  17. Granite1

    Granite1 Zercron Encrusted Tweezer
    Rank:
    None
    Points:
    833
    Posts:
    7,148
    Joined:
    Dec 27, 2010

    Dec 27, 2010
    7,148
    7,173
    833
    Male
    Highway Construction Inspection
    Pittsburgh, PA
    OK, looks like Jishnu left XDA for some reason. All of his camera links have been removed.

    I did a little digging and I found him on G+. He's released a new version for compatibility with the 4.4.3 roms. Jishnu's Camera Mod™

    I'm going to load up Viper 2.3.0 today and see how the new version works. :)
     
    EarlyMon likes this.
  18. Granite1

    Granite1 Zercron Encrusted Tweezer
    Rank:
    None
    Points:
    833
    Posts:
    7,148
    Joined:
    Dec 27, 2010

    Dec 27, 2010
    7,148
    7,173
    833
    Male
    Highway Construction Inspection
    Pittsburgh, PA
    Old thread I know. :)

    Question EM, have you tried the freedcam.apk with lollipop?

    I assume it's a no go, but haven't tried it. I need to find a few hours to get a backup made before trying this. Also need to try Jishnu's latest on Viper. I read it's a little jacked, but you know....I need to break stuff on my own. :p
     

HTC One M8

The HTC One M8 is the Taiwanese company's flagship phone for the first half of 2014. It built on its predecessor with an upgraded 5-inch 1080p display, Snapdragon 801 processor, 2GB of RAM, 32GB of internal storage, and an UltraPixel rear Duo Camera.
Tags:

Share This Page

Loading...