# materialmodifier: An R package of photo editing effects for material perception research

**Authors:** Hiroyuki Tsuda, Hideaki Kawabata

PMC · DOI: 10.3758/s13428-023-02116-2 · Behavior Research Methods · 2023-05-10

## TL;DR

This paper introduces an R package for editing photos to manipulate how materials look, helping researchers study how people perceive surfaces and appearances.

## Contribution

The package provides a reproducible and quantitative method for manipulating material appearance in images for psychological research.

## Key findings

- The package implements an image-processing algorithm to control surface properties like gloss and roughness.
- A behavioral evaluation experiment demonstrated the package's effectiveness in material perception research.
- The package is available on CRAN with documentation and source code on GitHub.

## Abstract

In this paper, we introduce an R package that performs automated photo editing effects. Specifically, it is an R implementation of an image-processing algorithm proposed by Boyadzhiev et al. (2015). The software allows the user to manipulate the appearance of objects in photographs, such as emphasizing facial blemishes and wrinkles, smoothing the skin, or enhancing the gloss of fruit. It provides a reproducible method to quantitatively control specific surface properties of objects (e.g., gloss and roughness), which is useful for researchers interested in topics related to material perception, from basic mechanisms of perception to the aesthetic evaluation of faces and objects. We describe the functionality, usage, and algorithm of the method, report on the findings of a behavioral evaluation experiment, and discuss its usefulness and limitations for psychological research. The package can be installed via CRAN, and documentation and source code are available at https://github.com/tsuda16k/materialmodifier.

## Full-text entities

- **Genes:** GNPDA1 (glucosamine-6-phosphate deaminase 1) [NCBI Gene 10007] {aka GNP1, GNPDA, GNPI, GPI, HLN}, HLP (hyperkeratosis lenticularis perstans) [NCBI Gene 100188397], HLA-A (major histocompatibility complex, class I, A) [NCBI Gene 3105] {aka HLAA}, IH (Hemihypertrophy) [NCBI Gene 100188864] {aka HHP}
- **Diseases:** BS (MESH:D058745), HHN (MESH:D006316)
- **Chemicals:** HHN (-)
- **Species:** Homo sapiens (human, species) [taxon 9606]
- **Cell lines:** CFD-AM-215-120-N — Homo sapiens (Human), Induced pluripotent stem cell (CVCL_JR07), CFD-WF-003-003-N — Hypomesus olidus (Pond smelt), Spontaneously immortalized cell line (CVCL_R857)

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC10991072/full.md

## Figures

23 figures with captions in the complete paper: https://tomesphere.com/paper/PMC10991072/full.md

## References

50 references — full list in the complete paper: https://tomesphere.com/paper/PMC10991072/full.md

---
Source: https://tomesphere.com/paper/PMC10991072