I have tried several methods of channel swapping using NX2, but so far I have not been able to duplicate the result I get with Photoshop. If anyone knows of a better way to channel swap using NX2 I would welcome your input.
Top photo: The RAW file. Middle photo: Red/blue channel swap using Photoshop. Bottom photo: Red/blue channel swap using Capture NX2.
#3. "RE: Channel Swap - Photoshop vs NX2" In response to Reply # 2
So you're shooting RAW, using Capture NX2 to set WB, and then exporting a TIF or JPEG for PS? And you are not making any other correction in PS? I misunderstood your workflow for this example.
My reference was that PS does not read a WB set in the camera and would need a WB to be set in PS - or brought in as an image with WB corrected. There are also auto levels that can impact an image if they are used.
#4. "RE: Channel Swap - Photoshop vs NX2" In response to Reply # 3 Fri 15-Mar-13 09:59 PM by NanoMeter
Yes, I am shooting RAW, using Capture NX2 to set WB, and then exporting a TIF for PS?
Here is another example. I adjusted the LCH-Hue-180 side slider as close as possible to match the colors of the Photoshop swap.
Top image is the RAW image Marguee WB in NX2. Bottom image is the top image channel swapped in NX2. Middle image is the top image channel swapped in Photoshop.
These are 590nm. I have also tried this with 665nm, and 720nm. Basically, the NX2 swaps loose color intensity compared to the non-swapped version. The Photoshop swaps keep the same color intensity (saturation) as the original image.
#5. "RE: Channel Swap - Photoshop vs NX2" In response to Reply # 0
Ann Arbor, US
Hi Steve, I use some of the information in the Nikonians thread you referenced. There are a few exceptions. First, I shoot with the camera Picture Control set to Vivid with Sharpening at 9 (2 clicks to the right of the midpont) and the Contrast set 1 click to the right of the midpoint. CNX2 recognizes these settings. These picture control settings will add noise to some photos so I have to address noise issues very early in the post-processing workflow. Doing a channel swap on a noisy photo causes all kinds of problems.
I follow the other steps in the channel-swap thread except for Step 3. I do not crank up the saturation to 9. I leave the saturation alone. CNX2 works exceptionally well for some conversions and not so well for others. I don't know why.
When I make Photoshop channel swaps, I generally have to make adjustments in the red, blue, and green sliders to get the color to where I want it. I don't worry whether everyting adds up to 100%. The traditional photoshop channel swap (100% red swapped to 100% blue and 100% blue swapped to 100% red) often leaves a blue color cast in the photo that I don't like.
#6. "RE: Channel Swap - Photoshop vs NX2" In response to Reply # 5
Dan, Thanks for that info, very well written. I didn't change the saturation either. What color space are you using? I use sRGB.
NX2 is handy because those settings like Vivid, and Sharpening that were set in the camera can be changed to whatever we want out of camera. In my examples above, those settings are the same for both the Photoshop and NX2 swaps. Those setting will adjust how the picture looks, but the resulting image is then swapped in either program.
I am beginning to thnk that NX2 is not really capable of a pure red for blue and blue for red channel swap, as can be performed easily in Photoshop.
#7. "RE: Channel Swap - Photoshop vs NX2" In response to Reply # 0
Ann Arbor, US
Steve, What you get at the end really depends upon where you start the process. Picture controls make a difference to CNX2 but they are not read by Adobe Camera Raw. Therefore, the image you get after channel swaps are often difficult to compare directly. The following images show what happens if you use start with a Photoshop WB and a CNX2 WB. These are from the same image with no additional processing.
The original image was taken with a LifePixel converted D90 (590 nm SuperColor filter). To establish a WB in PhotoShop, I used the white balance picker in CS5 Camera Raw and chose a point that was a medium grey. The resulting photo was used for channel swapping in Photoshop and Nikon CNX2.
Starting from the same NEF image, I used the Nikon CNX2 grey point picker to set the white balance. I chose the same area for this WB as I did for the PhotoShot WB. I normally use the Marquee tool but I wanted to make things comparable for this demonstration. You can readily see the effect of the Camera Control settings in the first image below. Also, this program gives a broader color spread that can be used for BW and other adjustments.
Here are the take home messages. 1. Nikon CNX2 white balancing will give you a broader color range and more options for post processing. LifePixel says the same thig.
2. CNX2 can be used for channel swapping but you will have less control of the final output during the swap.
3. CNX2 and PS produce different images when they perform what appears to be identical tasks. You can take this into consideration to achieve a certain effect or you can stick with one workflow and create the effect by other methods.
#9. "RE: Channel Swap - Photoshop vs NX2" In response to Reply # 7 Sat 23-Mar-13 03:39 AM by NanoMeter
Dan, I appreciate your excellent comparison examples of white balance using ACR vs NX2, and I completely agree that NX2 performs the best white balance, however neither white balance nor picture controls are at issue here. I am not using ACR. The question is about swapping the red and blue channels using NX2. Any white balance or picture controls are set prior to LCH - Hue 'swap', and are set prior to exporting as a TIF to PS for a red/blue channel swap.
If you want to test that, load a RAW file into NX2 (adjust WB if you like), then save as a TIF file. Load the TIF into both NX2 and PH (white balance and picture controls are already set and no where to be found in the TIF). Now do the LCH 'swap' in NX2 and do the red/blue swap in PS. (all you really need to do is export the image from NX2 to PS (File > Open with) prior to LCH, which works the same way)
> 2. CNX2 can be used for channel swapping but you will have > less control of the final output during the swap.
NX2's LCH - Hue adjustment is not a red/blue channel swap. It adjusts all three color channels at the same time (more like PS's Hue/Saturation adjustment), rather than swapping the red and blue channels alone. I have not even been able to come close when using Anchor Points.
Here is an NX2 "channel swap" as outlined in the sticky:
Here is a true red/blue channel swap using Photoshop: Photoshop>Image>Adjustments>Channel Mixer Red channel: Red = 0%, Green = 0%, Blue = +100% Green channel: Red = 0%, Green = +100%, Blue = 0% Blue channel: Red = +100%, Green = 0%, Blue = 0%
If anyone can process the image below using NX2 to match a red/blue channel swap using Photoshop please let me know.
#10. "RE: Channel Swap - Photoshop vs NX2" In response to Reply # 9 Sun 24-Mar-13 03:48 AM by NanoMeter
Using multiple anchor points comes closer to a true red/blue channel swap, but I had a hard time getting blue and yellow as pure as the Photoshop version. However, I have not had success applying this method to photos yet.
NX2 > LCH > Hue > 180° > add points and adjust lower slider for each point. It's a bit tedious.
#11. "RE: Channel Swap - Photoshop vs NX2" In response to Reply # 10
I realize that you are looking for the channel swapping solution in NX2, and I don't have that. But, just in case you (or others) are interested...
I've been playing with the "Imager" Perl module for creating and manipulating images using the Perl scripting language. It allows for very easy operations on the channels. Swapping the channels in an image is only a couple of lines of code.
So, if you are willing to load Strawberry Perl (free) onto a Windows machine or have Perl running on a Linux platform, I can provide a Perl script that will swap the red and blue channels on a JPEG file by entering a command like "RBSwap.pl RGB_test.jpg" at a command prompt.
Again, not in NX2, and it doesn't read .nef files, but might still be interesting to someone who wants to do the "pure" channel swap on a JPEG image. Let me know if there is any interest...
Mark Smith Just like I previsualized it, more or less...