Porting Violet to Java
Uhm...
32bits is per channel while 24bits is in total...
It's 32bpc images... OR... 96 bit images
24bit is 3*8 bit.
If it's a 32bit Image, it's actually an RGBA with still 8bits per channel.
Why is it impossible to change the image without loosing most of the information? Couldn't you simply not translate it to 8bpc after doing all the operations?
32bits is per channel while 24bits is in total...
It's 32bpc images... OR... 96 bit images
24bit is 3*8 bit.
If it's a 32bit Image, it's actually an RGBA with still 8bits per channel.
Why is it impossible to change the image without loosing most of the information? Couldn't you simply not translate it to 8bpc after doing all the operations?
Kram, not all HDRI images are 96bits per pixel.
Radiance .HDR cheats and uses 32bits per pixel to store HDRI values by storing RGBE with 8 bits each, which translates to
red = r * 2^e;
green = g * 2^e;
blue = b * 2^e;
edit: clairified slightly
Radiance .HDR cheats and uses 32bits per pixel to store HDRI values by storing RGBE with 8 bits each, which translates to
red = r * 2^e;
green = g * 2^e;
blue = b * 2^e;
edit: clairified slightly
Last edited by dougal2 on Wed Jan 30, 2008 3:22 am, edited 1 time in total.
Thanx Doug!
Just to make sure. Do I understand correctly that I could use ...
1. Bloom
2. White Balance
3. Chromatic Aberration
4. Glare
5. Noise reduction
... on the IGI, then I could save to EXR/HDR but without Tone mapping?
This would already help a lot, because the tone mapping I could do in
another application. Actually it's not that important Doug, because I
can do the most stuff in other applications too and the bloom glare
comes from the new diffraction code in Indigo. All that just takes a bit
more time. So please don't see this as a must have, rather as a nice idea.
Thanx mate! ;o))
take care
psor
Just to make sure. Do I understand correctly that I could use ...
1. Bloom
2. White Balance
3. Chromatic Aberration
4. Glare
5. Noise reduction
... on the IGI, then I could save to EXR/HDR but without Tone mapping?
This would already help a lot, because the tone mapping I could do in
another application. Actually it's not that important Doug, because I
can do the most stuff in other applications too and the bloom glare
comes from the new diffraction code in Indigo. All that just takes a bit
more time. So please don't see this as a must have, rather as a nice idea.
Thanx mate! ;o))
take care
psor
"The sleeper must awaken"
@dougal2
I checked out your actual code on the svn and it works under
Windows but under xubuntu with icedtea-java7-jre I get those errors ...
With sun-java5-jre AND sun-java6-jre I get this error ...
So how does jViolet run under linux?
btw. I build the jar with NetBeans 6 with jdk1.5.0_14 on Windows.
If I try to build with jdk1.6.0 and jdk1.7.0 I get errors.
edit: Ahhh, it looks like I'm missing the complete swing component.
take care
psor
I checked out your actual code on the svn and it works under
Windows but under xubuntu with icedtea-java7-jre I get those errors ...
Code: Select all
Exception in thread "main" java.lang.NoClassDefFoundError: org/jdesktop/layout/GroupLayout$Group
Caused by: java.lang.ClassNotFoundException: org.jdesktop.layout.GroupLayout$Group
at java.net.URLClassLoader$1.run(URLClassLoader.java:221)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:209)
at java.lang.ClassLoader.loadClass(ClassLoader.java:324)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:269)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:337)
Error: Could not find the main class.
Error: A JNI error has occurred, please check your installation and try again
Code: Select all
Exception in thread "main" java.lang.NoClassDefFoundError: org/jdesktop/layout/GroupLayout$Group
btw. I build the jar with NetBeans 6 with jdk1.5.0_14 on Windows.
If I try to build with jdk1.6.0 and jdk1.7.0 I get errors.
edit: Ahhh, it looks like I'm missing the complete swing component.
take care
psor
"The sleeper must awaken"
OK, so here we go with the useful update cycles:
REVISION 30
Constructed jVioletAboutView. AboutView show/hide etc works OK.
Dropped ImagePanel into ScrollFrame on main GUI.
Started linking up GUI. Basic (file) functions work, but need to be written better.
Loading IGI and HDR works. Image is displayed with default processing settings.
ScrollFrame doesn't yet scroll.
Save PNG and JPG work OK.
Removed old template resources.
REVISION 31
removed empty folder not caught in revision 30.
Please post back here in this manner if you make updates in the future, so that we can track progress. Cheers
REVISION 30
Constructed jVioletAboutView. AboutView show/hide etc works OK.
Dropped ImagePanel into ScrollFrame on main GUI.
Started linking up GUI. Basic (file) functions work, but need to be written better.
Loading IGI and HDR works. Image is displayed with default processing settings.
ScrollFrame doesn't yet scroll.
Save PNG and JPG work OK.
Removed old template resources.
REVISION 31
removed empty folder not caught in revision 30.
Please post back here in this manner if you make updates in the future, so that we can track progress. Cheers
Who is online
Users browsing this forum: No registered users and 34 guests