Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Black & White by means of unit of measure

Advisor ,
Dec 01, 2018 Dec 01, 2018

How do you paint in Photoshop whereas 5000/1 micrometer/millimeter represents a value of black where for example; 5000 micrometer or 1 millimeter would be a

specific value of black, most likely 32-bit value and anything less then 5000/1 would be lower shade of black or gray ?

2.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Dec 03, 2018 Dec 03, 2018

Here are gray values from 100 as indicated. Do you you want to attribute a mm value to each?COLORCHART_Res12.png

(If this is helpful I can send you the actual file rather than this sample. It has greater accuracy.)

Translate
Adobe
Community Expert ,
Dec 01, 2018 Dec 01, 2018

Hi

you're going to have to explain that question more s fully I fear.

maybe tell what you are trying to do?

thanks

neil barstow, colourmanagement

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Dec 01, 2018 Dec 01, 2018

I want to paint black and white values equal to the micrometer or millimeter values.  For example, 5000 micrometer would be complete black in Photoshop, I hope that helps to understand ?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 01, 2018 Dec 01, 2018

Hi

I still don't understand where these "micrometer or millimeter values" are. Are they in an existing image? Perhaps if you upload an image or section of an image and describe what you want in relation to that image we may be able to help.

Dave

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Dec 02, 2018 Dec 02, 2018

What I mean, if you have a range of grey scale values, each grey scale value in that range would represent a UM or Millimeter unit of measure.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 02, 2018 Dec 02, 2018

Hi

I'll admit I've still little idea what you wish to achieve, but does it help you to know that Photoshop can produce 256 differing values in a in a greyscale range - anywhere between 0,0,0 (black) and 255,255,255 ( White) .

You can paint with these specific using the brush tool, its value is set via the color pallet where you simply enter values between those I gave above, then simply paint.

Calculating how to distribute your data between these possible values will need to be done outside Photoshop.

I hope this is of help

if so, please mark as "helpful" or even "correct answer', so that others with a similar question can see that.

neil barstow

colourmanagement

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 03, 2018 Dec 03, 2018

I understand that you want to paint in greyscale and that each grey value will represent a unit of distance, be it millimetres or micrometres. What I don't understand is where you want to pick those distance values from.

Dave

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Dec 03, 2018 Dec 03, 2018

davescm​ I have a chart of a micrometers / millimeters which I want to get those values from.  I suppose I have to find a way to convert sRGB or linear values to micrometers / millimeters or vise versa.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 03, 2018 Dec 03, 2018

You need to write a script. The math itself would be simple - allocate the shortest length to pure white and the longest length in pure black, and divide 255 levels in between. Then draw a shape using the colour for each length from the data. I'd use JS or PHP (just because I know those), not sure if you can do this in Photoshop scripting...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 03, 2018 Dec 03, 2018

Hello, Strongbeaver...You always come up with challenging questions!

I guess it is up to you to define the max and min length you have in the chart, then assign values to them.

Maybe draw a gradient from black to white (or vice versa) then use the height to select the value, and perform a linear selection that you then stretch on the entire area.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 03, 2018 Dec 03, 2018

Here are gray values from 100 as indicated. Do you you want to attribute a mm value to each?COLORCHART_Res12.png

(If this is helpful I can send you the actual file rather than this sample. It has greater accuracy.)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Dec 03, 2018 Dec 03, 2018
Do you you want to attribute a mm value to each?

Yes, or micrometer. The value chart is helpful, is this in sRGB values ?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 03, 2018 Dec 03, 2018

It is a grayscale file which would allow you to Convert to your chosen profile.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Dec 03, 2018 Dec 03, 2018

Is it a larger gray scale image file then what you posted, if so; if you want to PM the file or attach a link to download ?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 03, 2018 Dec 03, 2018
LATEST

It is a file almost 2,000 pixels in width. Send a personal message that includes your email address and I will get it to you via WeTransfer along with additional details.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines