{"id":26400972,"url":"https://github.com/helogizzy/arithmeticcoding","last_synced_at":"2025-03-17T14:38:31.911Z","repository":{"id":221527363,"uuid":"754643768","full_name":"Helogizzy/ArithmeticCoding","owner":"Helogizzy","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-08T13:54:19.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-02-08T14:47:22.677Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Helogizzy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-02-08T13:44:38.000Z","updated_at":"2024-02-08T14:47:25.484Z","dependencies_parsed_at":"2024-02-08T14:47:24.941Z","dependency_job_id":"649da093-50e5-4cd6-89ac-356c9fc6c080","html_url":"https://github.com/Helogizzy/ArithmeticCoding","commit_stats":null,"previous_names":["helogizzy/arithmeticcoding"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Helogizzy%2FArithmeticCoding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Helogizzy%2FArithmeticCoding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Helogizzy%2FArithmeticCoding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Helogizzy%2FArithmeticCoding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Helogizzy","download_url":"https://codeload.github.com/Helogizzy/ArithmeticCoding/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244051174,"owners_count":20389846,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-17T14:38:18.636Z","updated_at":"2025-03-17T14:38:31.901Z","avatar_url":"https://github.com/Helogizzy.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ArithmeticCoding\n\u003e Trabalho de Processamento de Imagens Digitais\n\n## Sobre\nO algoritmo de codificação aritmética consiste em representar a probabilidade de ocorrência de cada carácter de acordo com esses intervalos. Parte-se do intervalo [ 0 , 1 ) e nele identifica-se o sub-intervalo ao qual corresponde o primeiro símbolo lido do arquivo. Para cada símbolo subsequente, subdivide-se o intervalo atual em sub-intervalos proporcionais às probabilidades da tabela de intervalos, e encontra-se novamente o intervalo que corresponde ao próximo símbolo. Ao final do processo, teremos um intervalo que corresponde a probabilidade da ocorrência de todos os símbolos na ordem correta.\n\n## Como usar\n- Compilar:\n```gcc main.c -o main -lm```\n\n- Executar:\n```./main entrada.txt 0000 9999```\n\nO arquivo entrada.txt deve estar na mesma pasta do arquivo ```main```\n\n## Informações\n- Linguagem: C\n- Versão GCC: ```8.1.0```\n- SOs testados: ```Windows 10 - Visual Studio Code 1.85.2``` e ```WSL - Ubuntu 20.04.4 LTS```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelogizzy%2Farithmeticcoding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelogizzy%2Farithmeticcoding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelogizzy%2Farithmeticcoding/lists"}