mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 23:31:13 -06:00
Add the full source of BambuStudio
using version 1.0.10
This commit is contained in:
parent
30bcadab3e
commit
1555904bef
3771 changed files with 1251328 additions and 0 deletions
19
src/slic3r/Utils/ColorSpaceConvert.hpp
Normal file
19
src/slic3r/Utils/ColorSpaceConvert.hpp
Normal file
|
@ -0,0 +1,19 @@
|
|||
#ifndef slic3r_Utils_ColorSpaceConvert_hpp_
|
||||
#define slic3r_Utils_ColorSpaceConvert_hpp_
|
||||
|
||||
std::tuple<int, int, int> rgb_to_yuv(float r, float g, float b);
|
||||
double PivotRGB(double n);
|
||||
double PivotXYZ(double n);
|
||||
void XYZ2RGB(float X, float Y, float Z, float* R, float* G, float* B);
|
||||
void Lab2XYZ(float L, float a, float b, float* X, float* Y, float* Z);
|
||||
void Lab2RGB(float L, float a, float b, float* R, float* G, float* B);
|
||||
void RGB2XYZ(float R, float G, float B, float* X, float* Y, float* Z);
|
||||
void XYZ2Lab(float X, float Y, float Z, float* L, float* a, float* b);
|
||||
void RGB2Lab(float R, float G, float B, float* L, float* a, float* b);
|
||||
void RGB2HSV(float r, float g, float b, float* h, float* s, float* v);
|
||||
|
||||
float DeltaE00(float l1, float a1, float b1, float l2, float a2, float b2);
|
||||
float DeltaE94(float l1, float a1, float b1, float l2, float a2, float b2);
|
||||
float DeltaE76(float l1, float a1, float b1, float l2, float a2, float b2);
|
||||
|
||||
#endif /* slic3r_Utils_ColorSpaceConvert_hpp_ */
|
Loading…
Add table
Add a link
Reference in a new issue