Git Product home page Git Product logo

ssim's People

Contributors

aous72 avatar romigrou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ssim's Issues

`RMGR_SIMD_USE_OPENMP` - Possible Typo

The Readme mentions option RMGR_SIMD_USE_OPENMP, but the code seems to be using option RMGR_SSIM_USE_OPENMP to enable openmp.

I'll send a PR soon, please merge if it's indeed a typo. Thanks.

Support pour newbies

Bonjour,
Je débute en linux et j'ai du mal à utiliser le programme.

Pas à pas, voici mes démarches:

  1. git clone https://github.com/romigrou/ssim.git
  2. cd ssim
  3. vim CMakeLists.txt pour mettre sur RMGR_SSIM_NO_OPENMP sur ON, RMGR_SSIM_BUILD_CLI sur ON, RMGR_SSIM_BUILD_SAMPLE sur ON et RMGR_SSIM_BUILD_TESTS sur on
  4. cmake CMakeLists.txt
  5. make Makefile

A partir de là, je suis bloqué.

Je ne sais pas, en ligne de commande, comment utiliser le programme afin d'obtenir le SSIM entre 2 images.

Merci pour l'aide

Add command line executable

Thank you for open source this powerful lib!

It would be great if there's a command line executable available so people like me (who have not much C experience) can easily try and integrate the tool into our pipeline.

I want to build ARM64 version to use it on android, however build failed, how to fix this?

D:\Users\80362386\Desktop\ssim-master>GenerateSolution.cmd
Which version of Visual Studio do you want to generate a solution for?
1- Visual Studio 12 (2013)
2- Visual Studio 14 (2015)
3- Visual Studio 15 (2017)
4- Visual Studio 16 (2019)
5- Visual Studio 17 (2022)
5

Which platform to you want to generate for?
1- x86
2- AMD64
3- x86 (Clang)
4- AMD64 (Clang)
5- ARM
6- ARM64
6

Calling CMake as follows:
"cmake" -G "Visual Studio 17 2022" -DRMGR_SSIM_BUILD_CLI=ON -DRMGR_SSIM_BUILD_SAMPLE=ON -DRMGR_SSIM_BUILD_TESTS=ON -A ARM64 "-DCMAKE_ARCHIVE_OUTPUT_DIRECTORY:PATH=D:\Users\80362386\Desktop\ssim-master\lib\windows-aarch64-msvc19.3-vs2022" "-DCMAKE_LIBRARY_OUTPUT_DIRECTORY:PATH=D:\Users\80362386\Desktop\ssim-master\bin\windows-aarch64-msvc19.3-vs2022" "-DCMAKE_RUNTIME_OUTPUT_DIRECTORY:PATH=D:\Users\80362386\Desktop\ssim-master\bin\windows-aarch64-msvc19.3-vs2022" "-DCMAKE_INSTALL_PREFIX:PATH=D:\Users\80362386\Desktop\ssim-master\package\windows-aarch64-msvc19.3" "-DCPACK_PACKAGE_DIRECTORY:PATH=D:\Users\80362386\Desktop\ssim-master\package" "-DCPACK_SYSTEM_NAME:STRING=windows-aarch64-msvc19.3" "D:\Users\80362386\Desktop\ssim-master"

CMake Error: Error: generator platform: ARM64
Does not match the platform used previously:
Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.
请按任意键继续. . .

D:\Users\80362386\Desktop\ssim-master>GenerateSolution.cmd
Which version of Visual Studio do you want to generate a solution for?
1- Visual Studio 12 (2013)
2- Visual Studio 14 (2015)
3- Visual Studio 15 (2017)
4- Visual Studio 16 (2019)
5- Visual Studio 17 (2022)
5

Which platform to you want to generate for?
1- x86
2- AMD64
3- x86 (Clang)
4- AMD64 (Clang)
5- ARM
6- ARM64
6

Calling CMake as follows:
"cmake" -G "Visual Studio 17 2022" -DRMGR_SSIM_BUILD_CLI=ON -DRMGR_SSIM_BUILD_SAMPLE=ON -DRMGR_SSIM_BUILD_TESTS=ON -A ARM64 "-DCMAKE_ARCHIVE_OUTPUT_DIRECTORY:PATH=D:\Users\80362386\Desktop\ssim-master\lib\windows-aarch64-msvc19.3-vs2022" "-DCMAKE_LIBRARY_OUTPUT_DIRECTORY:PATH=D:\Users\80362386\Desktop\ssim-master\bin\windows-aarch64-msvc19.3-vs2022" "-DCMAKE_RUNTIME_OUTPUT_DIRECTORY:PATH=D:\Users\80362386\Desktop\ssim-master\bin\windows-aarch64-msvc19.3-vs2022" "-DCMAKE_INSTALL_PREFIX:PATH=D:\Users\80362386\Desktop\ssim-master\package\windows-aarch64-msvc19.3" "-DCPACK_PACKAGE_DIRECTORY:PATH=D:\Users\80362386\Desktop\ssim-master\package" "-DCPACK_SYSTEM_NAME:STRING=windows-aarch64-msvc19.3" "D:\Users\80362386\Desktop\ssim-master"

CMake Error at CMakeLists.txt:26 (project):
Failed to run MSBuild command:

C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/MSBuild/Current/Bin/amd64/MSBuild.exe

to get the value of VCTargetsPath:

适用于 .NET Framework MSBuild 版本 17.7.2+d6990bcfa
生成启动时间为 2024/5/21 19:12:07。

节点 1 上的项目“D:\Users\80362386\Desktop\ssim-master\build\windows-aarch64-msvc19.3-vs2022\CMakeFiles\3.26.4-msvc4\VCTargetsPath.vcxproj”(默认目标)。
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(832,5): error : The BaseOutputPath/OutputPath property is not set for project 'VCTargetsPath.vcxproj'.  Please check to make sure that you have specified a valid combination of Configuration and Platform for this project.  Configuration='Debug'  Platform='ARM64'.  You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. [D:\Users\80362386\Desktop\ssim-master\build\windows-aarch64-msvc19.3-vs2022\CMakeFiles\3.26.4-msvc4\VCTargetsPath.vcxproj]
已完成生成项目“D:\Users\80362386\Desktop\ssim-master\build\windows-aarch64-msvc19.3-vs2022\CMakeFiles\3.26.4-msvc4\VCTargetsPath.vcxproj”(默认目标)的操作 - 失败。

生成失败。

“D:\Users\80362386\Desktop\ssim-master\build\windows-aarch64-msvc19.3-vs2022\CMakeFiles\3.26.4-msvc4\VCTargetsPath.vcxproj”(默认目标) (1) ->
(_CheckForInvalidConfigurationAndPlatform 目标) ->
  C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(832,5): error : The BaseOutputPath/OutputPath property is not set for project 'VCTargetsPath.vcxproj'.  Please check to make sure that you have specified a valid combination of Configuration and Platform for this project.  Configuration='Debug'  Platform='ARM64'.  You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. [D:\Users\80362386\Desktop\ssim-master\build\windows-aarch64-msvc19.3-vs2022\CMakeFiles\3.26.4-msvc4\VCTargetsPath.vcxproj]

    0 个警告
    1 个错误

已用时间 00:00:00.11

Exit code: 1

-- Configuring incomplete, errors occurred!

Support for webp?

Thanks for sharing this project, I'm thinking of adding support for webp, from the closed issues it seems to me that stb has no intention of supporting it, see Will you add more image types to stb_image.h?
This project interests me mainly to evaluate if and how to convert a quantity of images into webp. Before trying to add support I wanted to ask if you already plan to support it

Exemple

Bonjour,

Serait-il possible d'ajouter un exemple d'utilisation (comparaison de 2 JPEG) en C car je tourne un peu en rond pour l'utilisation
Merci

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.