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

Making photos looked scanned and photographed

Community Beginner ,
Feb 15, 2023 Feb 15, 2023

Copy link to clipboard

Copied

Hello all

 

I am just writing as I have a batch of approximately 20,000 photos in png format. I would like to make it look like they've all been 1) scanned and then 2) been photographed.

 

Just writing to ask - does anyone know of any automated ways to do this?

 

Kind regards

 

Neil

TOPICS
Actions and scripting , Windows

Views

2.4K

Translate

Translate

Report

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
Community Expert ,
Feb 15, 2023 Feb 15, 2023

Copy link to clipboard

Copied

I am not sure what you mean.

• A good scan should not cause significant loss of quality. (Though naturally some loss of quality is unavoidable in the transfer.)

• What should have been photographed? A print, the screen, …? 

 

Couls you post examples and one or two of your unedited images? 

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

01000_hr.dat.png

 The idea would be to take a photo like this and make it look like it had been scanned or photographed. I'd want to do this to 20,000 images

 

Something like this twitter feed: @ecgrhytyms (@ecgrhythms) / Twitter

 

As you can see the ECGs are all photographed in different ways with different amounts of light etc. The aim would be to make it look like someone has individually scanned all 20,000

Then the plan would be to make it look like someone has photographed all 20,000

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

Yes, an example would be great. There are so many things that could be done. When I read this, I got the impression that you might want an old photo look of fading or cross processing, which  ould be done with curves, then for easier application, turned into LUTs.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

I wonder if the intended effect might go beyond colors/contrast and affect detail, too, (maybe even screens, lines, …) so an example would seem useful indeed. 

Votes

Translate

Translate

Report

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
Contributor ,
Feb 15, 2023 Feb 15, 2023

Copy link to clipboard

Copied

Yeah same. I was thinking of actually scanning a couple of blank pages, each with varying wrinkles, storing them as texture and applying them in a randomly altered form per image.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

Good one, paper texture is another possible option. 

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

04001_hr.dat.png

 

Thank you all for your help. Please see a clean version of one of the images.

 

The aim would be to make all 20,000 of them look like these: ECG interpretation in electrolyte emergencies | ECG Cases | EM Cases (emergencymedicinecases.com)

e.g. adding different amounts of noise, rotations, light views

 

What often happens in real life is these heart traces are printed on paper. Someone then takes a photograph or scans it to the electronic patient record. The aim would be to make it seem like this happened with all 20,000 of them.

Votes

Translate

Translate

Report

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
Contributor ,
Feb 16, 2023 Feb 16, 2023

Copy link to clipboard

Copied

This is raising some red flags for me. 

 

Please hear me out on this:

If I understand you & the twitter feed correctly, I'm guessing that these 20k images will be used to train an AI model.

If that is correct*, I want to ask of you to help us think carefully about the kind of alterations you're looking for.

 

Changing a large batch of images "willy nilly" can introduce repeating patterns. (waves, noise patterns, reoccuring wrinkles of scanned paper, ... )

The model could treat these repetitions as significant if they regularly change the ECG line itself.

As an example carelessly applied alterations could perhaps introduce signs of fluttering/fibrilation.

I'm not a doctor, not even close, but I hope this example illustrates the kind of potential risk I'm talking about.

 

Am I overthinking it?

How do you estimate such a risk and why?

What will this be used for?

 

*It could just as well be that your supervisor is asking you to print & scan 20k images just to keep you busy.

In which case: let's automate it straight away and get you back to saving lives! 😉

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

Thank you for question. You are indeed correct. The plan would be to train AI algorithms using the dataset.

 

Your point about introducing repeat patterns is excellent as well. Thank you for thinking this through. You've certainly highlighted an important potential issue with this. Once we have created the ECGs, our plan would be to validate our dataset by comparing our created ECGs with the originals to ensure that they remain accurate from a diagnostic perspective.

 

Happy to discuss this in further detail.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

A superficial »dirtying up« of the image is possible, but as @jefbr mentioned it seems possible that this could introduce unintentional (and hard-to-notice) regularities that would not apply to the real-world-examples. 

Especially randomizing the result of simulated perspectival distortion and »wavy« paper might prove difficult. 

Screenshot 2023-02-21 at 15.27.12.png

Votes

Translate

Translate

Report

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