Skip to content

Need help on understanding "convertBitmapToByteBuffer" and "applyfilter" #127

@MiceXH

Description

@MiceXH

I dontt understand how these operating can convert Bitmap to ByteBuffer.
imgData.putFloat((((val >> 16) & 0xFF)-IMAGE_MEAN)/IMAGE_STD); imgData.putFloat((((val >> 8) & 0xFF)-IMAGE_MEAN)/IMAGE_STD); imgData.putFloat((((val) & 0xFF)-IMAGE_MEAN)/IMAGE_STD);
I also have problem on understanding how low pass filter works.
Details needed.
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions