Showing posts with label blochi. Show all posts
Showing posts with label blochi. Show all posts

Thursday, December 2, 2010

Dear Ol' sRGB?

A week now after the training course which I was part of, and still feel tired, mostly of everything. Just today, I woke up later than my usual time, plagued with congested nose. It is a slow and somehow boring week, despite my work on my photos, which was so-so actually, but the core of the problem, who or how, would bring my heart back from New York?

I've been working now and then in order to finish my second album of pictures from Ireland - Co. Tipperary, and somehow I'm almost done. Only one is left and the album is ready to be spread all over, and hopefully I can do this one picture today. Meanwhile, I'm having now a hard time with the Dining Room panorama, after fixing the Lounge panorama with lot of stepping down and compromises.

The Lounge of Thornbrook House.

In this final panorama stitching, I had to give up many hopes I had for this room, but at least I got the general shape in the picture without much loss of "interesting" details around the room. The following steps were stepped down:

  • Panorama stitched from JPEG files (not even 16bit TIFFs), because stitching HDR slides produced some artifacts caused by blending extremely dark with extremely bright areas.
  • Because of the above, I lost the chance to tone-map the HDR image as I like. Instead I had to tone-map everything in the beginning then stitch.
  • To reduce stitching errors radically, I had to give up the zenith and nadir completely. The zenith specifically was important for me because it had a crystalline light chandelier that I wanted to show its sparkles.
  • Henceforth, because of the above, I had to give up with creating a QTVR.

It is obvious now, from The Lounge panorama, and The Dining Room panorama, or even from old panoramas I've worked with, that my everlasting nemesis is generally, long straight lines. Such lines do not have much distinctive features making them hard to overlap accordingly by PTGui, my preferred tool for stitching as always. The Dining Room seems to be going on the same steps of the Lounge now, but I'm having a break from this panorama trying to do more single slides and images, not only from my recent visit to Ireland but also, for one image, from my previous visit in 2009.

The weirdest thing I've encountered so far is, tone-mapping HDR images in sRGB color space proved to be more attractive and sharper than tone-mapping HDR in ProPhoto color space! For those who do not know the difference, ProPhoto color space is wider and usually gives vivid colors for display rather than the regular and simple sRGB space. Everything goes back to Mostphotos website actually, when I noticed that images I'm submitting, whether tone-mapped HDR or simply RAW fix, are changing colors significantly on Mostphotos website.

 One of the images where the blue color was "killed" by change of space. 
It is apparently dark here but originally it is brighter in Photoshop. 
Photobucket, after a system upgrade, seem to gauge their acceptance for color 
spaces more than before as such change in colors was not noticed before from my side!

Of course, the first suspecion in such cases goes around the color space. Thus I decided to make a try out and submit my images in sRGB space and see and notice any changes in colors.
After that, I adapted for myself a new approach creating the HDR images, but it is lengthy. Despite the saying that merging HDR from original RAW files is better to include as much as possible of the dynamic range, I converted my files here to 16bit TIFFs and cleaned them a bit from the noise with slight sharpening by NeatImage, then saved those files. Note here in the process of converting the files from RAW to TIFFs by the Raw Converter (ACR), I've assigned the color space as sRGB and worked a bit on each slide of image to avoid out-of-histogram regions for each slide.
Next thing was using Photomatix to merge them to HDR, as I don't trust the capabilities of Photoshop in aligning images when I use the "merge to HDR" command there. I saved the HDR image as EXR for reference, and the surprise was when  I tried to tone-map. The image kept relatively sharp, nd gave out interesting vivacity of colors more than a ProPhoto tone-mapping would give out! Not only that, but the noise is significantly less and the image is relatively sharper than when I do it with ProPhoto. Since I care about the looks and not merely putting out with technical details for the sake of being technical, I'm considering now for real, going back to the rare ol' sRGB!

Image that went under experimentation.
The entrance of Inchagoil church ruins on Inchagoil island, Co. Galway.

I think right now it is the time to put my ego aside and work on the more humble sRGB just to get such significant colors and clarity from my HDR images. The first step was to try it again for real... on another image.

Cahir castle, yard entrance gate.
Don't pass under those dents!

This image proves again that sRGB in HDR merging is better, but I've noticed something now concerning the saturation of some colors. It was hard to make a vivid aspect of the grays and the blues by simply tone-mapping in Photomatix. This problem, however, could be solved using Photoshop's hue/saturation layers. My aim next step now is to try to merge directly the RAW files using sRGB space in Photomatix and see if this will work significantly in the same way. That way, I'll be shortening one step out, that is converting to TIFFs (although I do some noise cleaning in this step usually, but it is nice to try out how much noise will be added in my HDR directly from the RAW under sRGB).

Not all my HDR images, after all, are tone-mapped automatically and given vivid colors. I think this is an important aspect when dealing with HDR images; you have to know what you are dealing with and what are you trying to do. HDR technique isn't really all about "eye-catching" images, but it is just a tool. I try to keep this in my mind all the time.
One of the images that I experienced this aspect with was the picture of the field of corn, taken from over the bridge at the edges of Cashel town back in October;

Corn field in Cashel.

When I saw this picture again, I remembered the famous song, Fields of Gold, and hence I decided to work on it to give some resemblance to the title of that song, Fields of Gold! The main problem as you can see here, the day was foggy, heavily, and the colors aren't saturated much specially in yellows. Sure thing was to seek HDR solution here, but since we have a "picky" approach here to turn the day from foggy to sunny somehow, we can't really rely on automatic tone-mapping by Photomatix or any other software. We have to use the manual tone-mapping with adjustment layers and hue/saturation adjustments, in abundance.

Fields of Gold!

My skill in manual tone-mapping didn't progress much; I still have problems getting used to the tone-mapping curve in Photoshop. The "radius" and "threshold" parameters, although it is advised to not touch them at all, I can't get the hang of it to make a sharper image from my HDR slide. However, with exposure and saturation fixing manually, there was not much "curving" needed further.Just minor touch to increase the contrast between different regions. The artifacts, however, like halos around bodies is more pronounced in the original image when zoomed to 100%.

Also related to the talk about the HDR imaging, I've been looking for a reliable freeware for tone-mapping HDR images, and found some substitute, but none, so far, can really be a match for Photomatix, not in terms of quality only, but in term of easiness to use as well. The thing that really sparked this search is the memory issues and the weird squares showing on my Photomatix window (regardless of the memory issues) from time to time, preventing me from seeing the full picture and make good judgement or even move the sliders with easiness. Hence, I thought I might try some other programs and who knows, there could be really nice options out there undiscovered yet, and most importantly, free! I've encountered some programs, free- and shareware, but all in all, I couldn't depend on them completely to be a substitute for Photomatix. But some of them are good one way or another and kept them installed just in case. Some of these were:

  • Picturenaut: A freeware made by Marc Mehl and co-authorized by Christian Bloch (Blochi). They claim it is really memory-efficient (and designed specifically aiming at HDR panoramas). I've downloaded it (from here) and tried it, and I think it is indeed as they say! Memory-efficient! The main issue here is, from my perspective, is that Picturenaut is the good-boy type of tone-mapper. It has many controls and many different aspects of the tone-mapping, but generally it doesn't provide the potential to give those fancy looks or the grunge look to your HDR images. I didn't frankly test much of its other aspects like aligning images, but I do trust Blochi did take care such an issue. If you have an HDR image or panorama, and you want to be the old good-boy type with it and fix the issues with highlights and shades, and just give it the brilliant "normal" look, then this is yours. Of course, if you have memory issues, this could be the best for you. And it's free!!! (Don't hesitate to donate though, they are doing great job there!).
  • Qtfsgui (a.k.a. Luminance HDR): Another freeware. Frankly, I don't know what QTFS stands for, but the GUI is surely for "Graphical User Interface". This software has the potential of giving you the weird looking tone-mapped HDR images, but it is still under development and would need a really steep curve of learning, for me, to know what I'm doing. To tone-map an image, you would need to pick up an operator from the list of operators and work on the sliders to adjust the values as you like, to give the image the look you like. In case you don't know what are operators, let's say they are the type of algorithms or approach of tone-mapping your HDR image, and there are local ones (adjusting group of pixels or certain areas in your image) and there are the global ones (applying the algorithm to the whole image at once). When you choose an operator it gives a little description, but all in all it is not sufficient to know what you are doing with the operator. Every time you change a value of some factor, you need to click "apply" and a new window will be pop-up each time to see the latest changes to your image (and sometimes it gave an error and the program closed). It is the work and effort of one person, thus I can't say this is bad at all. The guy deserves some donations at least! You can get it from here.
  • DP HDR (Dynamic Photo-HDR): A shareware by Mediachance, and hence, you can expect it is advanced. The main feature of this tone-mapper it offers variety of operators and categorize them accordingly to local and global, and under each category there are sub-categories that are direct to the point; like "eye-catching" option for example. It extends further in controls giving you the ability to control the alpha channel itself, or the layer inside HDR which controls the luminance; you can blur it more, invert it and some other stuff, to give your image the drama needed. I can't describe all the options provided in this software but one way or another it is similar to Photomatix but with different names sometimes or more specific sliders. When merging into HDR, it gives you the option to do your OWN aligning (Cool! somehow!). It has also a built-in Noise Reduction tool (while Photomatix does that automatically) and gives you the chance to control it as you like and even brush off areas that you don't want it to be affected. So far though, I don't remember it supported OpenEXR format (.exr) but only the Radiance format (.hdr). One weird concidence though, I tone-mapped one image and saved it as 16bit TIFF, but in Photoshop it appeared completely different than what I saw in the software's window! Weird, but promising.
There had been other trials on some other programs but I didn't experience them enough to write something about them here, like FDR Tools (basic version is free while the advanced version is shareware), and easyHDR (shareware). The latter is a promising software and bears resemblance to Photomatix, but the question now is all about the memory issues in between all of the mentioned above. So far, I'll be using Photomatix, and I still feel I didn't grab it all in my mind yet.

After all of the mess above, you might be thinking I was busy with something for real, well, I was trying to. Pushing myself hard to do something out of nothing and forget some thoughts that invade my mind from time to time about life. My life, that is. I've been in the process of grasping some phrases or words in my mind and really want to write them down, yet, I can't really glue them together. My mind is scattered apart. Since my return from Ireland, I've become more isolated around myself and not able to interact much with people specially at work. The new lunar year is on the gates and the month of Muharram will start soon, announcing days of mourning and black clothing. It will be a period of silence for me, and I have to stop listening to the songs that I do listen to usually everyday. It's going to be hard and to be frank, my conservative education is against what I'm doing, but the turmoil around me wherever I go left me no choice but to let off the steam via music-listening. I just hope and wish I will be pardoned in this life and the one after...
All I hope for now, is to get rid of this annoying nose congestion.

Alayhá, šá ayná ðánúħ kay ayná yaħavt? Limaz má tixmaŧ ayná élaká yi xawant ayná e-ąasiy?



Thursday, April 29, 2010

Alexander 6, V48.

T.G.I.T.
Thank God It's Thursday.
T.G.I.A.E.
Thank God It's April's End. Well, almost.

I'm almost there with my PC. Installed some of the most essential parts of it and some stuff remain that I might see to it later and gradually, whenever I need to use them. There are some data, however, that are not to be retrieved back again, forever.
Certain plans in my mind now. First, I'm going to check with HDR plugin for the web browser, and soon I might be able to embed HDR images (small ones of course) in here. Thanks to Blochi (Christian Bloch, the author of The HDRI Handbook: High Dynamic Range Imaging for Photographers and CG Artists +DVD). In his website, www.hdrlabs.com, I've asked the question and here you go:
Yeah, there's two methods coming to mind right now.

One is the ancient PTViewer, that's a HDR panoviewer with auto-exposure. I have some demos and a full tutorial write-up here: http://www.hdrlabs.com/tutorials/internet.html

The second one is newer, and is exactly what you describe: an image viewer with exposure slider: http://pfstools.sourceforge.net/hdrhtml.html
The visual interface needs a bit refinement for my taste, but its big advantage is that it works without Flash or ActiveX components or all that bogus. Just plain Javascript...
(actually, I'm pretty proud they used one image from our sIBL collection as demo piece Wink )
And that was his reply. The first option seems a bit complicated for me though but I have to go through it again and again and see. It uses the FJPG format (compressed HDR) and, as Blochi says, it produces artifacts (seen in the tutorial he provided). The other choice seems better but it is an open source and I didn't try anything of it yet. I'm not sure my programming or my commandline skills are up to it, but it gives a nice result and it is exactly what I want to do: a slider to change EV and see the image consequently.

Also, lies in my head some ideas for creating a turntable to place objects and rotate them easily and coherently for Object QTVR. Like the usual QTVR which is based on a 360 panorama, Object QTVR is the same but let's say, you taking an image to the INSIDE instead of the outside. Such thing enables you to have a 3D object in your hand and probably ready to be used in games and so on, and all is based on a REAL object and not a 3D rendering! Along with this turntable I have to work more on my new little tripod. If you visit the HDR Labs website above, you will notice exactly the opposite of what I'm thinking of! Like 3 meters long tripod. I wonder how they operate the camera to make a panorama from that level! It's surely a hideous work, but I'm pretty sure that such views are just AWESOME.
As for my little fella, the little tripod, it might help on taking panoramas on low level despite the fact that the head is not steady and easily shaken probably. I didn't get the chance to test it with my camera just yet because of the PC problem that almost took most of my time now and then. I might have to use an extra screw to fit the thin screw of the little tripod to the wide hole of the camera body. Thinking about it now, I think I might do something in such a way to rotate the whole tripod without moving the head after tightening the camera to it.

On the "domestic" plane, I'm trying to be active on www.writing.com this time and trying hard to push myself further with my writings. Wish me luck!
The work is going on with the translieration and recently just trespassed the limit of line #2350. The end is near!

__________
1129. thus Alexander and Birbuár agreed to the conditions
1130. and after Khaznútím and his Khákaluts left the place
1131. he started to dig the ruins with Birbuár to get the body
1132. and searched for a decent place to be buried in
1133. then Birbuár asked Alexander not put a grave stone
1134. to avoid digging the grave again by the people of the village
1135. thus Alexander took care of the whole task
1136. because Birbuár could not touch his own body
1137. or else, the fires shall burn him deep within himself
1138. and all was done, under the light of three moons
1139. then when everything was done and the body is in rest
1140. Alexander looked back at Birbuár and this he said
1141. "shall you prove you are a wicked man again,
1142. I shall let your body out to the ground again by my hands,
1143. and now fulfill your promise and answer my questions"
1144. Birbuár smiled with a calm soul for Alexander and this he said
1145. "be sure O good king I will never be a wicked one now,
1146. tell me your questions and by God's will shall I answer"
1147. then Alexander started his questions as follows
1148. "who am I? where am I? what shall I do here?
1149. what is the secret that I am searching for?"
1150. and Birbuár raised his eyebrows and smiled
1151. and this he said: O good king, maybe I shall answer some,
1152. but verily your case is a difficult one to answer



Wednesday, April 14, 2010

Alexander 6, V37.

Well Well. One busy day I presume. I shall call this day, the day of Panoramas. I've taken lot of short panoramas either vertically or horizontally and most of them were with my fisheye lens. Too bad it doesn't have a zooming capability, as I am working with the images now, seems some of them are going to be small with big portion of the sky showing on. All of that, in Failaka island.
The sea is great. Can be full of wrath, but generous after all. Some of the panoramas I did today were not really exactly to be called a panorama, but rather I loved to include more portions of the sky in the image and hence, I prefered to take them on parts vertically to add a bit more of the sky. The weather was weird though, shiny and cloudy in the same time! And while we were approaching Failaka port, the Salmiyah city port on the main land was still obvious. Such view I've never seen before. The two do not appear in the same time usually.

As luck has it, I was able to view the shores of Miskan island from Failaka's northern shores. Also, there was this abandoned center for seafaring activities which, supposedly as stated on sign posts, would provide a pick-up to Miskan island. Yet, the place was abandoned and no one was there, despite the relatively apparently-new yachts or boats over there. I could see 2 long towers from where I stood... too bad I didn't snap it with my camera! Bad me! I wonder if they were lighthouses as I always thought, or some "chimneys" of some factory over there? Could be? I don't know. Everything is possible after the statement of this man in Silsan, in which he said going there is restricted by now! It was foggy, I could see that. Like some blackish or greyish smoke hovering around the two towers for some reason, and that's why I thought they were chimneys of some sort or an exhaust of some factory and not lighthouses. This view kind of revived the hope in me of visiting this island one day, and I was already looking for someone to ask about going there in Failaka island itself, but no luck.
Not only Miskan was visible, but also the lands of Auhah (عوهة) island was visible before arriving at Failaka's port. I don't know really why they translate it as "Auhah" since we say it as "Oohah" usually, but anyway this is how it is spelled and you check it yourself on Wikipedia.

In the beginning, I played a little prank on myself, again. I got shocked to see the schedule time in the time table for the ferry travels to be delayed more than I thought it was. It said the ferry would leave at 9:00 and come back at 3:00 afternoon, and frankly I wouldn't like to stay there till 3:00 by myself. Yet the date of today, 14th, was on Thursday. I really doubted myself "did I miss counting my days because of this little vacation of mine?". After all I discovered it is all because I was looking at the time table of January 2010 and not this month! Not the first time I do this really.

I was planning to take an inner panorama of that old mesh-holed building, which I think was some governmental place, but I changed my mind later and thought of taking a panorama of the outer area. Moving people there with their four-wheeled banshi all around really frustrated me. I could hard even park there and take the panorama from the outside.

The ruined building from the outside.

What seems to be an ex-electricity housing, in the periphery of the ruined
building and includes in the to-be panorama project.

This said, I'm looking forward now to have some sort of a software to fix my fisheye distortion for real now. The PTGui software, for stitching panoramas, usually takes care of such distortions, but I can't tell it does them as well for single images however. Thus, I'm looking for some software or plug-in to do so. Photoshop does it as well, but it sounds a bit tiresome in Photoshop, and maybe I would get more precise tools out of the framework of Photoshop. I wish if there is any program that would fix a straight line by specifying 2 dots marking the beginning and the ending of a proposed straight line in the image. Maybe there is one, I can't tell really.
Talking about a plug-in, I received a response from HDRsoft people about my suggestion for a web plug-in to view HDR images, and here I quote it for you:

Dear TJ,

Thank you for your interest in Photomatix and for suggesting an HDR plug-in for web browsers.

The closest thing to a plug-in for  displaying HDR images in browser that we know of is webHDR:
http://luminance.londonmet.ac.uk/webhdr/

It might also be worthwhile having a look at Christan Bloch's 'HDRI Labs' website for such software:
http://www.hdrlabs.com/

Regarding Photomatix, we don't have any plans to develop a web browser plug-in to display HDR images at the moment.


Kind regards,

Andreas
Photomatix Support Team
www.hdrsoft.com

This is nice so far. I'm still checking the website as I am writing this (and I'm doing all of that after getting back from that tiresome ferry trip). I don't feel like concentrating on anything so I might leave it for later. In a quick glance over the webpage, there are some freeware included, but I can't tell which one is to be used as a plug-in to view HDR in the web browser, if any. I guess I'm going to ask Blochi for this! Blochi in case you didn't know is Christian Bloch, the author of this magnificent book:

The HDRI Handbook: High Dynamic Range Imaging for Photographers and CG Artists +DVD

As for now... I should take a rest and work on batch-processing my bracketed images and put them into OpenEXR format for heavy use later. I leave you now with Alexander's story, verse 37.


__________
865. when the stranger calmed down he gazed upon Alexander
866. and Alexander smiled back at him and put down Charnagút
867. then Alexander began the speech again with the stranger
868. "tell me O friend, what is your name?"
869. and the thing said: my name is Birbuár, son of Árúc
870. then Alexander asked: you know this sword? why were you scared?
871. the strange thing then stuttered and said: of course I do,
872. it is the Charnagút, the sword of the great Ayvar king,
873. it is the torture of the sinners and the sign of kings,
874. thus now I believe you are indeed a king,
875. please forgive my impoliteness master
876. then Alexander said: I am not your master,
877. but I am happy to be your friend in this world,
878. I was a king in my world before, but not anymore,
879. tell me O Birbuár, where am I and what is this world?
880. thus Birbuár said: yes I shall answer your questions,
881. but if you do not know already, how come you are an Ayvar?
882. and Alexander replied: I am not an Ayvar, but a stranger here
883. and Birbuár had a weird look upon his face and eyes
884. and this he said to Alexander: but how you got the Charnagút?
885. and Alexander replied back: it is a gift from my father Pilippánút,
886. but I do not know how he got it or made it,
887. but this sword helped me a lot to come here,
888. and discover the truth one by one