Recent Posts

Pages: [1] 2 3 ... 10
1
The Orphanage / Re: Real APPS real fast with MASM
« Last post by jj2007 on Today at 09:30:29 AM »
It's the Mother of all Number Crunchers where you cook up your own functions..etc - whatever 'tickles your fancy'.
:t
2
The Workshop / Re: stopping support of Windows 7
« Last post by jj2007 on Today at 09:17:18 AM »
I just shoved a test together and with as close as possible, duplicate the code in both. Results are ambiguous on this middle aged Haswell. You have to unzip this test and run the batch file "testme.bat". The code design of the pair of algos should favour 32 bit code.

Core i5, Win7-64:
Code: [Select]
1591 ms duration 32 bit
1576 ms duration 64 bit
1575 ms duration 32 bit
1576 ms duration 64 bit
1576 ms duration 32 bit
1575 ms duration 64 bit
1576 ms duration 32 bit
1575 ms duration 64 bit
1576 ms duration 32 bit
1575 ms duration 64 bit
1576 ms duration 32 bit
1575 ms duration 64 bit
1592 ms duration 32 bit
1591 ms duration 64 bit
1576 ms duration 32 bit
1576 ms duration 64 bit
3
The Laboratory / Re: Fast Compare Real8 with SSE
« Last post by guga on Today at 07:00:49 AM »
Quote from: daydreamer
I dont know,couldnt you let computer run try different constants until you get the right results so forward conversion pixels until it matches backward conversion with a small tile?,or output graphic curve makes understand visual?

Hi Daydreamer.

I was doing it right now. I´m building a routine to find the maximum and minimum value of CLFactor to see if i can find how much it is bigger then sqrt(29).

Most likely, the bigger CLFActor is found on the smaller delta values (differences) between X, Y, Z. If i can find it using a few routines (I mean, calculating it from a maximum of 9 checks for different combinations using maximum R, G, B ranges using only 0 and 255 ) then probably i´ll see how much it is extending the limit in order to establish a fixing ration on XFinal, YFinal and ZFinal.

I´ll see if i can find the maximum values from the equation i created at page 21



Which is simply, the same as:



I´m not sure about the results, because CLFactor is directly related to Hue and the last time i tried it this past week, i had to make the routines runs on all the 16 million colors to retrieve the maximum Hue. Also, probably i´ll have to use the cubic form (power of 3) on each X, Y, Z and CLFactor, due to the threshold limits that uses the power of 1/3 to retrieve those values, but, don't know yet

Not sure what will result, but i´ll give a try anyway.

I tried to use the CieLab on the 3d coordinates but was unable to understand how "a" and 'b' are related to the X, Y, Z axis. CieLab/CieLCH are a cylindrical colorspace trying to emulate a spherical one.  But uses those damn (x-y)*500 (y-z)*200 and thresholds to compute afactor, bFactor and thus, Hue and Chroma.

I have no idea how to represent the "x-y" and "y-z" on the 3d axis in order to try to fix it using basic geometry. I thought in displaying them on a sort of a cube containing inside the cylinder represented by CieLab, but don´t know how to represent this "x-y" stuff. I thought in sides of a cube forming the sides of the cylinder, but i´m clueless how to properly represent this.
4
The Workshop / Re: stopping support of Windows 7
« Last post by Vortex on Today at 06:23:32 AM »
Hi AW,

You probably turned off the C run-time library of Visual Studio making bigger the executables. A very good method.
5
The Workshop / Re: StrtoReal10 - String to Real10 function
« Last post by AW on Today at 06:05:39 AM »
Did you tested the precision and limits of amount of outputted chars ? I mean, it is outputting more then 20 chars, but how precise is the result ?
Precision is an extremely complicated subject, although does not look like that. Not everything can be solved by the so called round-trip approach suggested by IEEE. I will come back on this sometime in the future.

1) String representation of number to be converted to real10=12345.798
2) ExactReal10toStr:
Sign=-, Exponent=0x7fff (dec=32767), Mantissa=0x0000000000000000
#IND
3) FpuFltoA representation of the floating point:
ERROR
Yes, it is a bug in the ASM version. It works fine in the last C version.
6
The Workshop / Re: stopping support of Windows 7
« Last post by AW on Today at 05:54:36 AM »
There was that guy that has done a routine with a superior compiler. The code was very likely great but could not be zipped to less than 500 KB and uploaded to the site.
If I remember well, I produced the same thing with crappy Visual Studio in less than 3000 bytes. <sighs>
7
The Workshop / Re: StrtoReal10 - String to Real10 function
« Last post by raymond on Today at 05:50:20 AM »
Quote
1) String representation of number to be converted to real10=12345.798
2) ExactReal10toStr:
Sign=-, Exponent=0x7fff (dec=32767), Mantissa=0x0000000000000000
#IND
3) FpuFltoA representation of the floating point:
ERROR

What happened???????
12345.798 seems to be a valid number as an input.
8
The Orphanage / Re: Real APPS real fast with MASM
« Last post by K_F on Today at 05:34:01 AM »
aha the program that solves the question of life,everything =42 like in Hitchhikers Guide to galaxy :greenclp:
Silly me, Forgot to add that.. :icon_mrgreen:
Actually... Yes, it does solve the question of life  :badgrin:
9
The Workshop / Re: StrtoReal10 - String to Real10 function
« Last post by TimoVJL on Today at 04:32:35 AM »
extended double / REAL10 exact values are sometimes presented as hex as string lenght is not known.
10
The Laboratory / Re: Fast Compare Real8 with SSE
« Last post by daydreamer on Today at 03:59:02 AM »
Did you guys understood what i tried to explain in the pdf ?

Is it possible to try fixing the equations on a way similar to this i posted in page 19 ?

Code: [Select]
If  X > (216/24389)
    XTmp = X(1/3)
Else
     XTmp = X*(841/108) + (16/116)
Endif
XFinal = XTmp*(1-2/sqrt(29))

If  Y > (216/24389)
    YFinal = Y(1/3)
Else
     YFinal = Y*(841/108) + (16/116)
Endif

If  Z > (216/24389)
    ZFinal = Z(1/3)
Else
     ZFinal = Z*(841/108) + (16/116)
Endif


It seems that XFinal can be retrieved with XFinal = XTmp*(1-2/sqrt(29)) (and perhaps ZFinal too), in order to the equation fits to the limit of sqrt(29), but i simply cannot find the proper way to fix those before the conversion to "a", 'b" (That generates chroma and hue) occurs.
I dont know,couldnt you let computer run try different constants until you get the right results so forward conversion pixels until it matches backward conversion with a small tile?,or output graphic curve makes understand visual?

Pages: [1] 2 3 ... 10