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

How to identify image type is halftone or line art

Community Beginner ,
Feb 10, 2023 Feb 10, 2023

Hi,

      How to identify image type is halftone or lineArt. Please help me.

Thanks in advance .

 

TOPICS
Actions and scripting , Windows
1.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
Adobe
LEGEND ,
Feb 10, 2023 Feb 10, 2023

Zoom in to 100% or maybe 400% to look for a halftone pattern. Use your knowledge. I do t think any software will tell you. Be aware that in very old illustrations, halftoning was handmade, so it would be both. 

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 ,
Feb 10, 2023 Feb 10, 2023

Can we presume that both files are bitmap mode, 1-bit files?

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 Beginner ,
Feb 10, 2023 Feb 10, 2023

Hi,

        How to identify image type is halftone or lineArt in photoshop using extend java scripts. Please help me.

Thanks in advance 

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 ,
Feb 10, 2023 Feb 10, 2023

Please post examples. 

 

Technically »lineart« should be bitmap/1bit images but I am not sure if you are referring to that simple criterium. 

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 ,
Feb 13, 2023 Feb 13, 2023
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 Beginner ,
Feb 10, 2023 Feb 10, 2023

Hi,

How to find  the Images type is Halftone or LineArt in Photoshop using extend java script. Kindly help me .

Thnks in advance.

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 ,
Feb 10, 2023 Feb 10, 2023

Try the forum for Photoshop.

It is not possible with a script in Adobe Acrobat.

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 ,
Feb 13, 2023 Feb 13, 2023

[MOVED TO THE PHOTOSHOP DISCUSSIONS]


Acrobate du PDF, InDesigner et Photoshopographe
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 ,
Feb 13, 2023 Feb 13, 2023
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 ,
Feb 13, 2023 Feb 13, 2023
LATEST

I know of no way to detect this with an action or script.

 

This would likely take machine vision/learning, AI etc.

 

In the frequency domain, the repeating patterns formed by a regular halftone screen do create a different image than a lineart image.

 

Example:

 

freq.png

 

So potentially, using an FFT transform plugin, post-processing and histogram evaluation, I guess it might be possible for this to be scripted.

 

EDIT:

Perhaps a simple evaluation of the histogram of both images converted to 8bpc may be enough, if you can find consistent weighting of the STD-DEV, MEDIAN or MEAN values of one type of image vs. another. I would wish to test using a wide variety of images though, both lineart and halftone... So the FFT suggestion may be taking this too far, it just came to mind as the repeating pattern is visually obvious, but perhaps not needed or helpful for histogram evaluation.

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