• This project
    • Loading...
  • Sign in

2021-1-capstone-design1 / KHY_Project1

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • KHY_Project1
  • source code
  • PostProcessing
  • get_BPP.m
  • choiseungmi's avatar
    folder structure modified · 1a3d183a
    1a3d183a
    choiseungmi authored 2021-06-17 18:41:30 +0900
get_BPP.m 317 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
function result=get_BPP(path, width, height, channel, numFrame)

    Target_File = path;

    fileId=fopen(Target_File);
    fseek(fileId, -200, 'eof');
    C=textscan(fileId, '%s');

    B=flip(C{1});
    A = B{7};
    A = str2double(A);
    result = A *8 / (width*height*channel*numFrame);

    fclose(fileId);
end