Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

On Samsung devices that support this, it's implemented in the file libsuperresolution_raw.arcsoft.so in /system/lib64, if you're curious to have a look at how it works.

Some strings from that file, relating to the moon detection and enhancement process:

    AHDR_SetMoonMask
    ai_moon
    ArcSoft_Moon_Detection_2.1.125231001.2
    ArcSoft_MoonEnhancement_1.1.12021.257
    ARC_SRR_DisableDaytimeMoonScene
    ARC_SRR_GetMoonSceneType
    ARC_SRR_SetMoonWeight
    bMoonMode
    bMoonProtect
    MFSR Moon Detect
    moon count is %d
    MoonDetect
    MoonDetect_Init
    %s_%02d_AIE_Output_ISO_%d_DRC_%0.2f_HDRMoon_%d_%dx%d
    %s_%02d_CropMoonMask_Idx_%d_%dx%d
    %s_%02d_DaynightAIMoon_Output_Idx_%d_%dx%d
    %s_%02d_DaytimeAIMoon_Output_Idx_%d_%dx%d
    %s_%02d_MoonDetection_Input_%dx%d
    %s_%02d_MoonHDR_Output_ISO_%d_DRC_%0.2f_HDR_%d_Moon_%d_%dx%d
    %s_%02d_MoonMask_Idx_%d_%dx%d
    %s_%02d_ResizedMoonMask_Idx_%d_%dx%d
    /sdcard/download/arcsr/%s_moon_mask_%dx%d.gray
    %s/FusionRun_pMoonmask_%dx%d.gray
    void mfsr_moon_detect(gk_mfsr *)


    moon count is %d
I am extremely tickled that they planned ahead for multiple moons.


I suspect that if the AI detects two moons, it probably abandons "enhancement" and drops a message in the logs (or renders an error, though I doubt that's what that particular string is for).


Now that you provided a good reference keyword (Arcsoft), it seems that it all already happened for the Galaxy S21 a couple years ago:

https://www.inverse.com/input/reviews/is-samsung-galaxy-s21-...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: