Mike Chaney's Tech Corner
November 26, 2024, 04:43:44 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Qimage registration expired? New lifetime licenses are only $59.99!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: assigned 16 bit greyscale images, selective color, curves  (Read 13916 times)
Ernst Dinkla
Sr. Member
****
Posts: 410


Email
« on: April 23, 2014, 04:13:20 PM »

First what I wanted; 16 bit greyscale images, Gamma 2.2, from scanned 6x6 and 6x9 BW negatives as keepers and either saved Qimage selective color or curve settings as filters on the image to get sepia, half-sepia, bronze, etc toned images. So I do not have to keep more images stored.
The saved selective color setting or curve does not work on an 8bit or 16 bit greyscale image that has Gamma 2.2, 1.8 or DotGain10 and probably any other greyscale space assigned, it works when the file is unassigned. With neutral 8-16 bit RGB files, either assigned or unassigned, all works.

--
Met vriendelijke groet, Ernst

http://www.pigment-print.com/spectralplots/spectrumviz_1.htm
January 2014, 600+ inkjet media white spectral plots.
Logged
admin
Administrator
Forum Superhero
*****
Posts: 4220



Email
« Reply #1 on: April 23, 2014, 06:10:42 PM »

Please define "does not work".  Curves and Sel Clr work fine for me when working with grayscale images.  I've tried all your examples including 10% dot gain and it reads the grayscale profile properly and all functions work.  What are you seeing?  Unless the file type is some sort of abomination that QU isn't able to read properly, it will properly utilize grayscale profiles assigned to the image.  After that, the functions work as they would on any (RGB) image.

Mike
Logged
Ernst Dinkla
Sr. Member
****
Posts: 410


Email
« Reply #2 on: April 23, 2014, 07:25:32 PM »

Please define "does not work".  Curves and Sel Clr work fine for me when working with grayscale images.  I've tried all your examples including 10% dot gain and it reads the grayscale profile properly and all functions work.  What are you seeing?  Unless the file type is some sort of abomination that QU isn't able to read properly, it will properly utilize grayscale profiles assigned to the image.  After that, the functions work as they would on any (RGB) image.

Mike

Mike,

16 bit greyscale Tiffs saved from Photoshop 5.5. The most recent Qimage Ultimate running on Vista. I experienced it first with big files and tried it with a small file in 6 varieties saved from Photoshop, the Gamma 2.2 etc assigned greyscale Tiffs do not show the color shift in the preview of the selective color tool (sepia) and do not get the color either with OK, same for a curve I made (bronze). After your message I tried it with some Jpegs, same results. Restarted Vista and Qimage Ultimate, same results. There is short sepia flash in the image when I press the OK button but it falls back to the neutral greyscale image right away. Like written before there are no issues with unassigned greyscale images and no issues with RGB images. The images I used are from different sources, scanned greyscale and greyscale target images you can find on the web.

--
Met vriendelijke groet, Ernst

http://www.pigment-print.com/spectralplots/spectrumviz_1.htm
January 2014, 600+ inkjet media white spectral plots.
« Last Edit: April 23, 2014, 09:22:54 PM by Ernst Dinkla » Logged
admin
Administrator
Forum Superhero
*****
Posts: 4220



Email
« Reply #3 on: April 23, 2014, 10:35:05 PM »

Thanks for the explanation.  Now I see what's going on.  You can't apply a color cast to a grayscale image because the input image only has one channel.  The sepia filter works by altering the RGB channels and since you have a grayscale image with a grayscale profile, the channels are always going to be equal because there is no "RGB".  You can, however, use curves to change the neutral channel (brightness).

To put it another way, your image color space is grayscale.  There's no way to get color from a grayscale color space which is the source space.

Mike
Logged
Ernst Dinkla
Sr. Member
****
Posts: 410


Email
« Reply #4 on: April 24, 2014, 08:22:09 AM »

Thanks for the explanation.  Now I see what's going on.  You can't apply a color cast to a grayscale image because the input image only has one channel.  The sepia filter works by altering the RGB channels and since you have a grayscale image with a grayscale profile, the channels are always going to be equal because there is no "RGB".  You can, however, use curves to change the neutral channel (brightness).

To put it another way, your image color space is grayscale.  There's no way to get color from a grayscale color space which is the source space.

Mike

Sounds logical if it stretched to Unassigned Greyscale images too, it does not however. I can give a color cast like sepia to Unassigned Greyscale images anywhere in Qimage; curves, selective color, global filter, print filter and it will give me a color toned image with print to file and a color toned print through my printer. The soft proof even shows the color tone as well if filters like that are used on an Unassigned Greyscale image. The preview, edit window and resulting thumbs show it when an Unassigned Greyscale image gets the sepia color tone treatment in either the image editor's selective color or curves tool.

If I had observed that Unassigned Greyscale images behaved the same as Assigned Greyscale images I would not have written the first message. I would have thought a pity that it is not implanted in Qimage while it is possible but at least there would be some logic in that decision.

My recollection is that a Greyscale image is made RGB in Qimage's route to the printer. It looks like that happens in an early state with Unassigned Greyscale images too as they can get a color cast in Qimage but is suppressed on Assigned Greyscale images for unsure reasons hence the color cast flash when the selective color is given the OK in the image editor. An Unassigned image whether Greyscale or RGB is most likely the same for Qimage from a very early state on, let us say from the creation of the thumbs it is seen as RGB. That is fine for me.

If Qimage keeps it promise of non destructive editing on images it would be nice if Greyscale originals (scanned B&W film or digital monochromes) fall within that category. The advantage of storing a smaller size with Greyscale compared to neutral RGB images exists and Qimage is able to make neutral RGB of a Greyscale image. If my observations lead to similar measures taken on Unassigned  Greyscale images that happen on Assigned ones then that is counterproductive for me but logical in your way of thinking. There is another option.

An Unassigned Greyscale image and a Gamma2.2 Assigned Greyscale image are given resp. sRGB and Gamma2.2 space profiles in the print queue. Make the last AdobeRGB  when a Gamma2.2 is present and let it behave accordingly in the rest of the software. sRGB is less nice as its gamma is not strict 2.2. Greyscale Gammas usually have a suitable RGB color space with the same gamma to translate to, the smaller gamut ones are preferred in this case of greyscale conversions and possible color toning. So Colormatch instead of ProPhoto for Gamma 1.8.

Edit: In color management the General ICC Profile Embedding Options > Extract EXIF Model could get an extra choice to extract Gamma 2.2 etc from a B&W image and have AdobeRGB assigned to that file then. The default sRGB for unassigned images could still work as usual for both unassigned RGB and Greyscale files.

It could be that you made that distinction on Ass and Unass Greyscale images in the past when the QTR B&W printer profiles showed compatibility issues in Qimage. Just a guess. There is still that choice to use the RGB variant of the QTR B&W printer profiles. The normal color printer profiles are no problem at all.


--
Met vriendelijke groet, Ernst

http://www.pigment-print.com/spectralplots/spectrumviz_1.htm
January 2014, 600+ inkjet media white spectral plots.
« Last Edit: April 24, 2014, 11:53:56 AM by Ernst Dinkla » Logged
Mack
Full Member
***
Posts: 224


Email
« Reply #5 on: April 24, 2014, 03:42:31 PM »

Ernst,  I've tried some of those online step gray scales for setting up linearity in the past on the Epson I have.  I must leave them in Adobe RGB 1998, or convert them to Adobe RGB 1998 which I have also done, else I get added (and often opposing) colors at the highlight and shadow ends of the scale, in even the B&W mode (ABW?) off the Epson driver sans Qimage.  The Epson driver has the capability of adding some sepia and other tones so it is adding some colors on its own - and even without using Qimage!

One time I lost a black due to a nozzle plug, and all I got was cyan or yellow even though it was a B&W image.  Thought it odd like a misplaced ink cart in the printer tray as it was a whole lot of color added for a B&W only like a bottle of yellow got spilled on white paper.  Printed enough B&W images one day to watch the color tanks go down a lot too.

So it's back to Adobe 1998 RGB (and convert it and save it to that color space if not), and no more B&W only as a space.  That's if I want a true neutral tone and color in a gray scale, and monitor be damned getting there on a print with the i1 PhotoPro 2 too.  If I can't control the color out of the tanks for B&W with the Epson driver alone, I might as well use them to my advantage, and only can do that with the color out of the Adobe 1998 RGB turned "On" in the image.

Look at all the issues with people who use QTR curves and colorations in their blacks if they don't do the full B&W ink swap out.  Printers are fickle machines!  Wink

Mack
Logged
admin
Administrator
Forum Superhero
*****
Posts: 4220



Email
« Reply #6 on: April 24, 2014, 05:34:30 PM »

Sounds logical if it stretched to Unassigned Greyscale images too, it does not however. I can give a color cast like sepia to Unassigned Greyscale images anywhere in Qimage; curves, selective color, global filter, print filter and it will give me a color toned image with print to file and a color toned print through my printer. The soft proof even shows the color tone as well if filters like that are used on an Unassigned Greyscale image. The preview, edit window and resulting thumbs show it when an Unassigned Greyscale image gets the sepia color tone treatment in either the image editor's selective color or curves tool.

The unasigned color space is precisely the reason it works with an unassigned space.  When you open an image that has no image color space, sRGB is assigned as default.  By you assigning a grayscale color profile, you've made the image color space grayscale: that color space literally has no color component.  Same thing happens in PhotoShop or any other program.  If you try to add color to a grayscale image, you get a message that you must first convert out of grayscale mode and go into a color editing mode.  So do the same thing here: take the image, put it in the queue, choose "Convert Images" and convert using a profile-to-profile conversion: from <input> to Adobe RGB, or sRGB, or some color space that allows color.  But you need a color editing space to be able to do color work.  And that's true no matter what the software.

Mike
Logged
Ernst Dinkla
Sr. Member
****
Posts: 410


Email
« Reply #7 on: April 24, 2014, 08:34:00 PM »

Sounds logical if it stretched to Unassigned Greyscale images too, it does not however. I can give a color cast like sepia to Unassigned Greyscale images anywhere in Qimage; curves, selective color, global filter, print filter and it will give me a color toned image with print to file and a color toned print through my printer. The soft proof even shows the color tone as well if filters like that are used on an Unassigned Greyscale image. The preview, edit window and resulting thumbs show it when an Unassigned Greyscale image gets the sepia color tone treatment in either the image editor's selective color or curves tool.

The unasigned color space is precisely the reason it works with an unassigned space.  When you open an image that has no image color space, sRGB is assigned as default.  By you assigning a grayscale color profile, you've made the image color space grayscale: that color space literally has no color component.  Same thing happens in PhotoShop or any other program.  If you try to add color to a grayscale image, you get a message that you must first convert out of grayscale mode and go into a color editing mode.  So do the same thing here: take the image, put it in the queue, choose "Convert Images" and convert using a profile-to-profile conversion: from <input> to Adobe RGB, or sRGB, or some color space that allows color.  But you need a color editing space to be able to do color work.  And that's true no matter what the software.

Mike

Mike,

If I convert to RGB the file becomes 3x the size it had.

I rather have a 16 bit Greyscale file that has a Qimage piggy back file attached describing the color tone it gets (or treated on the fly with a global- or printer filter in the same manner) while it is still seen as a 16 bit Greyscale Gamma 2.2 file by Photoshop and Photoline. No destruction done to the original greyscale file and at any time ready to be printed as a neutral greyscale through Qimage Ultimate or with any choice of color tone I am prepared to make Qimage curve filters for. Of course the image gets RGB properties in Qimage at some point to have it act like that but it will not be an RGB file on my harddisc. I found a solution to do so. It could have been a (unique) feature in Qimage but it's fine as it is.

--
Met vriendelijke groet, Ernst

http://www.pigment-print.com/spectralplots/spectrumviz_1.htm
January 2014, 600+ inkjet media white spectral plots.


Logged
admin
Administrator
Forum Superhero
*****
Posts: 4220



Email
« Reply #8 on: April 25, 2014, 12:44:19 PM »

If I convert to RGB the file becomes 3x the size it had.

It's actually only 1.5 times the size.  You're already using 2 bytes per pixel with that 16 bit grayscale image.  An RGB save would only be 3 bytes/pixel.

And with hard drive cost down to about $40 per terabyte, you could probably do a few.  Wink

Technically QU should warn or prevent you from doing anything that adds color in the editor if the image is in a gray color space.  I may do something with that down the road, just so people don't wonder why they can't get color from an image if it's a grayscale image in a grayscale color space.

Mike
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Security updates 2022 by ddisoftware, Inc.