원시데이터 수집 시스템
선정목록으로

Personalizing image enhancement for critical visual tasks: improved legibility of papyri using color processing and visual illusions

관련 엔지니어링 플라스틱 · (23) 컴파운드

기본 정보

저자
  1. Vlad Atanasiu — Department of Ancient Studies, University of Basel, Basel, Switzerland|||Department of Informatics, University of Fribourg, Fribourg, Switzerland
  2. Isabelle Marthot-Santaniello — Department of Ancient Studies, University of Basel, Basel, Switzerland
DOI
10.1007/s10032-021-00386-0
저널
International Journal on Document Analysis and Recognition (IJDAR)
발행년도
2021
발행기관
Springer Science+Business Media
피인용수
9
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1007/s10032-021-00386-0
토픽
Color Science and Applications
OpenAlex ID
W3196438489

평가 내용

관련도
관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '엔지니어링 플라스틱 > 컴파운드' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

The online version contains supplementary material available at 10.1007/s10032-021-00386-0.

본문 108,775자

본문 펼치기
This article develops theoretical, algorithmic, perceptual, and interaction aspects of script legibility enhancement in the visible light spectrum for the purpose of scholarly editing of papyri texts.-Methods: Novel legibility enhancement algorithms based on color processing and visual illusions are compared to classic methods in a user experience experiment.-Results: (1) The proposed methods outperformed the comparison methods.(2) Users exhibited a broad behavioral spectrum, under the influence of factors such as personality and social conditioning, tasks and application domains, expertise level and image quality, and affordances of software, hardware, and interfaces.No single enhancement method satisfied all factor configurations.Therefore, it is suggested to offer users a broad choice of methods to facilitate personalization, contextualization, and complementarity.(3) A distinction is made between casual and critical vision on the basis of signal ambiguity and error consequences.The criteria of a paradigm for enhancing images for critical applications comprise: interpreting images skeptically; approaching enhancement as a system problem; considering all image structures as potential information; and making uncertainty and alternative interpretations explicit, both visually and numerically.Keywords script legibility • image enhancement • color processing • perceptual image processing • image quality • papyrologyIt's obvious -any fool can see it.Homer, The Iliad, 7.464 [77: 227] Article accepted for publication by the International Journal on Document Analysis and Recognition (IJDAR) on 2021.08.28. Introduction Of the images below, which would you consider more legible, A. Introduction or B. ? Introduction If you selected B, you behaved like an engineer, confident in the benefits of a high signal-to-noise ratio.It may, therefore, come as a surprise that, in the evaluation reported in this article, three out of eight scholars deciphering these ancient Greek papyri preferred item A, because it is the original document, and originals should not be altered.This is not unreasonable: to question what exactly one is looking at is sensible.We call this attitude critical vision, and place it at the core of image enhancement.Our psychophysical and sociological mini-experiment also illustrates how enhancement quality depends on more factors than algorithms alone.These two principles frame the work being presented here. Introduction Objectives -In narrow terms, the scope of this article is the legibility enhancement in the visible light spectrum of papyri documents for scholarly text editing.The broader objectives derive from the challenges, approaches, and lessons of this work.On the technical level, the aim is to demonstrate the utility of color processing and visual illusions in legibility enhancement.To emphasize the power of these approaches, the proposed methods will rely on a minimal algorithmic apparatus.On the theoretical level, a paradigm of legibility enhancement for computer-aided vision will be outlined.The central tenet of this paradigm is that critical vision tasks require enhancement technologies capable of making uncertainty explicit and adopting a systemic approach, that encompasses users, tasks, data, methods, tools, and interactions.The methodological objective is to develop methods and paradigms on an empirical, interdisciplinary basis. Introduction Relevance -Papyri make up an extensive but underexploited trove of time capsules.The vast majority of these artifacts are accessible only as images taken in visible light, and are often characterized by poor legibility due to degraded physical documents, non-calibrated imaging, and image compression.Digital enhancement promises to reduce the time and uncertainty associated with reading difficult texts from difficult reproductions.This work may be useful in application domains other than papyrology as well, as image enhancement is a ubiquitous stage in image processing.For example, there are similarities between deciphering papyri and examining medical, forensic, and military imagery, with respect to the uncertainty surrounding their interpretation. Introduction Contributions -The present article adds to the limited existing work on papyri enhancement in the visible light spectrum.It promotes the use of color processing and computationally-induced visual illusions.It works towards remedying the lack of a holistic approach to legibility enhancement.Making uncertainty explicit is also novel in this domain. Introduction Methodology -The theoretical argument made in this article, the evaluation of the proposed methods, and the design of the ensuing software rely on an in-depth exploratory statistical analysis of data obtained from a user experiment.However, mathematics, algorithms, software, and hardware are never neutral when used by humans; this is especially so when the machine and the human form a closely coupled system, as in the case of legibility enhancement.Therefore, this article presents various points of view regarding how psychological and sociological factors are co-determinant in the design of legibility enhancement methods.The user-centric and context-aware approaches promoted herein are complementary to purely data-driven methods [162]. Introduction Applications -The principal application is an aid to human vision for use in transcribing papyri.The developed legibility software is also a tool for publishing better papyri images in print and online.Machine vision, particularly document binarization and text recognition, is the third potential application or the proposed methods, although human-readable texts are not necessarily legible to machines. Introduction Organization -Section 2, "Problematic", introduces papyrology and scholarly text editing, then defines legibility enhancement trough the concept of critical vision.Section 3, "Related work", reviews the computational methods of image enhancement used in papyrology and for similar tasks in other domains.Section 4, "Methods", presents the novel legibility enhancement methods.Section 5, "Experiment", describes a user experiment to empirically understand critical legibility enhancement.Section 6, "Paradigm", discusses a type of image enhancement that makes uncertainty explicit, and summarizes the criteria of a computer-aided critical vision system.Section 7, "Implementation", shows how the paradigm and empirical findings were translated in software. Introduction Detailed technical information that is secondary for comprehending the main arguments in this article has been set in a smaller font size to facilitate readability.For color figures, please refer to the electronic version of this article.The image evaluation dataset is part of the article's online Supplementary Material.The software resulting from this research is freely available online [16]. Relevance Papyrus was the quintessential portable writing surface in the Mediterranean area for five thousand years, until the end of the first millennium CE, when paper technology spread.As such, papyrus is a crucial carrier of substantial knowledge about the Egyptian, Greek, Roman, Byzantine, and other civilizations of antiquity.Figs. 1 and 2 present surviving samples of two foundational texts of Western mathematics and literature: Euclid's Elements and Homer's Iliad.The number of unpublished papyri is currently estimated to be approximately one to one and a half million, which "will keep papyrologists busy for centuries at least" [181: 644-645]. Data Cyperus papyrus L. is an aquatic plant growing on the banks of the Nile River.By slicing, assemblage, and gluing via its own sap, a fine, flexible, and smooth papyrus can be manufactured, that is suitable for writing [34].The orthogonal fiber pattern and surface roughness were once commercial criteria in the papyrus trade; today, they offer valuable hints to historians on prices, tastes, and document origins.However, the closeness in spatial frequency between papyrus texture and script complicates computational graphonomics.Reading performance is also affected, given the higher perceptual sensitivity to horizontal and vertical gratings [26: 270-271].The spectral characteristics of papyri satisfy historical and computational aims, such as the recovery of ink traces by means of multispectral imaging.Further characteristic, inconvenient to scholars and scientist alike, include edge irregularity, holes, document fragmentation, and the presence of artifacts surrounding the papyrus, such as color charts, rulers, and shelf marks (Fig. 1). Task Papyrology is the study of papyri, although it also encompasses inscribed potsherds, wax tablets, metal foils, and other materials [17: xvii].The aim of papyrology is to elucidate all aspects of the past, from the material to the spiritual.Its main source of information is the text content.Text editing is the process of transforming a poorly legible text in bitmap format into legible electronic text.This is not a purely mechanical task, as considerable paleographical, linguistic, and historical knowledge is required to construct a space of possible readings and then select one or more as the most probable.It involves more than "a pair of sharp eyes and a certain amount of common sense" as any person struggling with an unfamiliar script and text can attest, and it has been aptly compared to the work of a detective or a puzzle solver [161: 197, 199].For papyrologists, every word counts, because a single misread character can, literally speaking, change a queen into a fishmonger or teleport a city across space and time.Therefore, variant readings are common and indexed, since 1922, in a dedicated publication [161: 212-213]. Task The task under consideration can thus be defined as critical vision in (a) the objective sense that its outcomes are of significant importance, and (b) the subjective sense of an observer exercising skepticism in the interpretation of signals.Here, the observers are the text editors, who are circumspect about the reality and meaning of what is seen in images, and their readers, who doubt the editors' interpretation.The opposite of critical vision is casual vision, which is characterized by lower task criticality and levels of observer criticism.In psychological terms the latter is a form of fast, reflexive, and easy cognition (System 1), and the former of slow, analytical, and deliberative cognition (System 2) [83]. Task The two vision types call for different image processing paradigms.Casual vision is best served by binary images, designed to minimize entropy and produce trustworthy, unambiguous texts.Critical vision requires that ambiguity be maintained.In this case, no image structure is noise; every one is potential information.They provide context to develop concurrent readings and are valuable as archaeological layers of the document's history.The text on a crumpled paper, to illustrate the argument, wouldn't be identifiable as a draft if the creases would be removed for the sake of noise reduction. Strategies It is not unusual for papyrologists to take part in archaeological excavations, and, like archaeologists, to be sensitive to the context of discoveries and use various techniques to analyze data.A quote from experimental participant FRG illustrates the roles of contextualization and diversification: The user describes the creation of a coherent, rich, and justifiable interpretation based on multiple perspectives.Implicitly, he indicates that the legibility enhancement system must support the enhancement of a variety of image features, and that methods may be chosen for their good performance on a specific document and task.The strategy fits well with models of visual search [104] and information seeking [102].In-depth user studies and theoretical models of papyrological reading strategies implemented in expert systems are discussed in [56,155,175,176]. Duration The text editing of papyri is a delicate and typically lengthy process, comprising document manipulation during reading, forming hypotheses regarding the content to achieve comprehension, and consulting auxiliary resources such as dictionaries.In addition to legibility, other factors affecting the amount of time required for this work include content difficulty, reader expertise, and work behavior.For example, it took the experienced participant FRG five to six hours split between two sessions to transcribe the papyrus used for training during evaluation, which was equivalent in length and legibility to the test documents presented in Fig. 2. The trainee OC, however, worked on and off for four to five weeks to transcribe a similar papyrus.AW also emphasized how, as time passed, he repeatedly modified his textual interpretation (or "belief", to use Reverend Bayes' terminology). Duration One implication is that dataset size and participant number is limited by necessity in papyrological legibility evaluations.A further consideration is the feasibility and appropriateness of experiments conducted in controlled laboratory settings.Not only is their organization complicated by their length, but the cognitive process of activity followed by rest phases is also impractical to reproduce.Under these constraints, the "homework" approach is more practical and realistic. Papyrological practice Three approaches to script enhancement characterize common papyrological practice: interactive image manipulation, spectral decorrelation, and imaging techniques [142,35]. Papyrological practice Interactivity -Image editors such as Adobe Photoshop allow easy and quick enhancement of papyri for a wide range of users.The flexibility of interactive image editing promotes solutions adapted to specific document qualities and user interests.Manipulations beyond the most basic tasks, however, require greater expertise, and are time-consuming. Papyrological practice Decorrelation -In the early 2000s, Jon Harman created DStretch, a software for enhancing pre-historical rock art from the American Southwest.This has since become a commonly used tool among papyrologists [71,142].DStretch decorrelates spectral bands by using either eigenvectors or principal components [8,66].The process can be performed in various color spaces, to highlight different features.An image is obtained with pixels that are ideally well-separated in terms of color values, and represented as pseudo-colors.The method yields excellent results for images with a Gaussian distribution, which is characteristic of inscriptions such as walls, potsherds, or stones.DStretch is also considered user-friendly by papyrologists and can be used in a field-work context, as a smartphone application.One limitation of the decorrelation stretch method is its poorer performance for images with a non-Gaussian distribution, as in the case of papyri reproductions.Moreover, the features emerging from decorrelation are not necessarily meaningful.Fig. 3 shows how DStretch induces both achromatic contrast and chromatic noise, in comparison with two of our novel methods. Papyrological practice Imaging -Most papyri images are obtained through color or monochrome photography; these are the images of principal interest in this article.However, the specific needs of paleography have also lead to the use or pioneering of many sophisticated techniques.Ultraviolet and infrared imaging, which can reveal ink traces in recycled and degraded documents invisible to unaided human vision, are used to analyze individual papyri [180,60,5].With the advent of commercial narrow-band hyperspectral scanners, large-scale digitization has also become possible [94,91,41].Reflectance Transformation Imaging retrieves the three-dimensional texture of the papyrus surface by illuminating it from a multitude of angles, thus providing a level of depth information that is inaccessible through classic photography [142].X-ray and terahertz-based imaging have been used for the non-destructive reading of subsurface inscriptions in papyri and mummy cartonnage [105,64].These methods have been coupled with computed tomography methods for the virtual unrolling of the Herculaneum papyri, carbonized during the famous eruption of Mount Vesuvius in 79 CE [7,112]. Computer science research The authors have found very few articles that specifically examine the enhancement of papyri legibility from visible light images.Sparavigna [174] applies an edge detector based on the magnitude of dipole moments to increase the contrast of shape outlines, and thereby further enhancing the effect of a similar edge detection neural mechanism already present in the human visual system, known as the Mach bands [26: 362-363].The anisotropic filtering of the image in the frequency domain was tested as a preprocessing step to suppress papyri fibers and gaps; unfortunately, this also removed character segments collinear with the fibers. Computer science research The best papyri enhancements are obtained using multispectral imaging, as noted above in the papyrological practice overview.Moreover, in conjunction with multispectral images, color processing has also been used for papyri legibility enhancement specifically and for document processing more generally, as will be shown in the next section.We will here widen the survey to encompass other methods, topics, and applications of potential interest to this article, within the field of document processing and beyond, and conclude by discussing the applicability of machine learning. Computer science research Because noise -whether biological, mechanical, electrical, or digital -is a fundamental issue in communication, substantial research has aimed at improving document legibility by suppressing a great variety of what are usually considered manifestations of noise, including: ink bleedthrough [46], see-through [48], foxing [163], shadows [95], termite bites [150], cross-outs [30], photocopied low-contrast carbon copies [36], low resolution raster images [141], and background texture interference [133] (for a history of image denoising, see [111]).The type of visual media can also dictate the typology of enhancement methods (e.g., methods for pictures and for movies differ in whether the time dimension is available as a source of contextual information for optimizing image processing) [24].In applied science contexts, such as in the photography and video equipment industry, there is interest in developing enhancement methods predicated on an understanding of the nature of noise, e.g., optical, mechanical, and electronic noise sources in cameras [139].Advances in image quality measurement [87,191] have benefited from research into visual perception and neuroscience [187,19], as well as models of scene statistics [188].The role of tasks in image enhancement is of particular interest in cultural heritage applications [179].The systemic and critical approaches to document analysis advocated in this article have been the subject of exemplary research over more than a half-century in two domains, each with specific aims, constraints, and solutions.First, the legibility of flight documentation and instrumentation plays a critical role in aviation performance and safety; here, optimization has been approached mainly through psychophysical experimentation [55].Second, research on the enhancement of medical radiographic images stands out in terms of the extent to which the impact on clinical diagnosis of technologies and perception have been investigated, including the role of visual illusions [158,23]. Computer science research In addition to methods, prominent areas of focus in this original histeq stretchlim adpthisteq locallap lt retinex lsv vividness neglsv negvividness Fig. 4 Enhancement results on papyri PSI XIII 1298 (15a) r 1 (top) and P.Oxy.XXII 2309 (bottom).From left to right: the original; five standard enhancement methods; and the new methods proposed in this article (italics).Note the different attenuation of the smudge (top row) and papyrus texture (lower row).The image labels refer to the eponymous methods described in Sections 4, "Methods", and 5.1, "Algorithms", and are abbreviations of (from left to right) original image, stretch limits (stretchlim), histogram equalization (histeq), adaptive histogram equalization (adapthisteq), local Laplacian filters (locallapfilt), retina and cortex (retinex), lightness, saturation, and value (lsv), vividness (vividness), negative vividness (negvividness), and negative lsv (neglsv).Retinex and vividness are established names in the literature, while stretchlim, histeq, adapthisteq, and locallapfilt carry over the function names given in the Matlab programming language, which was the development environment in the work presented herein.All ninety evaluation images are available in the article's online Supplementary Material. Computer science research field are datasets, benchmarks, and groundtruthing [117].Visual confirmation of the attenuation of conspicuous artifacts is a typical means of comparing methods, supplemented with numerical characterization if feasible (i.e.given the availability of reference images or appropriateness of reference-free image quality measurements).User evaluations are rare, and vary from a few participants for historical documents [28,12] to thousands in online campaigns for industrial applications [63,144].Legibility has been systematically studied since the early 20th century in experimental psychology (notably for the design of traffic signage and car plates, flight documentation and instrumentation, and typography for visually impaired [114,14]), in works on teaching handwriting [159], as well as in relation to optical character recognition [68] and document image quality [4]. Computer science research While the use of machine learning for image enhancement is well established [177], its application to document image enhancement, in particular historical, is still rare [72,74,130,131,115].Notwithstanding results comparable to the state of the art, the challenges it faces are considerable.Historical data is scarce and heterogeneous, and groundtruthing is time-consuming, which hinders the generalizability of the learned models [54].In respect to the task of critical vision, an implementable machine learning methodology has yet to be devised that can deal with images that are ambiguous, and their interpretations multiple, variable, or unknown.For scholarly applications, the resulting enhancements have to be, furthermore, trustworthy. Justification The proposed methods are rooted in color science and visual psychology, and thus stand in contrast to the mathematicsand data-driven methods typically utilized in the document analysis domain.This section presents the rationale for and benefits of these methods. Justification Color image processing is a highly interdisciplinary area of computer science, owing to the multifarious aspects of color, as diverse as electromagnetic, perceptual, genetic, and linguistic [62,97].The perception of shape as the prominent aspect of documents has resulted in color receiving moderate attention in document image analysis.However, if the image resolution is low, or the text and background interfere with each other, as often occurs with papyri, color processing becomes an excellent alternative to spatial and frequency domain processing.Application examples of color-based document processing include historical document image enhancement [118], denoising, and binarization [184], page object segmentation [9], as well text extraction from typographic documents [172], web images [86], and cartographic maps [183].Fig. 3 illustrates the outcomes of the proposed and comparison methods, highlighting interactions between color and shape. Justification One far-reaching tenet of color research [84,182] is that the technological, cognitive, and perceptual modalities through which visual reality is apprehended are not necessarily consistent with one another.In the negative polarity method, for example, physically and numerically identical gray-level differences are perceptually distinct.Because such effects, experienced as paradoxical, are the core of some proposed methods, this fact is emphasized through the use of the term visual illusion (see definitions, typologies, theories, history, and samples in [147,164]).Effects appropriate for enhancement were chosen among color illusions, since geometrical illusions are difficult to elicit without degrading legibility, and that illusions of stereopsis, apparent motion, and temporal illusions are tiring to use for extended periods of work. Justification The use of color and illusions shifts the burden of image enhancement from the computer to the human visual system.This perceptual image processing approach makes possible to create algorithms that are both mathematically straightforward, and considered by the experimental participants useful.Researchers also have noticed that simplicity is beneficial to legibility enhancement quality [178: 404, 416], and the likelihood of implementation of methods in software and their use by the end-users [100: 920]. Chroma contrasting by gamut expansion In Fig. 5, the picture on the right appears more saturated, and the text is more clearly separated from the background.Yet the color values of both image files are identical.The perceptual difference results from the files being tagged with different color profiles, meaning that the same values represent different locations in the color space.The embedded profile of the left image is sRGB IEC 61966-2.1, a standard designed for displays with a limited amount of reproducible color, as were typical in the 1990s.The space defined by these Fig. 6 The sRGB color gamut volume represented within the Adobe RGB (1998) gamut (gray hull) in the CIELAB color space.The vertical dimension represents lightness, L*, while the horizontal axes correspond to the red-green, a*, and the blue-yellow, b*, opponent colors.colors is called a color gamut (Fig. 6).The larger Adobe RGB (1998) gamut was designed to meet the needs of photographers and high-fidelity reproduction.Humans perceive far more colors than are present in either of these gamuts. Chroma contrasting by gamut expansion Numbers alone do not define colors; a coordinate system is also necessary.When a color space is replaced by a wider one, the gamut expansion increases the detectability of differences without affecting the values.The elegance of this legibility enhancement method resides in not requiring any numerical manipulation from software developers. Chroma contrasting by gamut expansion The underlying psychophysics is based on stronger chroma increasing the perceived level of luminance (brightness), which is known as the Helmholtz-Kohlrausch effect [52,45].This effect is leveraged as an unintended application of gamut mapping to improve the legibility of papyri. Chroma contrasting by gamut expansion A color space assignment and perceptual effects occur whenever an image file is read and visualized.Therefore being aware of their impact on legibility is important.In the case of papyri, the issue is compounded by so few reproductions having embedded color spaces.The most widespread space, sRGB, is assumed to apply in such situations.The work of converting numerical values to visible color is left to the color management system of the image viewers, operating systems, and displays.For several reasons, transforming the numerical values to the destination color space may be desirable, instead of solely specifying it.For example, applications might disregard color space profiles, and thus deprive users of the enhancement effect.Nonetheless, the transforms among color spaces (gamut mapping) are user-and application-specific.The "perceptual intent" shifts out-of-gamut (OOG) color values to in-gamut values, thereby preserving perceptual color appearance; by contrast, the "colorimetric intent" strives to preserve numerical fidelity, usually by clipping outlier OOG values to the destination's gamut boundaries.This is a key topic in color management research [153,165].The legibility enhancement method suggested here can be made more robust by using standardized color conversion profiles, such as developed by the International Color Consortium (ICC).The relevant code in the Matlab programming language is as follows: source_profile = 'sRGB Profile.icc';destination_profile = 'AdobeRGB1998.icc';C = makecform('icc', destination_profile, source_profile); I = imread('input_image.tif');J = applycform(I, C); imwrite(J,'output_image.tif', 'ColorSpace', 'rgb') Chroma contrasting by gamut expansion The results shown in Fig. 7 exhibit the change in chroma and color distribution.On the left is the original image with sRGB profile and its color distribution, and on the right the image after conversion to Adobe RGB (1998). Lightness contrasting by stretching Lightness refers to perceived reflectance, and is an achromatic component of color, together with brightness [157: 2766-2767].It is also a principal source of information about shapes for the human visual system, as can be ascertained via image decomposition into achromatic and chromatic colors: Lightness contrasting by stretching Hence, increasing the lightness contrast substantially improves legibility.The enhancement formula (stretchlim) is Lightness contrasting by stretching where L* is the lightness in the CIELAB color space, bound to the [0, 100] range and corresponding to the approximate number of perceptually noticeable lightness levels under optimal conditions [51: 24, 202].CIELAB was developed by the Commission Internationale de l'Éclairage (CIE) as a perceptually uniform color space allowing for the quantitative description and manipulation of color along fundamental phenomenological dimensions, such as lightness, chroma, and hue.Its perceptual proprieties often make CIELAB a better candidate for color processing than the Red, Green, and Blue (RGB) color space of common digital images.CIELAB is not without its shortcomings and more accurate color appearance models exist and are developed [166; 51: 201-210]; however, for applications where faithful color reproduction is not the main goal, CIELAB remains adequate.The conversion between RGB and CIELAB is parametrized by a triplet that specifies the illuminant of the scene reproduced in the image [40].D65 (noon daylight, 6504 K) provided in practice the greatest improvement to papyri legibility. Lightness contrasting by negative polarity The characters in Fig. 8, with CIELAB lightness values of 0 (black) or 100 (white), are set on squares of value 50 (gray).Despite identical numerical difference between figure and ground, the perceived contrast is stronger for light-on-gray configurations (bottom) and weaker for dark-on-gray (top); dark surrounds (left), and diminishing the stimuli (right), increase the effect.This occurs despite the perceptual linearity of CIELAB lightness and the use of calibrated displays.This contrast illusion, known as lightness induction, is modulated by factors including asymmetrical polarity gain, non-linear focus/surround contrast gain, and spatial frequency [156; 157; 26: 354-356, 358-359, 370-371].It belongs to the broader category of color constancy, the neural and ecological basis of which has been a matter of debate since antiquity [65,2].Furthermore, the irradiation effect, well-known to astronomers, makes light figures in dark surrounds (e.g.stars in the night sky) appear larger [190,143]. Lightness contrasting by negative polarity Taken together, these effects let us posit that reversing the polarity of the image (i.e., so that the script appears lighter), will improve legibility.The empirical testing of this hypothesis as applied to papyri images is reported in Section 5, "Experiment".The formula for negative polarity (neg), L*′, is Lightness contrasting by negative polarity where L* is the image lightness in the CIELAB color space.The method is appropriate for papyri, a document type of medium lightness inscribed with dark ink, and typically imaged on a light background (see Fig. 2). Selective contrasting by vividness colorization Chroma is a dimension of the CIELAB color space that is orthogonal to lightness and hue (Fig. 9).Chroma modification effects a change between achromatic and chromatic color.Another dimension is vividness, which defines a concomitant change in lightness and chroma [22].Vividness can be used as a model of how a dark ink film applied to the papyrus reduces both the amount of reflected light, thereby changing the lightness, and acts as an achromatic filter.Thus, vividness helps to distinguish ink from papyrus better than lightness.They can be substituted one for the other to improve legibility.Enhancement based on vividness (vividness) preserves the papyrus appearance, because the chroma and hue values remain unchanged (Fig. 3).The process differs from stretchlim and gamut expansion in that the transform is non-linear and selective: that is, more vivid colors are more strongly emphasized, while achromatic color values do not change.The enhanced lightness, L*′, is given by Selective contrasting by vividness colorization where L* is the lightness, and a* and b* are the chromatic components in CIELAB (L*′ values exceeding 100 are clipped).The mathematical expression of vividness corresponds to the l 2-norm of the CIELAB image values. Selective contrasting by vividness colorization Because the vividness method modifies the image in a pixel-wise fashion, it increases the distinguishability of ink and papyrus even in the presence of objects such as color charts, which complicate the use of more sophisticated methods such as principal component analysis [27]. Background attenuation by difference of saturation and value The hue, saturation, and value (HSV) color space is not a perceptual color space like CIELAB, rather, it is a simple mathematical transformation of the RGB color space [170].Nonetheless, in HSV the distributions of saturation and value in papyri images roughly overlap (Fig. 10).On the basis of a simple difference between them, it is possible to attenuate the non-inked papyrus surface and, thus, enhance text legibility.Because the HSV value only approximates lightness, For each enhancement type, the diagrams show the location of four exemplary points in a vertical section of the CIELAB color space before and after enhancement.Thus, stretchlim displaces all points towards the extremities of the lightness axis; gamut expansion displaces the points along the chroma axis (except for those situated directly on the lightness axis); finally, vividness applies a rotation transform resulting in all points being collinear with the lightness axis. Background attenuation by difference of saturation and value we fuse the difference of saturation and value with CIELAB lightness (e.g., by taking the mean) and accordingly obtain an image with sharper edges (Fig. 11). Background attenuation by difference of saturation and value The algorithm (lsv) represents a blind separation of a mixture of distributions.It consists in replacing the CIELAB lightness, L*, by pixel-wise operations with L*′, as follows: Background attenuation by difference of saturation and value where L*′ is the enhanced lightness; V and S are the value and saturation image channels in the HSV color space, derived from the R, G, and B values of the RGB color space; and 0 � • � 1 denotes normalization to the [0, 1] range. Hue contrasting by hue shift Rationale -The spectral sensitivity of the human visual system is uneven: it peaks in the green band in bright light, and in blue-green in dim light; it is lowest in the red band [26: 28-29, 118-119, 208-209].As papyri have a brownish tint, a shift towards hues of higher acuity would be expected to improve legibility.The images in Fig. 12 result from applying this rationale.The first is the original, the second has all chromatic information discarded, and the remainder have the means of their CIELAB hue shifted to 246°, 162°, and 24°, which correspond to the loci of the primary colors [50: 343]. Hue contrasting by hue shift In addition for stronger acuity, a host of perceptual effects combine to make blue a compelling target for a hue shift.The increase in perceived lightness effected by an increase in chroma, as described above, is lowest for yellow and stronger for blue [52].Moreover, the visual field for blue is broader than that for both green and red, thereby allowing for better comparison between focus and surround [26: 108-109].A blue text background has also been found to improve performance in analytic tasks [121].Blue is furthermore robust to the most common colorblindness types [135]. Hue contrasting by hue shift Hue shift can be profitably combined with lightness polarity reversal: (a) lightness induction reinforces hue contrasting; (b) the asymmetry of the color space geometry reduces the dynamic range of chroma in the blue direction with respect to yellow for lightness levels above the medium [127: 133-169]. Hue contrasting by hue shift Achromatic vision can resolve finer details than chromatic vision [128].Because high spatial frequency is a characteristic of both script and papyri, using only the lightness channel for the decipherment task might make sense.However, the addition of color allows for ink to be better distinguished from stains, shadows, and other entities.Color vision in general improves image segmentation [69,29]. Hue contrasting by hue shift Implementation -The shift of the papyrus towards blue (blue method) is accomplished via the following equation: Hue contrasting by hue shift where h i and h i ′ are the input and output hue in the cylindrical CIELAB color space, with h = tan−1 (b*/a*) [51: 204]; while h p is the centroid of the papyrus hue values and h b = 246° is the locus of blue in the hue dimension.An initial observation is that this is an ideal method, given the non-homogeneities in CIELAB.Second, the centroid of the papyrus hue is non-trivial to determine in the presence of other scene objects, such as color charts.Third, the location of maximum blue sensitivity varies across individuals, genders, ages, visual ecologies, and cultures, among other factors [49]. Hue contrasting by hue shift A simpler solution is available.This consists in changing the sign of the values in the a* and b* CIELAB channels: Hue contrasting by hue shift This is made possible because the brown hue of papyri has blue as its opponent color.It is this method, applied in conjunction with negative lightness, vividness, and gamut expansion, that was employed in the user evaluation.A comparison of the hue shift and sign change methods is shown in Fig. 13.Fig. 11 Papyrus before (left) and after (right) enhancement with the lsv method (detail of papyrus 8 in Fig. 2). Hue contrasting by hue shift Fig. 12 From left to right: original, lightness channel L*, and hue-shifted papyri; all have negative lightness polarity (detail of papyrus 4 in Fig. 2). Hue contrasting by hue shift Fig. 13 Hue shift (left) vs sign change (right), plus negative polarity (detail of papyrus 4 in Fig. 2). Dynamic range increase with CIELAB retinex The retinex theory (from retina and cortex) provides an explanation for the constancy of color perception across a wide range of illumination conditions.Essentially, it expresses lightness as the product of ratios of spatial neighborhoods. Dynamic range increase with CIELAB retinex As an image enhancement technique, it reveals details in dark and light areas.Many variants have been proposed since Land's and McCann's original work, and the outcomes differ according to image quality, content, and intent [107,119]. Dynamic range increase with CIELAB retinex The process is typically performed on each color channel individually, or on a single intensity image derived from the three RGB values, as a substitute of lightness.Pursuing our thinking within the framework of color processing, we find that performing retinex in a perceptual color space (CIELAB) is beneficial to legibility enhancement.It results in a concomitant increase in contrast in several perceptual dimensions discussed in previous sections: lightness, saturation, vividness, and hue.Consequently, significant features may become visible.In Fig. 14, the presence of annotations in a different ink ( ) is striking in the CIELAB retinex process, and further details are revealed by the blue negative.The result, in terms of appearance, insights, and pitfalls, is analogous to watching the Iliad unfold in Technicolor rather than in black and white.The cinematic metaphor of image processing sums up the rewards and implications of color processing and visual illusions in support of critical vision. Cross-spectral colorization Although the proposed methods are designed for visible light images, their use may be extended to multispectral images. Cross-spectral colorization Background -Multispectral images consist of a set of single-channel images taken in various bands of the light spectrum; hence, each one is perceptually achromatic.Image fusion, which is a common additional processing step, is based on component analysis, wavelet transform, and other dimensionality reduction techniques [12,123,110,80,70,173]. Cross-spectral colorization The visualization of multispectral images and images from bands outside the visible spectrum (VIS) may be improved through the use of color processing and by integrating multiple images into a single image.The problem, however, is that non-VIS images have no natural color correspondence.Moreover, the number of dimensions of multispectral images (dozens or even hundreds) usually surpasses that which is perceptible by the trichromatic human visual system. Cross-spectral colorization Many single-and multi-channel "pseudocoloring" solutions have accordingly been developed [146,186,39,194], ranging from analog optical [193] to digital frequency domain coloring [3] to the ubiquitous "colormaps" [1].However, the perceptual intricacies that must be considered even when colormapping single grayscale images [154,98] indicate considerable scope for additional research in this area. Cross-spectral colorization In the document processing domain, the pseudocoloring of multispectral and non-VIS images has been used to increase the contrast between text and substrate.For example, George et al. [61] used the first three components of the principal and independent component analysis, respectively, of 31 spectral bands of an ostracon as input in the RGB color space.Easton et al. [47] inserted the ("invisible") ultraviolet-dominant grayscale image (long-wave ultraviolet light illumination) into the green and blue dimensions of the (visible) RGB color space, as well as the infrared-dominant grayscale image (tungsten illumination) into the red RGB dimension, thereby facilitating the legibility of the Archimedes parchment palimpsest.Gargano et al. [60] applied an overlay technique while working with papyri, which consisted in etching the binarized infrared image (or, alternatively, the red VIS channel) containing the document text into the visible light color image. Cross-spectral colorization Our solution does not rely on binarization, which presents problems when applied to papyri [149] and may introduce artifacts and suppress critical contextual information during the interpretation of difficult texts.The rationale is that a single-channel image from the non-visible spectrum (non-VIS), or a fusion of several bands, contains features of interest that are not or poorly identifiable in the visible spectrum.Conversely, the VIS image will contain contextual information, supporting the interpretation of the image.Because the "end-user" of the visualization process is the human visual system, we use the perceptual CIELAB color space rather than the physical RGB space. Cross-spectral colorization The procedure consists in transforming the VIS image from RGB to CIELAB, inserting the non-VIS image into the lightness dimension L*, and then converting back to RGB.We thereby obtain an image where the details (rendered as lightness) come from outside the visible spectrum, while the context (rendered as chroma and saturation) comes from within it.The use of color allows for visual discrimination between the two types of information, while the lesser spatial acuity of chromatic perception relative to achromatic perception [154] confers saliency to the script with respect to the background.Since we now have a color image, we may apply the methods presented above for further enhancement.Fig. 15 illustrates the improved legibility resulting from the cross-spectral colorization process. Method integration The proposed methods lead to better results when used concurrently.A papyri legibility enhancement workflow is presented in Algorithm 1.The vividness method is taken as an example, with gamut expansion, dynamic range stretching, negative polarity, and blue shift also included. Experiment Objectives -An experiment was carried out with papyrologists as participants in pursuit of four objectives: (1) Test the hypothesis that the proposed methods outperform existing ones.(2) Use the results to support the decision as to which methods to implement.(3) Explore the data to discover further potentially relevant facts and operationalize the findings.(4) Design the experiment to gain insight into the realistic usage conditions of the legibility enhancement software. Setup Participants -The experiment participants were two female and five male graduate students, and one male faculty member participating in the Eucor Tri-national Papyrology Webinar 2019-2020 held by the Universities of Basel (Switzerland), Freiburg (Germany), and Strasbourg (France).All were trained in Ancient Greek.Participation in the exper-iment counted towards their grades.The sample is more representative than suggested by its small size, if it is considered relative to the total number of papyrologists (the International Association of Papyrologists had 484 members in May 2020), and its international heterogeneity. Setup Stimuli -The stimuli consisted of a training and an evaluation set of papyri images.The training set comprised eight images of unpublished papyri from the University of Freiburg Library, whereas the evaluation set comprised the nine publicly available papyri color images from the ICDAR 2019 Competition on Document Image Binarization (DIBCO) [149] (Fig. 2).The quality of the original images in the training set was similar to that of the noisiest evaluation images.The DIBCO images represent typical qualities of papyri documents and reproductions, and the authors participated in their selection process.Each original method was processed with ten of the methods described in the previous section, thus bringing the total of images to 80 and 90 in the training and evaluation set, respectively (the evaluation images are available in the online Supplementary Material). Setup Algorithms -Four novel enhancement algorithms (vividness, lsv, negvividness, and neglsv) and five comparison algorithms (stretchlim, histeq, adapthisteq, locallapfilt, and retinex) were used.Given the variability of the lightness dynamic range in the test images, and to facilitate a bias-free comparison of methods, all images had their CIELAB lightness normalized in a preprocessing step, while their gamut was also expanded as described above.All methods were implemented in the Matlab (R2020b) programming environment, except for retinex, which was produced with the ImageJ software package.The choice of comparison methods was based on their status as classical enhancement methods (stretchlim, histeq, adapthisteq), having outstanding edge-preserving performance (locallapfilt), and being a prime choice for achieving color contrast equalization (retinex).-Input images had no embedded color space information, except for P.Oxy.XXII 2309, which was in sRGB.All methods converted the input images to the Adobe RGB (1998) color space with D65 whitepoint and saved them to sRGB to expand the color gamut.Lightness was obtained from CIELAB.-The novel algorithms were those described in Section 4, "Methods".Negvividness and neglsv apply negative lightness to vividness and lsv.Due to late-breaking research hue shift and CIELAB retinex were not included in the experiment.-Stretchlim [118] expands the dynamic range of an image's CIELAB lightness to its bounds, [0, 100].-Histeq [79,118] is a global enhancement method that equalizes the spread of the histogram values of an intensity image over the available bit-depth dynamic range via linearization of its cumulative density function, thereby improving its contrast.-Adapthisteq (contrast-limited adaptive histogram equalization, CLAHE) [197,118] is a local enhancement method similar to histeq, in that it equalizes the image histogram; however, it does this on small regions (here, 8-by-8 pixels).Accordingly, contrast for local structures is increased.-Locallapfilt [134,118] is a state-of-the-art edge-preserving image enhancing method using pyramids of locally-adapted Laplacian filters.Depending on parametrization, it can be used to either smooth or sharpen.Smoothing was used here, with parameters σ = 0.4, α = 2, and β = 1, derived empirically for their appropriateness to papyri images.-Retinex images were produced with the ImageJ implementation (RGB color space, uniform level, scale 240, scale division 3, and dynamic 1.20) [73]. Setup Procedure -Each participant transcribed the text of a different image from the training set as part of their webinar examination.Afterward, they were asked to rate the processed images according to how useful they were for text transcription, using the following system: X: "I used only one image for the transcription, this one"; A: "Very useful: it was the primary image used for transcription"; B: "I sometimes used this image"; N: "I didn't use this image".(The results were similar to those obtained from the evaluation set.)This experimental step in real use conditions acquainted participants with the opportunities provided by the various processing methods for scholarly text editing. Setup During the evaluation step, all participants worked on all images of the evaluation set (Fig. 2).The first task involved rating the images for a hypothetical transcription on the same scale as used for the training set.The second task involved the ranking of the same images by utility.Given the effort and time invested in a scholarly transcription of ancient papyri, requiring participants to provide a transcription of all evaluation images it would have been impractical. Setup Several further questions were asked of the participants regarding how they organized the images and interacted with the computer to compare the versions (e.g., side by side, overlaid, or printed); whether they zoomed into the images; whether they used a desktop, laptop, tablet, or other device; how many displays were used and what sizes they were; what the operating system and image display application were used; and whether they could provide any other information about using the processed images for the transcription task. Setup Setting -The experimental instructions were sent by email to the participants, who downloaded the images to their computers and eventually sent back the completed questionnaires.Given the virtual nature of the papyrology webinar, the participants never physically convened in the same location as the experimenters, thus precluding testing in controlled laboratory conditions.This constraint, however, turned out to be a great opportunity.The homework "field study" enabled in situ simulation of the use of then future legibility enhancement software in realistic conditions in a variety of dimensions, and thus led to findings that could not have been obtained in a laboratory setting.In addition to leaving the choice of evaluation environment and time to participants, the setting also maintained their familiarity with the software and hardware employed.Data organization on personal computers, human-computer interaction patterns developed in coexistence with specific operating systems and applications, as well as the display size and number are only some of the factors that would have biased the results if participants had to work in the unfamiliar laboratory settings. Setup To more accurately simulate real-life conditions, the image filenames were also not anonymized.The identity of these images is indeed known to real users, since they select methods by name in the enhancement software interface.Furthermore, the methods employed in this evaluation produce images that are sufficiently peculiar to make them identifiable at a glance (such as the negative polarity method), which defeats the purpose of anonymization.The differentiated practices that may develop from this knowledge are part of normal user behavior and represent the insights that the evaluation aims to develop.If anonymization was employed, these real behaviors would not have been captured, meaning that the evaluation would have simulated a non-existent condition.An illuminating example of this rationale concerns the special treatment given by the experimental participants to the original image, which was ranked as the most reliable image for the transcription task despite broad acknowledgment of the better script-background contrast in the enhanced images. Setup Similar considerations to ours have led to remote evaluations in two other legibility enhancement evaluations of historical documents [28,12].Large-scale image and video quality assessments with 8 100 and 985 participants from multiple countries, rating 1 162 and 3 000 images respectively, found the results of laboratory and unconstrained online evaluations to be equivalent [63,144].Methodologies for crowdsourcing image quality assessment have also been actively investigated [78,152], while the "ecological validity" of laboratory and field experimentation has been debated for over half a century in fields such as psychology, sociology, and economics [76,90,124,57]. Setup Frame -The experiment measured the preferences for legibility enhancement methods in the context of specific documents and available hardware and software, developed in real-life conditions by participants as they gained expertise in using these methods for scholarly text transcription.This statement is necessary to clarify how legibility enhancement was framed by the experimental design.It is not (as would be possible with a different design) transcription errors or duration of task completion that are measured to judge the utility of methods for enhancing legibility, but rather their utility as manifested in their rating and ranking by papyrologists. Results Table 1 presents the ratings and rankings of the image processing methods used in the experiment.Providing this data in extenso is essential if we are to make visible the statistical features quantified, summarized, and discussed in the next section.For example, while user behavior heterogeneity is apparent from Table 1, it is obfuscated in Table 3 through statistical data aggregation.Note: "X" denotes methods used to the exclusion of all others, "A" those that were of primary use, "B" those that were of secondary use, and "N" (on gray background) those that were of no use.Brackets indicate tied rankings. How good are the proposed methods? A visual inspection of Table 1 suggests that, as a group, the proposed methods ranked overall higher than the comparison methods.This impression is substantiated by the distribution of ratings of the two method sets according to their utility: the proposed methods are prevalently of primary use, whereas the comparison methods are mostly of no use (Table 2). How do the methods differ? The methods' effects on legibility were examined by combining the participants' feedback with a visual inspection of the enhanced images (Fig. 3) and understanding of the algorithms.The original image was typically low-contrast, and some portions of the script were faded or missing.Stretchlim (i.e., normalization of lightness) was often insufficient.Histeq created high local contrast variation, because it is based on global contrast improvement.Adapthisteq strongly enhanced the papyrus structure, which interferes with the script.Locallapfilt had very low contrast, and its smoothness was too strong; parametrization for individual images becomes thus necessary, although this is difficult to do automatically and inconvenient when done manually.Retinex performed best out of all methods at revealing the script, creating very sharp edges.However, reading was also made difficult because of interference from the papyrus structure, and there was also a strong vignetting effect that sometimes completely obscured parts of the image.LSV had excellent smoothing properties, but often damaged script structures.Vividness gives the most balanced results, although the contrast could be improved. Which methods should be implemented in software? To determine the relative utility of the individual methods, their ratings were aggregated across all participants and documents in an overall ranking (Table 3).This ranking was obtained with two different ranking methods, after which the outputs were aggregated and optimized.The top-1 enhancement method is vividness, followed by the negative method.The least useful were locallapfilt and histeq. Which methods should be implemented in software? Methodology -While ranking has been extensively investigated in statistics [11], we found methods with more useful properties for the task at hand in the domains of operations research, marketing, sports, and voting theory.These methods are non-parametric, and thus facilitate the handling of data with unknown distributions.They take categorical and ordinal data as input, which corresponds to the experimental ratings and rankings.They also differ in terms of their perspectives, with the mean-based methods being competitive and rewarding the individual performance of the enhancement methods, while the median-based method is consensus-based and satisfies the majority of users.These methods are briefly described below; the code was published in [15]. Which methods should be implemented in software? The Centroids ranking is based on matrix analysis [108: 127-129].The n-by-1 vector r of the aggregated rating scores of n items with individual scores s (or ranks k, for which s = n + 1 − k) is defined as follows: Which methods should be implemented in software? where S is an n-by-n matrix, with Which methods should be implemented in software? ) for i ≠ j and S ij = 0 for i = j (diagonal of zeros), S T is the transpose of S, and e is an n-by-1 vector of ones.(Note the row-wise averaging, from which the method derives its name.)Using Table 3.A as an example, the items correspond to the enhancement methods; their corresponding ranks are obtained from Table 1, after which application of the above equations results in the values listed in the rating column of Table 3.A.Their ranking is obtained by sorting the rating vector r in descending order of magnitude. Which methods should be implemented in software? The Ratio of Offense and Defense (ROD) [108: 176-197] takes as input the same score matrix S used by the Centroids method, from which it derives the ratings vector r through the following equation: Which methods should be implemented in software? where the methods' "offensive" strength is o = R e, while their "defensive" strength is d = R T e. (The terminology comes from the world of sports, where this ranking method originates.)In Majority Judgment each elector grades each candidate (instead of choosing a single one), and rates and ranks are obtained from mean scores, resulting in the elections of those candidates that are the most acceptable to the largest number of electors, i.e. consensual [18] ).This procedure was applied to the enhancement method utility ratings { X, A, B, N } of Table 1 in order to generate the rankings and ratings presented in Table 3.B.While ranking is an ordinal representation and rating is numeric, verbal qualifiers have their own benefits.For example, the utility of the ranked enhancement methods is easily recognizable from the category column of Table 3.B, which uses the spelled-out names of the four utility classes { Exclusive, Primary, Secondary, No use } corresponding to the ratings.The plus and minus signs following the class names indicate whether a method belongs to the upper or lower range of a utility class. Which methods should be implemented in software? Empirical evidence suggests that aggregated opinions may outperform individual ones, an approach formalized by ensemble methods [103].When comparing the results of the Centroids and Majority Judgment methods, differences can be seen in ranking and rating, reflecting the methods' differing outlooks.To obtain a balanced result, the two rating vectors are aggregated, first by deriving the matrices R of pairwise positive differences from each of the n (in our case n = 2) rating vectors r : (11) where p = { 1, 2, ... , n }.The matrices are then normalized and averaged: Which methods should be implemented in software? where e is an n-by-1 vector of ones.Finally, the aggregated scores vector r is obtained using the ROD method: r = R ‾ e / R ‾ T e.This procedure produced the ratings shown in Table 3.C.The approach is akin to graph analysis, as commonly used in e. g. website ranking methods, since negative differentials between pairwise scores are set to zero, meaning that the matrix R ‾ reflects the dominance of each enhancement method. Which methods should be implemented in software? A further refinement, named Kemenization, allows for the aggregated ranking to be optimized [88: 9-23; 108: 175-176].It consists in switching item k i with item k i+1 in the aggregated vector r if item k i+1 occurs more frequently among the ranks i of the input vectors r p .From the optimization column of Table 3.C, we can observe that the procedure results in no modification of the aggregated ranking. Are the evaluated methods sufficient? The fact that multispectral images typically provide superior legibility indicates that additional enhancement methods are desirable and sometimes indispensable (e.g., when reading carbonized papyri [125,171]).Nevertheless, participants attempting further image manipulation, such as in Photoshop, could not usefully improve legibility: "The enhanced pictures were most often so good that this didn't help as much as I hoped" (SN).Also, one method, i.e. vividness, was substantially better than the others (Table 3).Finally, over-reliance on the original image was apparent: "I like to work on the original version, and I find it's not always necessary to look at the others" (OR); "I mainly worked with the 'base' image (vividness or original).This represented 95% of my work. . . .The other . . .I briefly tried to use them, but quickly abandoned."(OC).This final comment was reflected in the numerous cases in which methods were deemed not useful (42% of n = 720 in Table 2; swaths of gray in Table 1).Provided that the DIBCO dataset is representative of papyri, the conclusion is that the amount and type of novel and existing methods made available are satisfactory on average. Enhancement methods are complementary and their utility is context-dependent Table 1 reveals a substantive variability of method ranking and ratings within participants, between participants, and between documents.Retinex, for example, is the first choice for participant AW, but the last for OC (Table 4).The statistical analysis of agreement and spread quantitatively confirms the striking variability (Table 5 and Fig. 16).Various distributions are present: unimodal, bimodal, and uniform (Fig. 16A).Clearly, no single method is adequate for every participant-document pairing.The implication here is that an optimal text transcription can be obtained only by optimizing individual user/document/method configurations, and not by the method that performs best on average; in other words; the choice of enhancement method is best left to the user. Enhancement methods are complementary and their utility is context-dependent A second insight from Table 1 is provided by participant FG, who stated that all methods were equally useful.Other comments concur: "the images . . .definitely complemented each other" [FG].Therefore, not only is no single method is the best, but there is an explicit need for the concurrent use of multiple methods to optimize text transcription. Enhancement methods are complementary and their utility is context-dependent The above precept is even more pertinent as image quality varies locally (e.g., AW ranked the method utility differently for the recto and verso of the same papyrus), and local information is critical to legibility.These findings further support the conclusions drawn from the overall method ranking.Rather than implementing a universal solution for legibility enhancement, multiple methods should be offered to users. Enhancement methods are complementary and their utility is context-dependent These results are unsurprising.The DStretch software, for example, offers more than fifty parameterizable methods.A recent comparison of the performance of eight optical, X-ray, and terahertz-based imaging approaches for recovering text within Egyptian mummy cartonnage concluded that it is only by "carefully selecting, optimizing and combining" them that success may be achieved [64: 1].Similarly, the organizers of the Document Image Binarization competition explicitly state that "no binarization algorithm is good for all kinds of document images" [44,113].In industries dealing with color imaging and reproduction, the impossibility of a universal algorithm for color conversion (gamut mapping) is also acknowledged.Various strategies are therefore utilized to select appropriate methods, on the basis of (for example) the user's subjective intention (maintaining saturation or overall color appearance [127: 3-5, 107-109, 194]), the linguistic dimension (preserving the names given to colors [127: 218-219]), or the semantic content (e.g., skin color [127: 216]).Comparison -Our findings appear to differ from those obtained by two recent legibility enhancement evaluations of historical documents, which explicitly indicate the homogeneity of agreement between participants.Brenner and Sablatnig [28] produced an annotated dataset of 250 multispectral images from 20 paper and parchment manuscripts, with selected regions of interest graded for their legibility by 20 scholars; the settings were both laboratory and remote, and the interclass correlation coefficient (ICC) [96] was used for statistical analysis.Arsene et al. [12] had seven participants evaluate 15 pseudocolor multispectral fusion methods for their utility in enhancing the legibility of one parchment palimpsest page; a laboratory setting and ICC analysis were used. A. Inter-class agreement There are evident similarities and differences in terms of intent and experimental setup between the above-mentioned works and the present research.We do however consider that the main reason for the behavioral heterogeneity observed in our study stems principally from three factors.First, all three evaluations contend with small sample sizes and unconstrained settings, which may amplify variance (while large datasets may hide diversity).Second, we adopted the following methodological "mantras": do not reject outliers, but question their significance (cf. the case of the original image); examine the raw data (Table 1) before aggregating it (Tables 2 to 5); do not assume normality for the data distribution (while ICC does).Third, the reported behavioral differences may reflect the evaluators' differing outlooks on which experimental aspects to operationalize.The focus is on one hand on personalization and contextualization, and on the other hand on generalization.The choice depends on the situation and affordability: enhancement for critical vision benefits from local optimization, while global optimization is more efficient for casual vision. A. Inter-class agreement Methodology -Kendall's coefficient of concordance W is non-parametric and distribution-independent statistic of agreement between multiple rankings, appropriate for the multimodal nature the analyzed data [89: 94-116].The results in Table 4 were obtained by adjusting for ties and by correcting for small sample sizes, followed by a χ ² test of significance for large number of ties.The hypothesis H0 that the between-user and between-document agreements are due to chance is rejected in favor of the alternative, with p = 0.001 and p = 6.124e−9, respectively, at an α = 0.1 significance level.The coefficient of concordance, W, for m ranked items and n rankings is defined as A. Inter-class agreement where S is the sum of squares of rank deviations from the mean, and t is the length of runs of tied ranks.The formula for the χ ² value is: A. Inter-class agreement Spatial flatness SF is the complement of the spectral flatness [196; 31: 104-105], which is itself the ratio of the geometric and arithmetic mean of the magnitude of the Fourier transform ℱ of a signal x of length n: A. Inter-class agreement Spatial flatness varies between 0 for an impulse and 1 for a uniform distribution.It is used in signal processing and is implemented as one of the descriptors of the MPEG-7 multimedia content description standard, with applications including classification into noise and tonal sounds [82: 29-32].We applied this method to characterize histograms.It is a powerful, non-parametric statistic that informs on (1) the coverage of a range of possible values by actual values in a vector (e.g., to how many different ranks experimental participants assigned a method), (2) the variance of the distribution's amplitude (e.g., whether one rank is preferred over the others), and (3) the homogeneity of distribution (e.g., whether participants exhibit consistent or eclectic behavior).Such a rich description is made possible by the properties of the frequency domain, where regularities in signals are much easier to investigate than in the spatial domain.For the sake of comparison, Fig. 16 gives the Shannon entropy, H, of the ranking histograms.The "peakiest" histogram in Fig. 16A has the lowest SF value, but the lowest H value is that of a histogram wherein the values are fairly evenly distributed. From facts to action: an operationalization pattern The findings on rating variability derived from Table 1 were operationalized via the following design pattern: measurement ▹ interpretation ▹ implications ▹ implementation.The variability of ratings within columns represents the within-participant variability and is indicative of two behavioral attitudes: eclecticism in the use of enhancement methods and adaptability to document particularities.The prevalence of high eclecticism may translate to a decision to accommodate this behavior by simplifying the access of users to the various enhancement methods, e.g., by tiling the interface windows.Conversely, low eclecticism may lead to methods organized in depth,via several menu levels.High adaptability may be considered an incentive to invest in developing image quality metrics, in order to predict the enhancements best suited to a given document, and to rank them dynamically in the software interface.The measurements of agreement in Table 5B show a wide distribution range between eclectic and conservative participants (FG has a uniform stimulus responses), and adaptable and rigid The conclusion is that both depth and flat interface designs are needed, as well as that developing image quality models is desirable. From facts to action: an operationalization pattern The principal factors in the level of within-document rating agreement in Table 5C are the document and image quality, script legibility, and user experience.This information could aid in evaluating the significance of enhancement method performance.In relating document rankings to their images in Fig. 2, no correlations with either factor are found.For example, moderate agreement characterizes both low and high document or image quality (PSI XIV 1376 r vs columbia.apis.p367.f.0.600), whereas low agreement is obtained for all script cursivity levels (PSI XII 1274 r vs P.Mich.inv.1318v). From facts to action: an operationalization pattern Comparison of between-user and between-document rating agreement may reveal the dominant factor driving the observed behavioral heterogeneity in the rating of the enhancement methods, owning either to user variability or to document quality variability.The results would have bearing on whether to invest more in human-computer interaction issues or enhancement algorithms.The values in Table 5A show a greater agreement in between-document ratings than between-user ratings, and thus support the focus on interaction facilities, more than on enhancement algorithms.This empirical finding is a surprising conclusion to an article devoted to algorithms, and thus merits further exploration. Approaching legibility enhancement as a system The preceding findings detailed the high heterogeneity of user behavior and the large number of factors affecting which legibility enhancement methods users choose to utilize.The following model of the legibility enhancement process aims to help better understand these phenomena. Approaching legibility enhancement as a system The system takes bitmap text as input and outputs electronic text.During this process the entropy of the text is lowered (i.e., a cryptic text has been read).The system is composed of interacting elements and their properties.The principal aspects are: (1) the task of critical reading, (2) the images with various degrees of content affordance, (3) the tools creating an ergonomic environment (such as image viewing software and displays), ( 4) the methods of legibility enhancement that are variously useful for the users, and (5) the users themselves, along their level of expertise in interacting with the system components.The behavior of users emerges from the processes within the system, and is characterized by an idiosyncratic eclecticism in how they use the methods and the tools, as well as by contextual adaptability to the specificities of documents and their digital reproductions.Legibility is a property not only of images alone, but also of user expertise and tool ergonomy.Likewise, the utility of a legibility enhancement method is a property of the interaction among all elements of the system; therefore, its measurement is relative to the overall context. Contextual system optimization is preferable Image interpretation in scholarly transcription, and even more so in medical, forensic, and military contexts, can have significant repercussions on people's lives (e.g., the role of the Rosetta Stone transcription in the Egyptian tourism industry).Optimal performance on a case-by-case basis, rather than considered statistically, is thus critical.This can be achieved only if the "variables" of the legibility system (i.e., methods and tools) are attuned to the "constants" (i.e., user, document, and reproduction).In short, choosing the globally optimal method for all combinations of the system states will yield suboptimal performance in most cases; only when several analysts express themselves on the same document can their opinions be fused into a unique solution that might surpass individual solutions.To use an analogy, biometric security systems are optimized for individual users, whereas physical keys are universally functional for any user; evidently, the average of biometric signals from multiple users will result in very poor authentication performance. Contextual system optimization is preferable The evidence in respect to legibility enhancement thus favors the personalization of methods and tools to specific users or demographics, the contextualization to the task, and the adaptation to individual documents and reproductions. Contextual system optimization is preferable One simple implementation of a legibility enhancement system optimized to local conditions would be to offer a spectrum of methods and then leave the choice to the users.More sophisticated techniques are the ranking of methods according to their suitability for the document in question, and adaptation to the behavior of a given user.A fully-fledged context-aware critical visual enhancement system (e.g., autonomous robots) would have at its disposal a multitude of enhancement methods to choose from and combine in the function of the observed distortion types, scene content, environmental conditions, technological resource application domains, and user demographics and individualities. Contextual system optimization is preferable Related work -Digital photo editing is a research area where adaptation to individual and demographic preferences has been proposed as a way to develop image enhancement processes beyond the stage of universal filters [85].Typical features of interest are the lightness transfer function (S-curve), temperature, and tint, while more complex edits may be modeled using deep learning [92].Taking user intent and image content into account are some of the challenges of this application type. Contextual system optimization is preferable Demographics and individual adaptation have long been of interest for medical applications of analog and computational image enhancement.For example, macular degeneration is a common ophthalmologic pathology manifested by a blurred spot in the visual field.The detrimental impact of this condition, including the handicap it presents for reading, may be mitigated by bandpass filtering based on psychophysical models of low vision [137], a technique that could be implemented in an MPEG image decoder for real-time applications [93].The progressive yellowing of the eye's crystalline lens with aging is another example of the demographic dimension of image enhancement.It leads to a darker field of vision, a condition for which it has been proposed to use lightness enhancement by means of non-linear tone mapping and high-pass filtering (sharpening) [126].The several types and degrees of colorblindness (affecting about eight percent of males and one percent of females of European ancestry [135: 222-223; 120]) have spurred the development of a further class of demographic-specific image enhancement techniques intended to simulate color vision deficiency for the normal-sighted [185,116], as well as enhancing the color perception of the colorblind [151,53,195]. Contextual system optimization is preferable One challenge associated with medical-related image enhancement concerns the wide variety and individuality of pathologies that need to be accounted for in software [59].Furthermore, the suboptimal ergonomics of the hardware in which this software embedded is often a reason why they fail to be used [136].Consequently, a number of creative design solutions have been proposed, such as the integrated visual and audio representations of images [67].An additional persistent problem remains the difficulty of evaluating the effectiveness of the experimental enhancement methods outside the laboratory, as part of the daily life of the visually impaired [138].This aspect has considerable significance, given the far greater disparity for pathological applications than for non-pathological ones between laboratory and real-life environments (in a similar manner as we suggest to be the case for paleographic transcription). The primacy of the "original" image Overall, papyrologists ranked original images as the most useful for transcription.Participant SN is unambiguous: "I'm convinced that the original picture is the most important reference point in discussing a text."Why should this be so, and what might it mean for software development? The primacy of the "original" image In many domains -papyrological, medical, or journalistic -the more removed the information from its source, the less trustworthy it is considered (cf.witness vs hearsay evidence, primary vs secondary documentary sources).The dogma of the "original" is a socio-professional specificity inculcated early on in papyrological education.As sensible this is in the context of physical documents examined visually, digital reproductions are, however, inherently "manipulated" images, and an image at the exit point of an imaging system is no more faithful than, say, an image calibrated during post-production.Hence, suitable documentation should clarify alterations by the enhancement methods, and thus preserve the confidence of users in that they understand the source of features observed in images. The primacy of the "original" image The "low toner effect" might have contributed.Psychologists found that, counterintuitively, a job application letter of poor print quality was more trustworthy than a pristine print.The proposed explanation was that low legibility demands more cognitive effort, which is interpreted as a reflection of the high value of the letter content [132: 149-151].The effect was reproduced with mathematical exercises more often correctly solved when in an uncommon faded typeface [10]. The primacy of the "original" image It would however be misleading to rely solely on the overall ranking of enhancement methods (Table 3) and thereby conclude that the original is the top-performing image under all conditions.For example, between-user variability is substantial: whereas OR consistently rates the original as being of "exclusive use" or "primary use", OC rejects it as "not useful" (Table 2).The software should thus be able to adapt to user preferences, as well as document specificities. The unexpected usefulness of negative images The trivial negative method is noteworthy not only for its excellent performance as a top-2 enhancement method after vividness (Table 2), but also for its discriminatory qualities.It helps to ascertain whether a specific pixel cluster might be ink ("I used the negative image to understand whether I was imagining an ink trace or it was real."[OC]), and to distinguish between ink and holes in the papyrus, a recurrent issue in reading papyri reproductions.One further point of practical relevance regarding this method is that it is applicable to monochrome images.Some papyri survive or are remotely accessible only in this format; other (such as the charred papyri) have little chromatic information. The unexpected usefulness of negative images The finding that negative polarity is considered by users to improve legibility is of interest because it contradicts the prevailing psychophysical evidence, which consistently associates better legibility with positive contrast (i.e., dark script on light background) [32, 145, 109, 99, 26: 206-207].The possible cause of the disparity is that these studies typically use binary black and white stimuli, rather than ternary black, gray, and white stimuli, as in the present experiment. The unexpected usefulness of negative images Negative polarity is known to be preferable only for special conditions, such as the degeneration of visual acuity in aging [26: 244-243] or disease [109].Also, aeronautical displays with negative polarity help to maintain the adaptation of the visual system to a dark environment during night flight [148].Closer to papyrology is the similar case of readers repeatedly switching between the high luminance of a computer screen and the low luminance of paper documents [20].These exceptions have a context of low vision in common, whether permanent or transitory, that demands increased visual and cognitive efforts.In other words, they are akin to critical reading tasks, such as the decipherment of ancient documents, characterized by high visual and semantic entropy. The unexpected usefulness of negative images In terms of visual ecology, positive contrast has dominated the history of writing, albeit mostly for practical reasons such as the cost of colored substrate.Negative polarity texts are often prestige objects, for example, the Rosetta inscription that features a light script with crystalline sparkle on a dark stone [122]; the word "God" calligraphed in gold on a green eight-meter-high panel in the Aya Sofia mosque of Istanbul [25: 504]; and the 12th-century "Blue Sutra" of Japan, in gold on blue paper [58: 36, 68-69].These examples are also sources of inspiration for how contrast -and thus legibility -might be further improved, using displays with special material properties, such as high-reflectance or fluorescence. Smooth human-computer interaction is critical Participant AW reported: "Even with the split-screen option, using two monitors, I felt like my devices lacked the optimal Graphical User Interface to maximize the usefulness of those pictures.Comparing the same zoomed part of text through several images proved, for example, to be quite costly in terms of time and clicks, and I feel this disturbed the workflow."Five of eight participants juxtaposed two or more image variants during transcription; three used two displays, one used three.Two participants printed the images (as more documents fit on a table than on a computer display). Smooth human-computer interaction is critical These explicit and implicit statements demonstrate how interaction with the images can impact the advantages derived from image processing.Indeed, without good interaction, there is little enhancement as far as the user is concerned.What, then, is good interaction?Observing the participants is informative in this regard: good interaction involves a wide visual field, the synchronization of manipulations across multiple images, the understanding of how different enhancement methods have varying utility for transcription, and a state of mental flow during task completion [42]. Gender may affect legibility enhancement One female participant in the experiment had perfect agreement in her method ratings, while the second female had the second highest agreement score (Table 5B).If they are not statistical outliers, then the gender disparity in behavior could have implications, given the increased proportion of females in papyrology (202 [57%] out of 356 participants at the International Congress of Papyrology in 2019 were female, compared to 3 [5%] out of 57 at the congress in 1937 [37,6]).For example, females have been found to have greater chromatic discrimination ability, whereas males are more sensitive to lightness variation [189].Therefore, the enhancement method through chromatic contrasting might improve legibility more for females, while the negative polarity method could be more appropriate for males.A larger sample size would be needed to further the investigation of the topic. Gender may affect legibility enhancement However, this section is representative of an issue with broader significance.In addition to gender, there are numerous other perceptual variability factors (age-related, genetic, cultural, and climatic, among others [49: 149-244]) that indicate the utility of demographically tailored and even personalized image enhancements (in a similar fashion to how corrective glasses are fitted individually) rather than those calibrated to the statistical mean of the general population. Paradigm A paradigm of legibility enhancement for critical applications is provided herein, representing a step towards developing computer-assisted critical vision systems.This paradigm helps in defining the goals, methods, and limits of legibility enhancement, and is rooted in the problem analysis and experiments carried out in the present research.The preceding sections have circumscribed the notion of critical vision, established that potential information should not be suppressed, and advocated a systems approach to the design of enhancement software.A further element will be discussed below, namely uncertainty; this element will help us to operationalize the paradigm and link the field of image enhancement to the vast body of interdisciplinary research on decision making under uncertainty. Make uncertainty explicit Requirements -Because vision is purposeful, we might sometimes stare at things without seeing them when there is no reason to seek them out ("inattentional blindness" [169]).Two converse problems concern our tendency to believe what we see and see what we believe ("confirmation bias" [168: 61-75]).Generally speaking, the ideal enhancement system would inform us about objective uncertainty in images and guard against subjective cognitive biases during their interpretation.Uncertainty is important and its presence should be made explicit.The system should therefore aid in its detection and analysis, represent it visually and numerically, and Fig. 17 The shapes in the center of the squares are perfectly legible, but ambiguous: do they represent the letter "B", the figure "13", or something else? Coloring helps differentiate between alternatives.Such shapes are said to be "multistable stimuli" [101], and have been the source of well known illusions, e. g.Arcimboldo's face made of books [164: 131]. Make uncertainty explicit preserve it for verification.Uncertainty management should be at the core of the enhancement system and its components, from the algorithms to the interface. Make uncertainty explicit Examples -One illustrative analogy is the use of white material for pottery reconstruction in archeology to distinguish between missing and original parts.An example of script polysemy and the role of context in reading is shown in Fig. 17, wherein the central shapes can be interpreted as either letters or numbers depending on the reading direction.Mundane cases where an individual seeks to mentally solve visual ambiguities include faded maps or letters and frightening shadows at night, while imagery-based clinical diagnosis and military decisions represent domains in which uncertainty is both pervasive and critical.For the facial identification of suspects, police organizations have developed mechanical and computational aids for using witness recollections to produce faces composited from a catalog of elements, such as eyes, nose, and mouth, assembled by likelihood into a coherent whole [43]. Make uncertainty explicit Rationale -A paradigm called conservative preprocessing was proposed by Chen, Lopresti, and Nagy in a rare work on the theory of image enhancement [38].It consists in preserving the original by means of reversible transformations and the use of derivative representations as a proxy.Other researchers have noted that applying the concept of noise suppression outside the casual reading task might be misplaced: for example, bleed-through removal may unwittingly obliterate the only trace of text that is inaccessible because the page is glued to the support, was not scanned, or belongs to a missing second or third page [179].Such invasive enhancement can thus destroy historical, forensic, and conservation-related information in documents and reproductions [129,60].Problems of this kind are common in digital library projects.Technical factors can also make enhancement problematic; for example, because band-pass filtering is known to frequently suppress script parts [133: 445], while neural networks can "hallucinate" character-like shapes [21: 1221], should the user not be made aware of the possibility of erroneous readings? Make uncertainty explicit Conceptualization -Let us here define uncertainty in the context of image analysis and consider possible solutions.As discussed above, image enhancement is the outcome of interacting stimuli, observers, tasks, contexts, and technologies.Multiple concurrent enhancements therefore appear to be better adapted to the high combinatorial variability potential of such a system. Make uncertainty explicit To clarify the uncertainty reduction process, we draw on cognitive psychology (in particular, decision-making in critical contexts, such as those encountered by medical emergency services, firefighters, police, and military personnel [168]).The process consists of an interpretation stage, in which possible stimuli of interest are detected and separated from the surrounds (building "situational awareness"), various options as to their identification are formulated (integration into coherent "gestalts"), and their likelihood is estimated (multidimensional weighting and/or ranking); this is followed by a decision stage, in which a choice of interpretations is made.For our proposed method, it is noteworthy that (1) alternatives to the visual stimulus are produced, (2) the visualization is mental, rather than physical, and (3) it involves mental manipulations of the alternative images. Make uncertainty explicit Establishing a taxonomy of common factors leading to uncertainty helps us to find appropriate remedies.The inability to detect visual targets (lack of information) and vaguely defined targets (fuzzy information) are types of uncertainty that arise early in the interpretation process and that may be countered by more and sharper imagery; that is, alternative views.Decisions regarding implausible interpretations may be solved by considering the target's compatibility with its visual context, which shows the utility of retaining context and even using alternative backgrounds.The uncertainty developing from the need to choose between contradictory interpretations demands an increased capability to compare alternatives.Entities need not necessarily be noisy to make interpretation difficult (viz.readily distinguishable characters in unknown scripts); to deal with novelties, information exogenous to the image and observer must be supplied.Finally, an overabundance of potential interpretations may become overwhelming and result in "decision inertia" [168: 37-41].Information visualization theory suggests for such cases filtering the amount of information, through selection or ranking [167]. Make uncertainty explicit In terms of limitations, he number of items processable at a given time in human memory is however finite and can degrade under time pressure and stress; similarly, the visual field size is also limited and increasingly blurred as it moves away from the fovea.Thus, methods designed to increase the number of alternatives must be accompanied by mechanisms to limit visible alternatives and manage all available stock. Make uncertainty explicit Operationalization -We propose to make uncertainty materially explicit through the physical rendering and cueing of mental interpretations of images (as a literal application of the notion that "seeing is believing").When the alternatives are known, highlighting or inpainting of objects may be used to find fits between potential targets and a given context, as in a puzzle game where the pieces are materializations of mental images.For unknown alternatives, solutions may be elicited by purposive or random alterations at the global or local level, statically or as a movie, similar to the shimmering reflection on an undulating water surface, or searching for optimal shapes by sketching, or tilting a hologram to observe it from different perspectives (our deliberate use of metaphors is a method for problem solving, as well as for communication [106,75]).Machine learning may help shape prediction and synthesis, while human-machine interaction techniques are used to guide the image exploration.The result is much more than an image enhancement algorithm: it is a computer-assisted critical vision system.Current research on such systems includes applications for, e.g., medical radiographic diagnosis [158: 359-414].This method operates as illustrated using Fig. 17, in which two images were derived from the original; each of these make explicit a different interpretation through the perceptual differentiation of distinct semantic classes.If semantic grouping became unfeasible, the random alternation of individual shapes between two colors would be the next best option (also revealing a less obvious solution when only the three vertical bars are red, in that they may represent the upper-case letter "I", the lower-case letter "l", or the figure "1").The inpainting technique presented in this example consists in removing the gaps between adjacent central shapes to strengthen their identity as the letter "B".In the real case of papyri, the most common character allographs of interest may be statically inpainted or flickered.This is a complex and possibly contentious intervention in the image structure; thus, in our implementation, we avoided segmentation by opting to present variants of the whole scene. Make uncertainty explicit Frameworks -The presented method for making uncertainty explicit in view of helping decision-making may be understood in information theoretical terms as finding a balance between maximal (= quandary) and minimal choice (= no or unknown alternative) by comparing image alternatives with different entropies for different entities within the images.The heterogeneity of user behavior observed in our experiment suggests that the optimum is contextually determined by a combination of factors. Make uncertainty explicit Bayesian theory offers an additional useful theoretical framework, in that establishing the identity of the visual target is dependent on both the prior assumptions of the observed shape having the hypothesized identity and the likelihood of observing the hypothetical entity in the given context.In this sense, the explicit presentation of multiple alternatives for comparison is a means of updating and optimizing one's beliefs about the identity of visual stimuli. Summary of criteria Our work has yielded a set of core criteria that define our paradigm of legibility enhancement for critical applications:: Summary of criteria 1. Critical vision -Legibility enhancement for critical applications is a matter of critical vision.It consists in exercising skepticism about the interpretation of images. Summary of criteria 2. Potential information -Any image structure should be viewed as potential information that should not be suppressed in critical vision applications; interpretations can arise from connections made between image parts. Summary of criteria 3. Uncertainty explicitation -Support for critical vision is realized by making alternative image interpretations materially explicit.Visual target identity depends on both the shape and its context. Summary of criteria 4. Systems approach -Legibility enhancement for critical applications is a system problem.Optimization depends on tasks, data, users, tools, and their interactions. Implementation The research findings were implemented in the open-source software Hierax [16].To account for the heterogeneity of user behavior and the complementarity of enhancements, a range of methods were offered: our novel methods, and adapthisteq and retinex.Since interaction with the images was found to affect the usefulness of enhancements, the software includes an image viewer.Our design methodology conforms to elements of the so-called information visualization "mantra" for graphical user interfaces: overview, filter, detail, and context [167].One interface tab presents an overview of one image enhanced using the selected methods (Fig. 18); through the spatial juxtaposition of patterns, the resulting mosaic facilitates understanding of the characteristics of different enhancement methods.A second tab allows for detailed side-by-side comparison, with zooming, panning, and rotation being synchronized; the diptych view is intended for the interpretation of details in close coupling of vision and motor control.Rapid switching between images via the keyboard is a temporal image analysis modality that leverages attentional capture through flicker, introduced to help detect potential features of interest [192].The mosaic, diptych, and flicker image analysis techniques implement the paradigm of uncertainty explicitation at the whole scene level.These facilities were appreciated by the paleographers who beta-tested the software.Hierax has already been employed in a real-world setting, to enhance the 70 papyri of the University of Basel Library for a forthcoming online catalog. Conclusions This work aimed to improve the legibility of ancient papyri for text editions.Novel enhancement methods were developed on the basis of color processing and visual illusions.A user experiment demonstrated that these methods outperform classical and more complex enhancement methods.Future work could examine whether the new methods could also improve reading by machines. Conclusions The experiment also yielded unexpected findings.Critical for the software, user behavior was found to be heterogeneous in type, and not only variable in intensity.Thus, better performance might be achieved by personalization, contextualization, and complementarity, instead of searching for an overall optimum that may be spurious or counterproductive.Experiments with more users and images should be conducted to strengthen, nuance, and perhaps diversify the findings. Conclusions The findings also lead to a paradigm of legibility enhancement for critical applications, in view of a future computer-aided critical vision system. Fig. 1 Fig. 1 Euclid, Elements, Book II, Proposition 5; papyrus of the 3rd-4th century CE from Oxyrhynchus, Egypt.-Credit: P.Oxy.I 29, University of Pennsylvania Museum of Archaeology and Anthropology, CC-BY-2.5. "Fig. 2 Fig. 2 Overview and detail of the original papyri images used in the evaluation.For higher resolution images please refer to the article's online Supplementary Material.Top: Notice the degradation of the physical documents, the differences in image quality, and the difficulty in comparing details within a limited display space.Bottom: Details scaled to equalize character height, demonstrating the difficulty associated with deciphering such documents.-Credits: (1) Columbia University Library, CC BY-NC 3.0; (2, 4, 5) University of Michigan Library, Public Domain Mark 1.0; (3) Yale University Library, Public Domain Mark 1.0; (6) Courtesy of The Egypt Exploration Society and the University of Oxford Imaging Papyri Project; (7, 8, 9) Istituto Papirologico Vitelli, by permission. Fig. 3 Fig. 3 Enhancement with (left to right) DStretch options rgb and lbk, and the novel methods vividness and lsv (detail of papyrus 4 of Fig. 2). Fig. 5 Fig. 5 Color values at the same location in an image with sRGB (left) and Adobe RGB (1998) (right) embedded color profiles (detail of Fig. 7). Fig. 7 Fig. 7 Color distribution of a papyrus image with native sRGB color profile (top), and following conversion to Adobe RGB (1998) (bottom).-Credits of papyrus image: Sorbonne Université, Institut de Papyrologie, P.Sorbonne Arabe 201 1500a. Fig. 8 Fig. 8 Legibility varies with foreground/background and background/ surround polarity. Fig. 9 Fig.9 Comparison of three enhancement methods described in this article.The vertical diagram axis represents the CIELAB lightness, L*, the horizontal axis the chroma, C*, and the diagonal the vividness, V*.The variation of color along these axes is illustrated in the bottom part of the figure.For each enhancement type, the diagrams show the location of four exemplary points in a vertical section of the CIELAB color space before and after enhancement.Thus, stretchlim displaces all points towards the extremities of the lightness axis; gamut expansion displaces the points along the chroma axis (except for those situated directly on the lightness axis); finally, vividness applies a rotation transform resulting in all points being collinear with the lightness axis. Fig. 10 Fig.10 The figure depicts an example of the color profile of a papyrus in the HSV color space (the "value" channel and the complement of the "saturation" channel), along with the object classes dominating specific bands of the spectrum (ink pixels, non-inked papyrus surface, and the imaging area surrounding the papyrus). Fig. 10 Methodology -Conversion from RGB to CIELAB in the sRGB color space.Multiscale retinex with color restoration (MSRCR) [81, 140, 160] at three scales with Gaussian kernels of standard deviation 15, 80, 250, and a saturation of the 2.5% lowest and highest pixel values applied to the (b) RGB and (c) V* (vividness), a* (blueish-yellowish), and b* (greenish-reddish) dimensions.Output normalization of (c) to the [0, 100], [− 128, 127], and [− 128, 127] ranges, respectively, and back-conversion to RGB.(d) Blue negative applied after CIELAB retinex, with V*′ = 100 − V*, a*′ = − a*, b*′ = − b* . Fig. 14 Fig. 14 NW: Original image, with three faint annotations indicated by an index.NE: Enhancement by retinex in the RGB color space.SE: Retinex enhancement in the CIELAB color space.SW: Blue-shifted and negative of the SE image (detail of papyrus 8 in Fig. 2). Algorithm 1 . 2 ▹ Papyrus legibility enhancement ▹ input read RGB image values ▹ color gamut expansion (Section 4.2) convert color profile using ICC profiles • source color space: sRGB IEC 61966-2.1 • target color space: Adobe RGB (1998) • source render intent: perceptual • target render intent: perceptual ▹ use a perceptual color space for enhancement ( § 4.3) convert color space from RGB to CIELAB • source color space: sRGB IEC 61966-2.1 • whitepoint: D65 ▹ vividness enhancement ( § 4.5) replace lightness by vividness (Eq. 3) L*′ = (L* 2 + a* 2 + b* 2) −1/dynamic range increase ( § 4.3) stretch dynamic range of lightness to bounds (Eq. 1) L*′ = [L* − min(L*)] / {max[L* − min(L*)]} ▹ negative polarity ( § 4.4) reverse lightness polarity (Eq.2) L*′ = 100 − L* ▹ blue shift ( § 4.7) change sign of values in chromatic channels (Eq.8) a*′ = −a* and b*′ = −b* ▹ back-conversion to primary colors space convert color space from CIELAB to RGB • source color space: sRGB IEC 61966-2.1 • whitepoint: D65 ▹ manage out-of-gamut values clip values to the [0, 1] range I′ = min(0, max(1, I)) ▹ output save image in TIFF or JPEG format ▹ make color profile explicit embed ICC color profile in image file • color space: sRGB IEC 61966-2.1 Fig. 15 Fig. 15 Example of legibility enhancement by cross-spectral colorization.(a) Papyrus imaged in visible light; (b) infrared image; (c) the infrared, colorized with the chromatic channels of the visible light image and enhanced with the gamut expansion and stretchlim methods; (d) vividness enhancement of the image (c); (e) negative of image (d); (f) MSRCR-RGB retinex of image (c); (g) negative blue-shift of image (f); (h) and the decorrelation stretch of the blue, red, and infrared bands. 2 ) . The algorithm begins by iteratively removing the median values { m concatenating them lexicographically.For example, the ratings vector { 7, 9, 9, 11, 11 } is reordered by medians into { 9, 9, 11, 7, 11 }, and concatenated to generate the numerical value 9.09110711.The resulting scalars { v "majority values", are then sorted in descending order of magnitude to yield the candidate rankings { k ≻... ≻ v (k p Fig. 16 Fig.16 Spread of enhancement method rankings and ratings, measured with spatial flatness SF and Shannon entropy H. Fig. 18 Fig.18 The graphical user interface of the Hierax software for papyri legibility enhancement, which implements the methods described in this article.Method selection and parametrization (left); overview of all processed images (center); image comparison and interaction panel (right). P columbia.apis.p367.f.0.600Credit of original papyrus reproduction: Columbia University Library, CC BY-NC 3. Inv.MSS.A 101.XIII Credit of original papyrus reproduction: University of Michigan Library, Public Domain Mark .Oxy.XXII 2309 Credit of original papyrus reproduction: Courtesy of The Egypt Exploration Society and the University of Oxford Im- Table 1 . Ranking and rating of legibility enhancement methods. Table 2 . Utility of enhancement methods. Table 3 . Overall ranking of enhancement methods by utility ratings. Table 3 . A. Table 5 . Agreement of ratings of enhancement methods, measured with Kendall's coefficient of concordance, W. Table 4 . Intra-class ranking of enhancement methods by utility ratings (optimized aggregation by ROD method; ties in brackets).A. Within-user ranking (column-wise aggregation of ratings from Table 1; ties in brackets)

섹션 본문 172문단 · 103,913자

(제목 없음)

1This article develops theoretical, algorithmic, perceptual, and interaction aspects of script legibility enhancement in the visible light spectrum for the purpose of scholarly editing of papyri texts.-Methods: Novel legibility enhancement algorithms based on color processing and visual illusions are compared to classic methods in a user experience experiment.-Results: (1) The proposed methods outperformed the comparison methods.(2) Users exhibited a broad behavioral spectrum, under the influence of factors such as personality and social conditioning, tasks and application domains, expertise level and image quality, and affordances of software, hardware, and interfaces.No single enhancement method satisfied all factor configurations.Therefore, it is suggested to offer users a broad choice of methods to facilitate personalization, contextualization, and complementarity.(3) A distinction is made between casual and critical vision on the basis of signal ambiguity and error consequences.The criteria of a paradigm for enhancing images for critical applications comprise: interpreting images skeptically; approaching enhancement as a system problem; considering all image structures as potential information; and making uncertainty and alternative interpretations explicit, both visually and numerically.Keywords script legibility • image enhancement • color processing • perceptual image processing • image quality • papyrologyIt's obvious -any fool can see it.Homer, The Iliad, 7.464 [77: 227] Article accepted for publication by the International Journal on Document Analysis and Recognition (IJDAR) on 2021.08.28.

Introduction

2Of the images below, which would you consider more legible, A.

3or B. ?

4If you selected B, you behaved like an engineer, confident in the benefits of a high signal-to-noise ratio.It may, therefore, come as a surprise that, in the evaluation reported in this article, three out of eight scholars deciphering these ancient Greek papyri preferred item A, because it is the original document, and originals should not be altered.This is not unreasonable: to question what exactly one is looking at is sensible.We call this attitude critical vision, and place it at the core of image enhancement.Our psychophysical and sociological mini-experiment also illustrates how enhancement quality depends on more factors than algorithms alone.These two principles frame the work being presented here.

5Objectives -In narrow terms, the scope of this article is the legibility enhancement in the visible light spectrum of papyri documents for scholarly text editing.The broader objectives derive from the challenges, approaches, and lessons of this work.On the technical level, the aim is to demonstrate the utility of color processing and visual illusions in legibility enhancement.To emphasize the power of these approaches, the proposed methods will rely on a minimal algorithmic apparatus.On the theoretical level, a paradigm of legibility enhancement for computer-aided vision will be outlined.The central tenet of this paradigm is that critical vision tasks require enhancement technologies capable of making uncertainty explicit and adopting a systemic approach, that encompasses users, tasks, data, methods, tools, and interactions.The methodological objective is to develop methods and paradigms on an empirical, interdisciplinary basis.

6Relevance -Papyri make up an extensive but underexploited trove of time capsules.The vast majority of these artifacts are accessible only as images taken in visible light, and are often characterized by poor legibility due to degraded physical documents, non-calibrated imaging, and image compression.Digital enhancement promises to reduce the time and uncertainty associated with reading difficult texts from difficult reproductions.This work may be useful in application domains other than papyrology as well, as image enhancement is a ubiquitous stage in image processing.For example, there are similarities between deciphering papyri and examining medical, forensic, and military imagery, with respect to the uncertainty surrounding their interpretation.

7Contributions -The present article adds to the limited existing work on papyri enhancement in the visible light spectrum.It promotes the use of color processing and computationally-induced visual illusions.It works towards remedying the lack of a holistic approach to legibility enhancement.Making uncertainty explicit is also novel in this domain.

8Methodology -The theoretical argument made in this article, the evaluation of the proposed methods, and the design of the ensuing software rely on an in-depth exploratory statistical analysis of data obtained from a user experiment.However, mathematics, algorithms, software, and hardware are never neutral when used by humans; this is especially so when the machine and the human form a closely coupled system, as in the case of legibility enhancement.Therefore, this article presents various points of view regarding how psychological and sociological factors are co-determinant in the design of legibility enhancement methods.The user-centric and context-aware approaches promoted herein are complementary to purely data-driven methods [162].

9Applications -The principal application is an aid to human vision for use in transcribing papyri.The developed legibility software is also a tool for publishing better papyri images in print and online.Machine vision, particularly document binarization and text recognition, is the third potential application or the proposed methods, although human-readable texts are not necessarily legible to machines.

10Organization -Section 2, "Problematic", introduces papyrology and scholarly text editing, then defines legibility enhancement trough the concept of critical vision.Section 3, "Related work", reviews the computational methods of image enhancement used in papyrology and for similar tasks in other domains.Section 4, "Methods", presents the novel legibility enhancement methods.Section 5, "Experiment", describes a user experiment to empirically understand critical legibility enhancement.Section 6, "Paradigm", discusses a type of image enhancement that makes uncertainty explicit, and summarizes the criteria of a computer-aided critical vision system.Section 7, "Implementation", shows how the paradigm and empirical findings were translated in software.

11Detailed technical information that is secondary for comprehending the main arguments in this article has been set in a smaller font size to facilitate readability.For color figures, please refer to the electronic version of this article.The image evaluation dataset is part of the article's online Supplementary Material.The software resulting from this research is freely available online [16].

Relevance

12Papyrus was the quintessential portable writing surface in the Mediterranean area for five thousand years, until the end of the first millennium CE, when paper technology spread.As such, papyrus is a crucial carrier of substantial knowledge about the Egyptian, Greek, Roman, Byzantine, and other civilizations of antiquity.Figs. 1 and 2 present surviving samples of two foundational texts of Western mathematics and literature: Euclid's Elements and Homer's Iliad.The number of unpublished papyri is currently estimated to be approximately one to one and a half million, which "will keep papyrologists busy for centuries at least" [181: 644-645].

Data

13Cyperus papyrus L. is an aquatic plant growing on the banks of the Nile River.By slicing, assemblage, and gluing via its own sap, a fine, flexible, and smooth papyrus can be manufactured, that is suitable for writing [34].The orthogonal fiber pattern and surface roughness were once commercial criteria in the papyrus trade; today, they offer valuable hints to historians on prices, tastes, and document origins.However, the closeness in spatial frequency between papyrus texture and script complicates computational graphonomics.Reading performance is also affected, given the higher perceptual sensitivity to horizontal and vertical gratings [26: 270-271].The spectral characteristics of papyri satisfy historical and computational aims, such as the recovery of ink traces by means of multispectral imaging.Further characteristic, inconvenient to scholars and scientist alike, include edge irregularity, holes, document fragmentation, and the presence of artifacts surrounding the papyrus, such as color charts, rulers, and shelf marks (Fig. 1).

Task

14Papyrology is the study of papyri, although it also encompasses inscribed potsherds, wax tablets, metal foils, and other materials [17: xvii].The aim of papyrology is to elucidate all aspects of the past, from the material to the spiritual.Its main source of information is the text content.Text editing is the process of transforming a poorly legible text in bitmap format into legible electronic text.This is not a purely mechanical task, as considerable paleographical, linguistic, and historical knowledge is required to construct a space of possible readings and then select one or more as the most probable.It involves more than "a pair of sharp eyes and a certain amount of common sense" as any person struggling with an unfamiliar script and text can attest, and it has been aptly compared to the work of a detective or a puzzle solver [161: 197, 199].For papyrologists, every word counts, because a single misread character can, literally speaking, change a queen into a fishmonger or teleport a city across space and time.Therefore, variant readings are common and indexed, since 1922, in a dedicated publication [161: 212-213].

15The task under consideration can thus be defined as critical vision in (a) the objective sense that its outcomes are of significant importance, and (b) the subjective sense of an observer exercising skepticism in the interpretation of signals.Here, the observers are the text editors, who are circumspect about the reality and meaning of what is seen in images, and their readers, who doubt the editors' interpretation.The opposite of critical vision is casual vision, which is characterized by lower task criticality and levels of observer criticism.In psychological terms the latter is a form of fast, reflexive, and easy cognition (System 1), and the former of slow, analytical, and deliberative cognition (System 2) [83].

16The two vision types call for different image processing paradigms.Casual vision is best served by binary images, designed to minimize entropy and produce trustworthy, unambiguous texts.Critical vision requires that ambiguity be maintained.In this case, no image structure is noise; every one is potential information.They provide context to develop concurrent readings and are valuable as archaeological layers of the document's history.The text on a crumpled paper, to illustrate the argument, wouldn't be identifiable as a draft if the creases would be removed for the sake of noise reduction.

Strategies

17It is not unusual for papyrologists to take part in archaeological excavations, and, like archaeologists, to be sensitive to the context of discoveries and use various techniques to analyze data.A quote from experimental participant FRG illustrates the roles of contextualization and diversification: The user describes the creation of a coherent, rich, and justifiable interpretation based on multiple perspectives.Implicitly, he indicates that the legibility enhancement system must support the enhancement of a variety of image features, and that methods may be chosen for their good performance on a specific document and task.The strategy fits well with models of visual search [104] and information seeking [102].In-depth user studies and theoretical models of papyrological reading strategies implemented in expert systems are discussed in [56,155,175,176].

Duration

18The text editing of papyri is a delicate and typically lengthy process, comprising document manipulation during reading, forming hypotheses regarding the content to achieve comprehension, and consulting auxiliary resources such as dictionaries.In addition to legibility, other factors affecting the amount of time required for this work include content difficulty, reader expertise, and work behavior.For example, it took the experienced participant FRG five to six hours split between two sessions to transcribe the papyrus used for training during evaluation, which was equivalent in length and legibility to the test documents presented in Fig. 2. The trainee OC, however, worked on and off for four to five weeks to transcribe a similar papyrus.AW also emphasized how, as time passed, he repeatedly modified his textual interpretation (or "belief", to use Reverend Bayes' terminology).

19One implication is that dataset size and participant number is limited by necessity in papyrological legibility evaluations.A further consideration is the feasibility and appropriateness of experiments conducted in controlled laboratory settings.Not only is their organization complicated by their length, but the cognitive process of activity followed by rest phases is also impractical to reproduce.Under these constraints, the "homework" approach is more practical and realistic.

Papyrological practice

20Three approaches to script enhancement characterize common papyrological practice: interactive image manipulation, spectral decorrelation, and imaging techniques [142,35].

21Interactivity -Image editors such as Adobe Photoshop allow easy and quick enhancement of papyri for a wide range of users.The flexibility of interactive image editing promotes solutions adapted to specific document qualities and user interests.Manipulations beyond the most basic tasks, however, require greater expertise, and are time-consuming.

22Decorrelation -In the early 2000s, Jon Harman created DStretch, a software for enhancing pre-historical rock art from the American Southwest.This has since become a commonly used tool among papyrologists [71,142].DStretch decorrelates spectral bands by using either eigenvectors or principal components [8,66].The process can be performed in various color spaces, to highlight different features.An image is obtained with pixels that are ideally well-separated in terms of color values, and represented as pseudo-colors.The method yields excellent results for images with a Gaussian distribution, which is characteristic of inscriptions such as walls, potsherds, or stones.DStretch is also considered user-friendly by papyrologists and can be used in a field-work context, as a smartphone application.One limitation of the decorrelation stretch method is its poorer performance for images with a non-Gaussian distribution, as in the case of papyri reproductions.Moreover, the features emerging from decorrelation are not necessarily meaningful.Fig. 3 shows how DStretch induces both achromatic contrast and chromatic noise, in comparison with two of our novel methods.

23Imaging -Most papyri images are obtained through color or monochrome photography; these are the images of principal interest in this article.However, the specific needs of paleography have also lead to the use or pioneering of many sophisticated techniques.Ultraviolet and infrared imaging, which can reveal ink traces in recycled and degraded documents invisible to unaided human vision, are used to analyze individual papyri [180,60,5].With the advent of commercial narrow-band hyperspectral scanners, large-scale digitization has also become possible [94,91,41].Reflectance Transformation Imaging retrieves the three-dimensional texture of the papyrus surface by illuminating it from a multitude of angles, thus providing a level of depth information that is inaccessible through classic photography [142].X-ray and terahertz-based imaging have been used for the non-destructive reading of subsurface inscriptions in papyri and mummy cartonnage [105,64].These methods have been coupled with computed tomography methods for the virtual unrolling of the Herculaneum papyri, carbonized during the famous eruption of Mount Vesuvius in 79 CE [7,112].

Computer science research

24The authors have found very few articles that specifically examine the enhancement of papyri legibility from visible light images.Sparavigna [174] applies an edge detector based on the magnitude of dipole moments to increase the contrast of shape outlines, and thereby further enhancing the effect of a similar edge detection neural mechanism already present in the human visual system, known as the Mach bands [26: 362-363].The anisotropic filtering of the image in the frequency domain was tested as a preprocessing step to suppress papyri fibers and gaps; unfortunately, this also removed character segments collinear with the fibers.

25The best papyri enhancements are obtained using multispectral imaging, as noted above in the papyrological practice overview.Moreover, in conjunction with multispectral images, color processing has also been used for papyri legibility enhancement specifically and for document processing more generally, as will be shown in the next section.We will here widen the survey to encompass other methods, topics, and applications of potential interest to this article, within the field of document processing and beyond, and conclude by discussing the applicability of machine learning.

26Because noise -whether biological, mechanical, electrical, or digital -is a fundamental issue in communication, substantial research has aimed at improving document legibility by suppressing a great variety of what are usually considered manifestations of noise, including: ink bleedthrough [46], see-through [48], foxing [163], shadows [95], termite bites [150], cross-outs [30], photocopied low-contrast carbon copies [36], low resolution raster images [141], and background texture interference [133] (for a history of image denoising, see [111]).The type of visual media can also dictate the typology of enhancement methods (e.g., methods for pictures and for movies differ in whether the time dimension is available as a source of contextual information for optimizing image processing) [24].In applied science contexts, such as in the photography and video equipment industry, there is interest in developing enhancement methods predicated on an understanding of the nature of noise, e.g., optical, mechanical, and electronic noise sources in cameras [139].Advances in image quality measurement [87,191] have benefited from research into visual perception and neuroscience [187,19], as well as models of scene statistics [188].The role of tasks in image enhancement is of particular interest in cultural heritage applications [179].The systemic and critical approaches to document analysis advocated in this article have been the subject of exemplary research over more than a half-century in two domains, each with specific aims, constraints, and solutions.First, the legibility of flight documentation and instrumentation plays a critical role in aviation performance and safety; here, optimization has been approached mainly through psychophysical experimentation [55].Second, research on the enhancement of medical radiographic images stands out in terms of the extent to which the impact on clinical diagnosis of technologies and perception have been investigated, including the role of visual illusions [158,23].

27In addition to methods, prominent areas of focus in this original histeq stretchlim adpthisteq locallap lt retinex lsv vividness neglsv negvividness Fig. 4 Enhancement results on papyri PSI XIII 1298 (15a) r 1 (top) and P.Oxy.XXII 2309 (bottom).From left to right: the original; five standard enhancement methods; and the new methods proposed in this article (italics).Note the different attenuation of the smudge (top row) and papyrus texture (lower row).The image labels refer to the eponymous methods described in Sections 4, "Methods", and 5.1, "Algorithms", and are abbreviations of (from left to right) original image, stretch limits (stretchlim), histogram equalization (histeq), adaptive histogram equalization (adapthisteq), local Laplacian filters (locallapfilt), retina and cortex (retinex), lightness, saturation, and value (lsv), vividness (vividness), negative vividness (negvividness), and negative lsv (neglsv).Retinex and vividness are established names in the literature, while stretchlim, histeq, adapthisteq, and locallapfilt carry over the function names given in the Matlab programming language, which was the development environment in the work presented herein.All ninety evaluation images are available in the article's online Supplementary Material.

28field are datasets, benchmarks, and groundtruthing [117].Visual confirmation of the attenuation of conspicuous artifacts is a typical means of comparing methods, supplemented with numerical characterization if feasible (i.e.given the availability of reference images or appropriateness of reference-free image quality measurements).User evaluations are rare, and vary from a few participants for historical documents [28,12] to thousands in online campaigns for industrial applications [63,144].Legibility has been systematically studied since the early 20th century in experimental psychology (notably for the design of traffic signage and car plates, flight documentation and instrumentation, and typography for visually impaired [114,14]), in works on teaching handwriting [159], as well as in relation to optical character recognition [68] and document image quality [4].

29While the use of machine learning for image enhancement is well established [177], its application to document image enhancement, in particular historical, is still rare [72,74,130,131,115].Notwithstanding results comparable to the state of the art, the challenges it faces are considerable.Historical data is scarce and heterogeneous, and groundtruthing is time-consuming, which hinders the generalizability of the learned models [54].In respect to the task of critical vision, an implementable machine learning methodology has yet to be devised that can deal with images that are ambiguous, and their interpretations multiple, variable, or unknown.For scholarly applications, the resulting enhancements have to be, furthermore, trustworthy.

Justification

30The proposed methods are rooted in color science and visual psychology, and thus stand in contrast to the mathematicsand data-driven methods typically utilized in the document analysis domain.This section presents the rationale for and benefits of these methods.

31Color image processing is a highly interdisciplinary area of computer science, owing to the multifarious aspects of color, as diverse as electromagnetic, perceptual, genetic, and linguistic [62,97].The perception of shape as the prominent aspect of documents has resulted in color receiving moderate attention in document image analysis.However, if the image resolution is low, or the text and background interfere with each other, as often occurs with papyri, color processing becomes an excellent alternative to spatial and frequency domain processing.Application examples of color-based document processing include historical document image enhancement [118], denoising, and binarization [184], page object segmentation [9], as well text extraction from typographic documents [172], web images [86], and cartographic maps [183].Fig. 3 illustrates the outcomes of the proposed and comparison methods, highlighting interactions between color and shape.

32One far-reaching tenet of color research [84,182] is that the technological, cognitive, and perceptual modalities through which visual reality is apprehended are not necessarily consistent with one another.In the negative polarity method, for example, physically and numerically identical gray-level differences are perceptually distinct.Because such effects, experienced as paradoxical, are the core of some proposed methods, this fact is emphasized through the use of the term visual illusion (see definitions, typologies, theories, history, and samples in [147,164]).Effects appropriate for enhancement were chosen among color illusions, since geometrical illusions are difficult to elicit without degrading legibility, and that illusions of stereopsis, apparent motion, and temporal illusions are tiring to use for extended periods of work.

33The use of color and illusions shifts the burden of image enhancement from the computer to the human visual system.This perceptual image processing approach makes possible to create algorithms that are both mathematically straightforward, and considered by the experimental participants useful.Researchers also have noticed that simplicity is beneficial to legibility enhancement quality [178: 404, 416], and the likelihood of implementation of methods in software and their use by the end-users [100: 920].

Chroma contrasting by gamut expansion

34In Fig. 5, the picture on the right appears more saturated, and the text is more clearly separated from the background.Yet the color values of both image files are identical.The perceptual difference results from the files being tagged with different color profiles, meaning that the same values represent different locations in the color space.The embedded profile of the left image is sRGB IEC 61966-2.1, a standard designed for displays with a limited amount of reproducible color, as were typical in the 1990s.The space defined by these Fig. 6 The sRGB color gamut volume represented within the Adobe RGB (1998) gamut (gray hull) in the CIELAB color space.The vertical dimension represents lightness, L*, while the horizontal axes correspond to the red-green, a*, and the blue-yellow, b*, opponent colors.colors is called a color gamut (Fig. 6).The larger Adobe RGB (1998) gamut was designed to meet the needs of photographers and high-fidelity reproduction.Humans perceive far more colors than are present in either of these gamuts.

35Numbers alone do not define colors; a coordinate system is also necessary.When a color space is replaced by a wider one, the gamut expansion increases the detectability of differences without affecting the values.The elegance of this legibility enhancement method resides in not requiring any numerical manipulation from software developers.

36The underlying psychophysics is based on stronger chroma increasing the perceived level of luminance (brightness), which is known as the Helmholtz-Kohlrausch effect [52,45].This effect is leveraged as an unintended application of gamut mapping to improve the legibility of papyri.

37A color space assignment and perceptual effects occur whenever an image file is read and visualized.Therefore being aware of their impact on legibility is important.In the case of papyri, the issue is compounded by so few reproductions having embedded color spaces.The most widespread space, sRGB, is assumed to apply in such situations.The work of converting numerical values to visible color is left to the color management system of the image viewers, operating systems, and displays.For several reasons, transforming the numerical values to the destination color space may be desirable, instead of solely specifying it.For example, applications might disregard color space profiles, and thus deprive users of the enhancement effect.Nonetheless, the transforms among color spaces (gamut mapping) are user-and application-specific.The "perceptual intent" shifts out-of-gamut (OOG) color values to in-gamut values, thereby preserving perceptual color appearance; by contrast, the "colorimetric intent" strives to preserve numerical fidelity, usually by clipping outlier OOG values to the destination's gamut boundaries.This is a key topic in color management research [153,165].The legibility enhancement method suggested here can be made more robust by using standardized color conversion profiles, such as developed by the International Color Consortium (ICC).The relevant code in the Matlab programming language is as follows: source_profile = 'sRGB Profile.icc';destination_profile = 'AdobeRGB1998.icc';C = makecform('icc', destination_profile, source_profile); I = imread('input_image.tif');J = applycform(I, C); imwrite(J,'output_image.tif', 'ColorSpace', 'rgb')

38The results shown in Fig. 7 exhibit the change in chroma and color distribution.On the left is the original image with sRGB profile and its color distribution, and on the right the image after conversion to Adobe RGB (1998).

Lightness contrasting by stretching

39Lightness refers to perceived reflectance, and is an achromatic component of color, together with brightness [157: 2766-2767].It is also a principal source of information about shapes for the human visual system, as can be ascertained via image decomposition into achromatic and chromatic colors:

40Hence, increasing the lightness contrast substantially improves legibility.The enhancement formula (stretchlim) is

41where L* is the lightness in the CIELAB color space, bound to the [0, 100] range and corresponding to the approximate number of perceptually noticeable lightness levels under optimal conditions [51: 24, 202].CIELAB was developed by the Commission Internationale de l'Éclairage (CIE) as a perceptually uniform color space allowing for the quantitative description and manipulation of color along fundamental phenomenological dimensions, such as lightness, chroma, and hue.Its perceptual proprieties often make CIELAB a better candidate for color processing than the Red, Green, and Blue (RGB) color space of common digital images.CIELAB is not without its shortcomings and more accurate color appearance models exist and are developed [166; 51: 201-210]; however, for applications where faithful color reproduction is not the main goal, CIELAB remains adequate.The conversion between RGB and CIELAB is parametrized by a triplet that specifies the illuminant of the scene reproduced in the image [40].D65 (noon daylight, 6504 K) provided in practice the greatest improvement to papyri legibility.

Lightness contrasting by negative polarity

42The characters in Fig. 8, with CIELAB lightness values of 0 (black) or 100 (white), are set on squares of value 50 (gray).Despite identical numerical difference between figure and ground, the perceived contrast is stronger for light-on-gray configurations (bottom) and weaker for dark-on-gray (top); dark surrounds (left), and diminishing the stimuli (right), increase the effect.This occurs despite the perceptual linearity of CIELAB lightness and the use of calibrated displays.This contrast illusion, known as lightness induction, is modulated by factors including asymmetrical polarity gain, non-linear focus/surround contrast gain, and spatial frequency [156; 157; 26: 354-356, 358-359, 370-371].It belongs to the broader category of color constancy, the neural and ecological basis of which has been a matter of debate since antiquity [65,2].Furthermore, the irradiation effect, well-known to astronomers, makes light figures in dark surrounds (e.g.stars in the night sky) appear larger [190,143].

43Taken together, these effects let us posit that reversing the polarity of the image (i.e., so that the script appears lighter), will improve legibility.The empirical testing of this hypothesis as applied to papyri images is reported in Section 5, "Experiment".The formula for negative polarity (neg), L*′, is

44where L* is the image lightness in the CIELAB color space.The method is appropriate for papyri, a document type of medium lightness inscribed with dark ink, and typically imaged on a light background (see Fig. 2).

Selective contrasting by vividness colorization

45Chroma is a dimension of the CIELAB color space that is orthogonal to lightness and hue (Fig. 9).Chroma modification effects a change between achromatic and chromatic color.Another dimension is vividness, which defines a concomitant change in lightness and chroma [22].Vividness can be used as a model of how a dark ink film applied to the papyrus reduces both the amount of reflected light, thereby changing the lightness, and acts as an achromatic filter.Thus, vividness helps to distinguish ink from papyrus better than lightness.They can be substituted one for the other to improve legibility.Enhancement based on vividness (vividness) preserves the papyrus appearance, because the chroma and hue values remain unchanged (Fig. 3).The process differs from stretchlim and gamut expansion in that the transform is non-linear and selective: that is, more vivid colors are more strongly emphasized, while achromatic color values do not change.The enhanced lightness, L*′, is given by

46where L* is the lightness, and a* and b* are the chromatic components in CIELAB (L*′ values exceeding 100 are clipped).The mathematical expression of vividness corresponds to the l 2-norm of the CIELAB image values.

47Because the vividness method modifies the image in a pixel-wise fashion, it increases the distinguishability of ink and papyrus even in the presence of objects such as color charts, which complicate the use of more sophisticated methods such as principal component analysis [27].

Background attenuation by difference of saturation and value

48The hue, saturation, and value (HSV) color space is not a perceptual color space like CIELAB, rather, it is a simple mathematical transformation of the RGB color space [170].Nonetheless, in HSV the distributions of saturation and value in papyri images roughly overlap (Fig. 10).On the basis of a simple difference between them, it is possible to attenuate the non-inked papyrus surface and, thus, enhance text legibility.Because the HSV value only approximates lightness, For each enhancement type, the diagrams show the location of four exemplary points in a vertical section of the CIELAB color space before and after enhancement.Thus, stretchlim displaces all points towards the extremities of the lightness axis; gamut expansion displaces the points along the chroma axis (except for those situated directly on the lightness axis); finally, vividness applies a rotation transform resulting in all points being collinear with the lightness axis.

49we fuse the difference of saturation and value with CIELAB lightness (e.g., by taking the mean) and accordingly obtain an image with sharper edges (Fig. 11).

50The algorithm (lsv) represents a blind separation of a mixture of distributions.It consists in replacing the CIELAB lightness, L*, by pixel-wise operations with L*′, as follows:

51where L*′ is the enhanced lightness; V and S are the value and saturation image channels in the HSV color space, derived from the R, G, and B values of the RGB color space; and 0 � • � 1 denotes normalization to the [0, 1] range.

Hue contrasting by hue shift

52Rationale -The spectral sensitivity of the human visual system is uneven: it peaks in the green band in bright light, and in blue-green in dim light; it is lowest in the red band [26: 28-29, 118-119, 208-209].As papyri have a brownish tint, a shift towards hues of higher acuity would be expected to improve legibility.The images in Fig. 12 result from applying this rationale.The first is the original, the second has all chromatic information discarded, and the remainder have the means of their CIELAB hue shifted to 246°, 162°, and 24°, which correspond to the loci of the primary colors [50: 343].

53In addition for stronger acuity, a host of perceptual effects combine to make blue a compelling target for a hue shift.The increase in perceived lightness effected by an increase in chroma, as described above, is lowest for yellow and stronger for blue [52].Moreover, the visual field for blue is broader than that for both green and red, thereby allowing for better comparison between focus and surround [26: 108-109].A blue text background has also been found to improve performance in analytic tasks [121].Blue is furthermore robust to the most common colorblindness types [135].

54Hue shift can be profitably combined with lightness polarity reversal: (a) lightness induction reinforces hue contrasting; (b) the asymmetry of the color space geometry reduces the dynamic range of chroma in the blue direction with respect to yellow for lightness levels above the medium [127: 133-169].

55Achromatic vision can resolve finer details than chromatic vision [128].Because high spatial frequency is a characteristic of both script and papyri, using only the lightness channel for the decipherment task might make sense.However, the addition of color allows for ink to be better distinguished from stains, shadows, and other entities.Color vision in general improves image segmentation [69,29].

56Implementation -The shift of the papyrus towards blue (blue method) is accomplished via the following equation:

57where h i and h i ′ are the input and output hue in the cylindrical CIELAB color space, with h = tan−1 (b*/a*) [51: 204]; while h p is the centroid of the papyrus hue values and h b = 246° is the locus of blue in the hue dimension.An initial observation is that this is an ideal method, given the non-homogeneities in CIELAB.Second, the centroid of the papyrus hue is non-trivial to determine in the presence of other scene objects, such as color charts.Third, the location of maximum blue sensitivity varies across individuals, genders, ages, visual ecologies, and cultures, among other factors [49].

58A simpler solution is available.This consists in changing the sign of the values in the a* and b* CIELAB channels:

59This is made possible because the brown hue of papyri has blue as its opponent color.It is this method, applied in conjunction with negative lightness, vividness, and gamut expansion, that was employed in the user evaluation.A comparison of the hue shift and sign change methods is shown in Fig. 13.Fig. 11 Papyrus before (left) and after (right) enhancement with the lsv method (detail of papyrus 8 in Fig. 2).

60Fig. 12 From left to right: original, lightness channel L*, and hue-shifted papyri; all have negative lightness polarity (detail of papyrus 4 in Fig. 2).

61Fig. 13 Hue shift (left) vs sign change (right), plus negative polarity (detail of papyrus 4 in Fig. 2).

Dynamic range increase with CIELAB retinex

62The retinex theory (from retina and cortex) provides an explanation for the constancy of color perception across a wide range of illumination conditions.Essentially, it expresses lightness as the product of ratios of spatial neighborhoods.

63As an image enhancement technique, it reveals details in dark and light areas.Many variants have been proposed since Land's and McCann's original work, and the outcomes differ according to image quality, content, and intent [107,119].

64The process is typically performed on each color channel individually, or on a single intensity image derived from the three RGB values, as a substitute of lightness.Pursuing our thinking within the framework of color processing, we find that performing retinex in a perceptual color space (CIELAB) is beneficial to legibility enhancement.It results in a concomitant increase in contrast in several perceptual dimensions discussed in previous sections: lightness, saturation, vividness, and hue.Consequently, significant features may become visible.In Fig. 14, the presence of annotations in a different ink ( ) is striking in the CIELAB retinex process, and further details are revealed by the blue negative.The result, in terms of appearance, insights, and pitfalls, is analogous to watching the Iliad unfold in Technicolor rather than in black and white.The cinematic metaphor of image processing sums up the rewards and implications of color processing and visual illusions in support of critical vision.

Cross-spectral colorization

65Although the proposed methods are designed for visible light images, their use may be extended to multispectral images.

66Background -Multispectral images consist of a set of single-channel images taken in various bands of the light spectrum; hence, each one is perceptually achromatic.Image fusion, which is a common additional processing step, is based on component analysis, wavelet transform, and other dimensionality reduction techniques [12,123,110,80,70,173].

67The visualization of multispectral images and images from bands outside the visible spectrum (VIS) may be improved through the use of color processing and by integrating multiple images into a single image.The problem, however, is that non-VIS images have no natural color correspondence.Moreover, the number of dimensions of multispectral images (dozens or even hundreds) usually surpasses that which is perceptible by the trichromatic human visual system.

68Many single-and multi-channel "pseudocoloring" solutions have accordingly been developed [146,186,39,194], ranging from analog optical [193] to digital frequency domain coloring [3] to the ubiquitous "colormaps" [1].However, the perceptual intricacies that must be considered even when colormapping single grayscale images [154,98] indicate considerable scope for additional research in this area.

69In the document processing domain, the pseudocoloring of multispectral and non-VIS images has been used to increase the contrast between text and substrate.For example, George et al. [61] used the first three components of the principal and independent component analysis, respectively, of 31 spectral bands of an ostracon as input in the RGB color space.Easton et al. [47] inserted the ("invisible") ultraviolet-dominant grayscale image (long-wave ultraviolet light illumination) into the green and blue dimensions of the (visible) RGB color space, as well as the infrared-dominant grayscale image (tungsten illumination) into the red RGB dimension, thereby facilitating the legibility of the Archimedes parchment palimpsest.Gargano et al. [60] applied an overlay technique while working with papyri, which consisted in etching the binarized infrared image (or, alternatively, the red VIS channel) containing the document text into the visible light color image.

70Our solution does not rely on binarization, which presents problems when applied to papyri [149] and may introduce artifacts and suppress critical contextual information during the interpretation of difficult texts.The rationale is that a single-channel image from the non-visible spectrum (non-VIS), or a fusion of several bands, contains features of interest that are not or poorly identifiable in the visible spectrum.Conversely, the VIS image will contain contextual information, supporting the interpretation of the image.Because the "end-user" of the visualization process is the human visual system, we use the perceptual CIELAB color space rather than the physical RGB space.

71The procedure consists in transforming the VIS image from RGB to CIELAB, inserting the non-VIS image into the lightness dimension L*, and then converting back to RGB.We thereby obtain an image where the details (rendered as lightness) come from outside the visible spectrum, while the context (rendered as chroma and saturation) comes from within it.The use of color allows for visual discrimination between the two types of information, while the lesser spatial acuity of chromatic perception relative to achromatic perception [154] confers saliency to the script with respect to the background.Since we now have a color image, we may apply the methods presented above for further enhancement.Fig. 15 illustrates the improved legibility resulting from the cross-spectral colorization process.

Method integration

72The proposed methods lead to better results when used concurrently.A papyri legibility enhancement workflow is presented in Algorithm 1.The vividness method is taken as an example, with gamut expansion, dynamic range stretching, negative polarity, and blue shift also included.

Experiment

73Objectives -An experiment was carried out with papyrologists as participants in pursuit of four objectives: (1) Test the hypothesis that the proposed methods outperform existing ones.(2) Use the results to support the decision as to which methods to implement.(3) Explore the data to discover further potentially relevant facts and operationalize the findings.(4) Design the experiment to gain insight into the realistic usage conditions of the legibility enhancement software.

Setup

74Participants -The experiment participants were two female and five male graduate students, and one male faculty member participating in the Eucor Tri-national Papyrology Webinar 2019-2020 held by the Universities of Basel (Switzerland), Freiburg (Germany), and Strasbourg (France).All were trained in Ancient Greek.Participation in the exper-iment counted towards their grades.The sample is more representative than suggested by its small size, if it is considered relative to the total number of papyrologists (the International Association of Papyrologists had 484 members in May 2020), and its international heterogeneity.

75Stimuli -The stimuli consisted of a training and an evaluation set of papyri images.The training set comprised eight images of unpublished papyri from the University of Freiburg Library, whereas the evaluation set comprised the nine publicly available papyri color images from the ICDAR 2019 Competition on Document Image Binarization (DIBCO) [149] (Fig. 2).The quality of the original images in the training set was similar to that of the noisiest evaluation images.The DIBCO images represent typical qualities of papyri documents and reproductions, and the authors participated in their selection process.Each original method was processed with ten of the methods described in the previous section, thus bringing the total of images to 80 and 90 in the training and evaluation set, respectively (the evaluation images are available in the online Supplementary Material).

76Algorithms -Four novel enhancement algorithms (vividness, lsv, negvividness, and neglsv) and five comparison algorithms (stretchlim, histeq, adapthisteq, locallapfilt, and retinex) were used.Given the variability of the lightness dynamic range in the test images, and to facilitate a bias-free comparison of methods, all images had their CIELAB lightness normalized in a preprocessing step, while their gamut was also expanded as described above.All methods were implemented in the Matlab (R2020b) programming environment, except for retinex, which was produced with the ImageJ software package.The choice of comparison methods was based on their status as classical enhancement methods (stretchlim, histeq, adapthisteq), having outstanding edge-preserving performance (locallapfilt), and being a prime choice for achieving color contrast equalization (retinex).-Input images had no embedded color space information, except for P.Oxy.XXII 2309, which was in sRGB.All methods converted the input images to the Adobe RGB (1998) color space with D65 whitepoint and saved them to sRGB to expand the color gamut.Lightness was obtained from CIELAB.-The novel algorithms were those described in Section 4, "Methods".Negvividness and neglsv apply negative lightness to vividness and lsv.Due to late-breaking research hue shift and CIELAB retinex were not included in the experiment.-Stretchlim [118] expands the dynamic range of an image's CIELAB lightness to its bounds, [0, 100].-Histeq [79,118] is a global enhancement method that equalizes the spread of the histogram values of an intensity image over the available bit-depth dynamic range via linearization of its cumulative density function, thereby improving its contrast.-Adapthisteq (contrast-limited adaptive histogram equalization, CLAHE) [197,118] is a local enhancement method similar to histeq, in that it equalizes the image histogram; however, it does this on small regions (here, 8-by-8 pixels).Accordingly, contrast for local structures is increased.-Locallapfilt [134,118] is a state-of-the-art edge-preserving image enhancing method using pyramids of locally-adapted Laplacian filters.Depending on parametrization, it can be used to either smooth or sharpen.Smoothing was used here, with parameters σ = 0.4, α = 2, and β = 1, derived empirically for their appropriateness to papyri images.-Retinex images were produced with the ImageJ implementation (RGB color space, uniform level, scale 240, scale division 3, and dynamic 1.20) [73].

77Procedure -Each participant transcribed the text of a different image from the training set as part of their webinar examination.Afterward, they were asked to rate the processed images according to how useful they were for text transcription, using the following system: X: "I used only one image for the transcription, this one"; A: "Very useful: it was the primary image used for transcription"; B: "I sometimes used this image"; N: "I didn't use this image".(The results were similar to those obtained from the evaluation set.)This experimental step in real use conditions acquainted participants with the opportunities provided by the various processing methods for scholarly text editing.

78During the evaluation step, all participants worked on all images of the evaluation set (Fig. 2).The first task involved rating the images for a hypothetical transcription on the same scale as used for the training set.The second task involved the ranking of the same images by utility.Given the effort and time invested in a scholarly transcription of ancient papyri, requiring participants to provide a transcription of all evaluation images it would have been impractical.

79Several further questions were asked of the participants regarding how they organized the images and interacted with the computer to compare the versions (e.g., side by side, overlaid, or printed); whether they zoomed into the images; whether they used a desktop, laptop, tablet, or other device; how many displays were used and what sizes they were; what the operating system and image display application were used; and whether they could provide any other information about using the processed images for the transcription task.

80Setting -The experimental instructions were sent by email to the participants, who downloaded the images to their computers and eventually sent back the completed questionnaires.Given the virtual nature of the papyrology webinar, the participants never physically convened in the same location as the experimenters, thus precluding testing in controlled laboratory conditions.This constraint, however, turned out to be a great opportunity.The homework "field study" enabled in situ simulation of the use of then future legibility enhancement software in realistic conditions in a variety of dimensions, and thus led to findings that could not have been obtained in a laboratory setting.In addition to leaving the choice of evaluation environment and time to participants, the setting also maintained their familiarity with the software and hardware employed.Data organization on personal computers, human-computer interaction patterns developed in coexistence with specific operating systems and applications, as well as the display size and number are only some of the factors that would have biased the results if participants had to work in the unfamiliar laboratory settings.

81To more accurately simulate real-life conditions, the image filenames were also not anonymized.The identity of these images is indeed known to real users, since they select methods by name in the enhancement software interface.Furthermore, the methods employed in this evaluation produce images that are sufficiently peculiar to make them identifiable at a glance (such as the negative polarity method), which defeats the purpose of anonymization.The differentiated practices that may develop from this knowledge are part of normal user behavior and represent the insights that the evaluation aims to develop.If anonymization was employed, these real behaviors would not have been captured, meaning that the evaluation would have simulated a non-existent condition.An illuminating example of this rationale concerns the special treatment given by the experimental participants to the original image, which was ranked as the most reliable image for the transcription task despite broad acknowledgment of the better script-background contrast in the enhanced images.

82Similar considerations to ours have led to remote evaluations in two other legibility enhancement evaluations of historical documents [28,12].Large-scale image and video quality assessments with 8 100 and 985 participants from multiple countries, rating 1 162 and 3 000 images respectively, found the results of laboratory and unconstrained online evaluations to be equivalent [63,144].Methodologies for crowdsourcing image quality assessment have also been actively investigated [78,152], while the "ecological validity" of laboratory and field experimentation has been debated for over half a century in fields such as psychology, sociology, and economics [76,90,124,57].

83Frame -The experiment measured the preferences for legibility enhancement methods in the context of specific documents and available hardware and software, developed in real-life conditions by participants as they gained expertise in using these methods for scholarly text transcription.This statement is necessary to clarify how legibility enhancement was framed by the experimental design.It is not (as would be possible with a different design) transcription errors or duration of task completion that are measured to judge the utility of methods for enhancing legibility, but rather their utility as manifested in their rating and ranking by papyrologists.

Results

84Table 1 presents the ratings and rankings of the image processing methods used in the experiment.Providing this data in extenso is essential if we are to make visible the statistical features quantified, summarized, and discussed in the next section.For example, while user behavior heterogeneity is apparent from Table 1, it is obfuscated in Table 3 through statistical data aggregation.Note: "X" denotes methods used to the exclusion of all others, "A" those that were of primary use, "B" those that were of secondary use, and "N" (on gray background) those that were of no use.Brackets indicate tied rankings.

How good are the proposed methods?

85A visual inspection of Table 1 suggests that, as a group, the proposed methods ranked overall higher than the comparison methods.This impression is substantiated by the distribution of ratings of the two method sets according to their utility: the proposed methods are prevalently of primary use, whereas the comparison methods are mostly of no use (Table 2).

How do the methods differ?

86The methods' effects on legibility were examined by combining the participants' feedback with a visual inspection of the enhanced images (Fig. 3) and understanding of the algorithms.The original image was typically low-contrast, and some portions of the script were faded or missing.Stretchlim (i.e., normalization of lightness) was often insufficient.Histeq created high local contrast variation, because it is based on global contrast improvement.Adapthisteq strongly enhanced the papyrus structure, which interferes with the script.Locallapfilt had very low contrast, and its smoothness was too strong; parametrization for individual images becomes thus necessary, although this is difficult to do automatically and inconvenient when done manually.Retinex performed best out of all methods at revealing the script, creating very sharp edges.However, reading was also made difficult because of interference from the papyrus structure, and there was also a strong vignetting effect that sometimes completely obscured parts of the image.LSV had excellent smoothing properties, but often damaged script structures.Vividness gives the most balanced results, although the contrast could be improved.

Which methods should be implemented in software?

87To determine the relative utility of the individual methods, their ratings were aggregated across all participants and documents in an overall ranking (Table 3).This ranking was obtained with two different ranking methods, after which the outputs were aggregated and optimized.The top-1 enhancement method is vividness, followed by the negative method.The least useful were locallapfilt and histeq.

88Methodology -While ranking has been extensively investigated in statistics [11], we found methods with more useful properties for the task at hand in the domains of operations research, marketing, sports, and voting theory.These methods are non-parametric, and thus facilitate the handling of data with unknown distributions.They take categorical and ordinal data as input, which corresponds to the experimental ratings and rankings.They also differ in terms of their perspectives, with the mean-based methods being competitive and rewarding the individual performance of the enhancement methods, while the median-based method is consensus-based and satisfies the majority of users.These methods are briefly described below; the code was published in [15].

89The Centroids ranking is based on matrix analysis [108: 127-129].The n-by-1 vector r of the aggregated rating scores of n items with individual scores s (or ranks k, for which s = n + 1 − k) is defined as follows:

90where S is an n-by-n matrix, with

91) for i ≠ j and S ij = 0 for i = j (diagonal of zeros), S T is the transpose of S, and e is an n-by-1 vector of ones.(Note the row-wise averaging, from which the method derives its name.)Using Table 3.A as an example, the items correspond to the enhancement methods; their corresponding ranks are obtained from Table 1, after which application of the above equations results in the values listed in the rating column of Table 3.A.Their ranking is obtained by sorting the rating vector r in descending order of magnitude.

92The Ratio of Offense and Defense (ROD) [108: 176-197] takes as input the same score matrix S used by the Centroids method, from which it derives the ratings vector r through the following equation:

93where the methods' "offensive" strength is o = R e, while their "defensive" strength is d = R T e. (The terminology comes from the world of sports, where this ranking method originates.)In Majority Judgment each elector grades each candidate (instead of choosing a single one), and rates and ranks are obtained from mean scores, resulting in the elections of those candidates that are the most acceptable to the largest number of electors, i.e. consensual [18] ).This procedure was applied to the enhancement method utility ratings { X, A, B, N } of Table 1 in order to generate the rankings and ratings presented in Table 3.B.While ranking is an ordinal representation and rating is numeric, verbal qualifiers have their own benefits.For example, the utility of the ranked enhancement methods is easily recognizable from the category column of Table 3.B, which uses the spelled-out names of the four utility classes { Exclusive, Primary, Secondary, No use } corresponding to the ratings.The plus and minus signs following the class names indicate whether a method belongs to the upper or lower range of a utility class.

94Empirical evidence suggests that aggregated opinions may outperform individual ones, an approach formalized by ensemble methods [103].When comparing the results of the Centroids and Majority Judgment methods, differences can be seen in ranking and rating, reflecting the methods' differing outlooks.To obtain a balanced result, the two rating vectors are aggregated, first by deriving the matrices R of pairwise positive differences from each of the n (in our case n = 2) rating vectors r : (11) where p = { 1, 2, ... , n }.The matrices are then normalized and averaged:

95where e is an n-by-1 vector of ones.Finally, the aggregated scores vector r is obtained using the ROD method: r = R ‾ e / R ‾ T e.This procedure produced the ratings shown in Table 3.C.The approach is akin to graph analysis, as commonly used in e. g. website ranking methods, since negative differentials between pairwise scores are set to zero, meaning that the matrix R ‾ reflects the dominance of each enhancement method.

96A further refinement, named Kemenization, allows for the aggregated ranking to be optimized [88: 9-23; 108: 175-176].It consists in switching item k i with item k i+1 in the aggregated vector r if item k i+1 occurs more frequently among the ranks i of the input vectors r p .From the optimization column of Table 3.C, we can observe that the procedure results in no modification of the aggregated ranking.

Are the evaluated methods sufficient?

97The fact that multispectral images typically provide superior legibility indicates that additional enhancement methods are desirable and sometimes indispensable (e.g., when reading carbonized papyri [125,171]).Nevertheless, participants attempting further image manipulation, such as in Photoshop, could not usefully improve legibility: "The enhanced pictures were most often so good that this didn't help as much as I hoped" (SN).Also, one method, i.e. vividness, was substantially better than the others (Table 3).Finally, over-reliance on the original image was apparent: "I like to work on the original version, and I find it's not always necessary to look at the others" (OR); "I mainly worked with the 'base' image (vividness or original).This represented 95% of my work. . . .The other . . .I briefly tried to use them, but quickly abandoned."(OC).This final comment was reflected in the numerous cases in which methods were deemed not useful (42% of n = 720 in Table 2; swaths of gray in Table 1).Provided that the DIBCO dataset is representative of papyri, the conclusion is that the amount and type of novel and existing methods made available are satisfactory on average.

Enhancement methods are complementary and their utility is context-dependent

98Table 1 reveals a substantive variability of method ranking and ratings within participants, between participants, and between documents.Retinex, for example, is the first choice for participant AW, but the last for OC (Table 4).The statistical analysis of agreement and spread quantitatively confirms the striking variability (Table 5 and Fig. 16).Various distributions are present: unimodal, bimodal, and uniform (Fig. 16A).Clearly, no single method is adequate for every participant-document pairing.The implication here is that an optimal text transcription can be obtained only by optimizing individual user/document/method configurations, and not by the method that performs best on average; in other words; the choice of enhancement method is best left to the user.

99A second insight from Table 1 is provided by participant FG, who stated that all methods were equally useful.Other comments concur: "the images . . .definitely complemented each other" [FG].Therefore, not only is no single method is the best, but there is an explicit need for the concurrent use of multiple methods to optimize text transcription.

100The above precept is even more pertinent as image quality varies locally (e.g., AW ranked the method utility differently for the recto and verso of the same papyrus), and local information is critical to legibility.These findings further support the conclusions drawn from the overall method ranking.Rather than implementing a universal solution for legibility enhancement, multiple methods should be offered to users.

101These results are unsurprising.The DStretch software, for example, offers more than fifty parameterizable methods.A recent comparison of the performance of eight optical, X-ray, and terahertz-based imaging approaches for recovering text within Egyptian mummy cartonnage concluded that it is only by "carefully selecting, optimizing and combining" them that success may be achieved [64: 1].Similarly, the organizers of the Document Image Binarization competition explicitly state that "no binarization algorithm is good for all kinds of document images" [44,113].In industries dealing with color imaging and reproduction, the impossibility of a universal algorithm for color conversion (gamut mapping) is also acknowledged.Various strategies are therefore utilized to select appropriate methods, on the basis of (for example) the user's subjective intention (maintaining saturation or overall color appearance [127: 3-5, 107-109, 194]), the linguistic dimension (preserving the names given to colors [127: 218-219]), or the semantic content (e.g., skin color [127: 216]).Comparison -Our findings appear to differ from those obtained by two recent legibility enhancement evaluations of historical documents, which explicitly indicate the homogeneity of agreement between participants.Brenner and Sablatnig [28] produced an annotated dataset of 250 multispectral images from 20 paper and parchment manuscripts, with selected regions of interest graded for their legibility by 20 scholars; the settings were both laboratory and remote, and the interclass correlation coefficient (ICC) [96] was used for statistical analysis.Arsene et al. [12] had seven participants evaluate 15 pseudocolor multispectral fusion methods for their utility in enhancing the legibility of one parchment palimpsest page; a laboratory setting and ICC analysis were used.

A. Inter-class agreement

102There are evident similarities and differences in terms of intent and experimental setup between the above-mentioned works and the present research.We do however consider that the main reason for the behavioral heterogeneity observed in our study stems principally from three factors.First, all three evaluations contend with small sample sizes and unconstrained settings, which may amplify variance (while large datasets may hide diversity).Second, we adopted the following methodological "mantras": do not reject outliers, but question their significance (cf. the case of the original image); examine the raw data (Table 1) before aggregating it (Tables 2 to 5); do not assume normality for the data distribution (while ICC does).Third, the reported behavioral differences may reflect the evaluators' differing outlooks on which experimental aspects to operationalize.The focus is on one hand on personalization and contextualization, and on the other hand on generalization.The choice depends on the situation and affordability: enhancement for critical vision benefits from local optimization, while global optimization is more efficient for casual vision.

103Methodology -Kendall's coefficient of concordance W is non-parametric and distribution-independent statistic of agreement between multiple rankings, appropriate for the multimodal nature the analyzed data [89: 94-116].The results in Table 4 were obtained by adjusting for ties and by correcting for small sample sizes, followed by a χ ² test of significance for large number of ties.The hypothesis H0 that the between-user and between-document agreements are due to chance is rejected in favor of the alternative, with p = 0.001 and p = 6.124e−9, respectively, at an α = 0.1 significance level.The coefficient of concordance, W, for m ranked items and n rankings is defined as

104where S is the sum of squares of rank deviations from the mean, and t is the length of runs of tied ranks.The formula for the χ ² value is:

105Spatial flatness SF is the complement of the spectral flatness [196; 31: 104-105], which is itself the ratio of the geometric and arithmetic mean of the magnitude of the Fourier transform ℱ of a signal x of length n:

106Spatial flatness varies between 0 for an impulse and 1 for a uniform distribution.It is used in signal processing and is implemented as one of the descriptors of the MPEG-7 multimedia content description standard, with applications including classification into noise and tonal sounds [82: 29-32].We applied this method to characterize histograms.It is a powerful, non-parametric statistic that informs on (1) the coverage of a range of possible values by actual values in a vector (e.g., to how many different ranks experimental participants assigned a method), (2) the variance of the distribution's amplitude (e.g., whether one rank is preferred over the others), and (3) the homogeneity of distribution (e.g., whether participants exhibit consistent or eclectic behavior).Such a rich description is made possible by the properties of the frequency domain, where regularities in signals are much easier to investigate than in the spatial domain.For the sake of comparison, Fig. 16 gives the Shannon entropy, H, of the ranking histograms.The "peakiest" histogram in Fig. 16A has the lowest SF value, but the lowest H value is that of a histogram wherein the values are fairly evenly distributed.

From facts to action: an operationalization pattern

107The findings on rating variability derived from Table 1 were operationalized via the following design pattern: measurement ▹ interpretation ▹ implications ▹ implementation.The variability of ratings within columns represents the within-participant variability and is indicative of two behavioral attitudes: eclecticism in the use of enhancement methods and adaptability to document particularities.The prevalence of high eclecticism may translate to a decision to accommodate this behavior by simplifying the access of users to the various enhancement methods, e.g., by tiling the interface windows.Conversely, low eclecticism may lead to methods organized in depth,via several menu levels.High adaptability may be considered an incentive to invest in developing image quality metrics, in order to predict the enhancements best suited to a given document, and to rank them dynamically in the software interface.The measurements of agreement in Table 5B show a wide distribution range between eclectic and conservative participants (FG has a uniform stimulus responses), and adaptable and rigid The conclusion is that both depth and flat interface designs are needed, as well as that developing image quality models is desirable.

108The principal factors in the level of within-document rating agreement in Table 5C are the document and image quality, script legibility, and user experience.This information could aid in evaluating the significance of enhancement method performance.In relating document rankings to their images in Fig. 2, no correlations with either factor are found.For example, moderate agreement characterizes both low and high document or image quality (PSI XIV 1376 r vs columbia.apis.p367.f.0.600), whereas low agreement is obtained for all script cursivity levels (PSI XII 1274 r vs P.Mich.inv.1318v).

109Comparison of between-user and between-document rating agreement may reveal the dominant factor driving the observed behavioral heterogeneity in the rating of the enhancement methods, owning either to user variability or to document quality variability.The results would have bearing on whether to invest more in human-computer interaction issues or enhancement algorithms.The values in Table 5A show a greater agreement in between-document ratings than between-user ratings, and thus support the focus on interaction facilities, more than on enhancement algorithms.This empirical finding is a surprising conclusion to an article devoted to algorithms, and thus merits further exploration.

Approaching legibility enhancement as a system

110The preceding findings detailed the high heterogeneity of user behavior and the large number of factors affecting which legibility enhancement methods users choose to utilize.The following model of the legibility enhancement process aims to help better understand these phenomena.

111The system takes bitmap text as input and outputs electronic text.During this process the entropy of the text is lowered (i.e., a cryptic text has been read).The system is composed of interacting elements and their properties.The principal aspects are: (1) the task of critical reading, (2) the images with various degrees of content affordance, (3) the tools creating an ergonomic environment (such as image viewing software and displays), ( 4) the methods of legibility enhancement that are variously useful for the users, and (5) the users themselves, along their level of expertise in interacting with the system components.The behavior of users emerges from the processes within the system, and is characterized by an idiosyncratic eclecticism in how they use the methods and the tools, as well as by contextual adaptability to the specificities of documents and their digital reproductions.Legibility is a property not only of images alone, but also of user expertise and tool ergonomy.Likewise, the utility of a legibility enhancement method is a property of the interaction among all elements of the system; therefore, its measurement is relative to the overall context.

Contextual system optimization is preferable

112Image interpretation in scholarly transcription, and even more so in medical, forensic, and military contexts, can have significant repercussions on people's lives (e.g., the role of the Rosetta Stone transcription in the Egyptian tourism industry).Optimal performance on a case-by-case basis, rather than considered statistically, is thus critical.This can be achieved only if the "variables" of the legibility system (i.e., methods and tools) are attuned to the "constants" (i.e., user, document, and reproduction).In short, choosing the globally optimal method for all combinations of the system states will yield suboptimal performance in most cases; only when several analysts express themselves on the same document can their opinions be fused into a unique solution that might surpass individual solutions.To use an analogy, biometric security systems are optimized for individual users, whereas physical keys are universally functional for any user; evidently, the average of biometric signals from multiple users will result in very poor authentication performance.

113The evidence in respect to legibility enhancement thus favors the personalization of methods and tools to specific users or demographics, the contextualization to the task, and the adaptation to individual documents and reproductions.

114One simple implementation of a legibility enhancement system optimized to local conditions would be to offer a spectrum of methods and then leave the choice to the users.More sophisticated techniques are the ranking of methods according to their suitability for the document in question, and adaptation to the behavior of a given user.A fully-fledged context-aware critical visual enhancement system (e.g., autonomous robots) would have at its disposal a multitude of enhancement methods to choose from and combine in the function of the observed distortion types, scene content, environmental conditions, technological resource application domains, and user demographics and individualities.

115Related work -Digital photo editing is a research area where adaptation to individual and demographic preferences has been proposed as a way to develop image enhancement processes beyond the stage of universal filters [85].Typical features of interest are the lightness transfer function (S-curve), temperature, and tint, while more complex edits may be modeled using deep learning [92].Taking user intent and image content into account are some of the challenges of this application type.

116Demographics and individual adaptation have long been of interest for medical applications of analog and computational image enhancement.For example, macular degeneration is a common ophthalmologic pathology manifested by a blurred spot in the visual field.The detrimental impact of this condition, including the handicap it presents for reading, may be mitigated by bandpass filtering based on psychophysical models of low vision [137], a technique that could be implemented in an MPEG image decoder for real-time applications [93].The progressive yellowing of the eye's crystalline lens with aging is another example of the demographic dimension of image enhancement.It leads to a darker field of vision, a condition for which it has been proposed to use lightness enhancement by means of non-linear tone mapping and high-pass filtering (sharpening) [126].The several types and degrees of colorblindness (affecting about eight percent of males and one percent of females of European ancestry [135: 222-223; 120]) have spurred the development of a further class of demographic-specific image enhancement techniques intended to simulate color vision deficiency for the normal-sighted [185,116], as well as enhancing the color perception of the colorblind [151,53,195].

117One challenge associated with medical-related image enhancement concerns the wide variety and individuality of pathologies that need to be accounted for in software [59].Furthermore, the suboptimal ergonomics of the hardware in which this software embedded is often a reason why they fail to be used [136].Consequently, a number of creative design solutions have been proposed, such as the integrated visual and audio representations of images [67].An additional persistent problem remains the difficulty of evaluating the effectiveness of the experimental enhancement methods outside the laboratory, as part of the daily life of the visually impaired [138].This aspect has considerable significance, given the far greater disparity for pathological applications than for non-pathological ones between laboratory and real-life environments (in a similar manner as we suggest to be the case for paleographic transcription).

The primacy of the "original" image

118Overall, papyrologists ranked original images as the most useful for transcription.Participant SN is unambiguous: "I'm convinced that the original picture is the most important reference point in discussing a text."Why should this be so, and what might it mean for software development?

119In many domains -papyrological, medical, or journalistic -the more removed the information from its source, the less trustworthy it is considered (cf.witness vs hearsay evidence, primary vs secondary documentary sources).The dogma of the "original" is a socio-professional specificity inculcated early on in papyrological education.As sensible this is in the context of physical documents examined visually, digital reproductions are, however, inherently "manipulated" images, and an image at the exit point of an imaging system is no more faithful than, say, an image calibrated during post-production.Hence, suitable documentation should clarify alterations by the enhancement methods, and thus preserve the confidence of users in that they understand the source of features observed in images.

120The "low toner effect" might have contributed.Psychologists found that, counterintuitively, a job application letter of poor print quality was more trustworthy than a pristine print.The proposed explanation was that low legibility demands more cognitive effort, which is interpreted as a reflection of the high value of the letter content [132: 149-151].The effect was reproduced with mathematical exercises more often correctly solved when in an uncommon faded typeface [10].

121It would however be misleading to rely solely on the overall ranking of enhancement methods (Table 3) and thereby conclude that the original is the top-performing image under all conditions.For example, between-user variability is substantial: whereas OR consistently rates the original as being of "exclusive use" or "primary use", OC rejects it as "not useful" (Table 2).The software should thus be able to adapt to user preferences, as well as document specificities.

The unexpected usefulness of negative images

122The trivial negative method is noteworthy not only for its excellent performance as a top-2 enhancement method after vividness (Table 2), but also for its discriminatory qualities.It helps to ascertain whether a specific pixel cluster might be ink ("I used the negative image to understand whether I was imagining an ink trace or it was real."[OC]), and to distinguish between ink and holes in the papyrus, a recurrent issue in reading papyri reproductions.One further point of practical relevance regarding this method is that it is applicable to monochrome images.Some papyri survive or are remotely accessible only in this format; other (such as the charred papyri) have little chromatic information.

123The finding that negative polarity is considered by users to improve legibility is of interest because it contradicts the prevailing psychophysical evidence, which consistently associates better legibility with positive contrast (i.e., dark script on light background) [32, 145, 109, 99, 26: 206-207].The possible cause of the disparity is that these studies typically use binary black and white stimuli, rather than ternary black, gray, and white stimuli, as in the present experiment.

124Negative polarity is known to be preferable only for special conditions, such as the degeneration of visual acuity in aging [26: 244-243] or disease [109].Also, aeronautical displays with negative polarity help to maintain the adaptation of the visual system to a dark environment during night flight [148].Closer to papyrology is the similar case of readers repeatedly switching between the high luminance of a computer screen and the low luminance of paper documents [20].These exceptions have a context of low vision in common, whether permanent or transitory, that demands increased visual and cognitive efforts.In other words, they are akin to critical reading tasks, such as the decipherment of ancient documents, characterized by high visual and semantic entropy.

125In terms of visual ecology, positive contrast has dominated the history of writing, albeit mostly for practical reasons such as the cost of colored substrate.Negative polarity texts are often prestige objects, for example, the Rosetta inscription that features a light script with crystalline sparkle on a dark stone [122]; the word "God" calligraphed in gold on a green eight-meter-high panel in the Aya Sofia mosque of Istanbul [25: 504]; and the 12th-century "Blue Sutra" of Japan, in gold on blue paper [58: 36, 68-69].These examples are also sources of inspiration for how contrast -and thus legibility -might be further improved, using displays with special material properties, such as high-reflectance or fluorescence.

Smooth human-computer interaction is critical

126Participant AW reported: "Even with the split-screen option, using two monitors, I felt like my devices lacked the optimal Graphical User Interface to maximize the usefulness of those pictures.Comparing the same zoomed part of text through several images proved, for example, to be quite costly in terms of time and clicks, and I feel this disturbed the workflow."Five of eight participants juxtaposed two or more image variants during transcription; three used two displays, one used three.Two participants printed the images (as more documents fit on a table than on a computer display).

127These explicit and implicit statements demonstrate how interaction with the images can impact the advantages derived from image processing.Indeed, without good interaction, there is little enhancement as far as the user is concerned.What, then, is good interaction?Observing the participants is informative in this regard: good interaction involves a wide visual field, the synchronization of manipulations across multiple images, the understanding of how different enhancement methods have varying utility for transcription, and a state of mental flow during task completion [42].

Gender may affect legibility enhancement

128One female participant in the experiment had perfect agreement in her method ratings, while the second female had the second highest agreement score (Table 5B).If they are not statistical outliers, then the gender disparity in behavior could have implications, given the increased proportion of females in papyrology (202 [57%] out of 356 participants at the International Congress of Papyrology in 2019 were female, compared to 3 [5%] out of 57 at the congress in 1937 [37,6]).For example, females have been found to have greater chromatic discrimination ability, whereas males are more sensitive to lightness variation [189].Therefore, the enhancement method through chromatic contrasting might improve legibility more for females, while the negative polarity method could be more appropriate for males.A larger sample size would be needed to further the investigation of the topic.

129However, this section is representative of an issue with broader significance.In addition to gender, there are numerous other perceptual variability factors (age-related, genetic, cultural, and climatic, among others [49: 149-244]) that indicate the utility of demographically tailored and even personalized image enhancements (in a similar fashion to how corrective glasses are fitted individually) rather than those calibrated to the statistical mean of the general population.

Paradigm

130A paradigm of legibility enhancement for critical applications is provided herein, representing a step towards developing computer-assisted critical vision systems.This paradigm helps in defining the goals, methods, and limits of legibility enhancement, and is rooted in the problem analysis and experiments carried out in the present research.The preceding sections have circumscribed the notion of critical vision, established that potential information should not be suppressed, and advocated a systems approach to the design of enhancement software.A further element will be discussed below, namely uncertainty; this element will help us to operationalize the paradigm and link the field of image enhancement to the vast body of interdisciplinary research on decision making under uncertainty.

Make uncertainty explicit

131Requirements -Because vision is purposeful, we might sometimes stare at things without seeing them when there is no reason to seek them out ("inattentional blindness" [169]).Two converse problems concern our tendency to believe what we see and see what we believe ("confirmation bias" [168: 61-75]).Generally speaking, the ideal enhancement system would inform us about objective uncertainty in images and guard against subjective cognitive biases during their interpretation.Uncertainty is important and its presence should be made explicit.The system should therefore aid in its detection and analysis, represent it visually and numerically, and Fig. 17 The shapes in the center of the squares are perfectly legible, but ambiguous: do they represent the letter "B", the figure "13", or something else? Coloring helps differentiate between alternatives.Such shapes are said to be "multistable stimuli" [101], and have been the source of well known illusions, e. g.Arcimboldo's face made of books [164: 131].

132preserve it for verification.Uncertainty management should be at the core of the enhancement system and its components, from the algorithms to the interface.

133Examples -One illustrative analogy is the use of white material for pottery reconstruction in archeology to distinguish between missing and original parts.An example of script polysemy and the role of context in reading is shown in Fig. 17, wherein the central shapes can be interpreted as either letters or numbers depending on the reading direction.Mundane cases where an individual seeks to mentally solve visual ambiguities include faded maps or letters and frightening shadows at night, while imagery-based clinical diagnosis and military decisions represent domains in which uncertainty is both pervasive and critical.For the facial identification of suspects, police organizations have developed mechanical and computational aids for using witness recollections to produce faces composited from a catalog of elements, such as eyes, nose, and mouth, assembled by likelihood into a coherent whole [43].

134Rationale -A paradigm called conservative preprocessing was proposed by Chen, Lopresti, and Nagy in a rare work on the theory of image enhancement [38].It consists in preserving the original by means of reversible transformations and the use of derivative representations as a proxy.Other researchers have noted that applying the concept of noise suppression outside the casual reading task might be misplaced: for example, bleed-through removal may unwittingly obliterate the only trace of text that is inaccessible because the page is glued to the support, was not scanned, or belongs to a missing second or third page [179].Such invasive enhancement can thus destroy historical, forensic, and conservation-related information in documents and reproductions [129,60].Problems of this kind are common in digital library projects.Technical factors can also make enhancement problematic; for example, because band-pass filtering is known to frequently suppress script parts [133: 445], while neural networks can "hallucinate" character-like shapes [21: 1221], should the user not be made aware of the possibility of erroneous readings?

135Conceptualization -Let us here define uncertainty in the context of image analysis and consider possible solutions.As discussed above, image enhancement is the outcome of interacting stimuli, observers, tasks, contexts, and technologies.Multiple concurrent enhancements therefore appear to be better adapted to the high combinatorial variability potential of such a system.

136To clarify the uncertainty reduction process, we draw on cognitive psychology (in particular, decision-making in critical contexts, such as those encountered by medical emergency services, firefighters, police, and military personnel [168]).The process consists of an interpretation stage, in which possible stimuli of interest are detected and separated from the surrounds (building "situational awareness"), various options as to their identification are formulated (integration into coherent "gestalts"), and their likelihood is estimated (multidimensional weighting and/or ranking); this is followed by a decision stage, in which a choice of interpretations is made.For our proposed method, it is noteworthy that (1) alternatives to the visual stimulus are produced, (2) the visualization is mental, rather than physical, and (3) it involves mental manipulations of the alternative images.

137Establishing a taxonomy of common factors leading to uncertainty helps us to find appropriate remedies.The inability to detect visual targets (lack of information) and vaguely defined targets (fuzzy information) are types of uncertainty that arise early in the interpretation process and that may be countered by more and sharper imagery; that is, alternative views.Decisions regarding implausible interpretations may be solved by considering the target's compatibility with its visual context, which shows the utility of retaining context and even using alternative backgrounds.The uncertainty developing from the need to choose between contradictory interpretations demands an increased capability to compare alternatives.Entities need not necessarily be noisy to make interpretation difficult (viz.readily distinguishable characters in unknown scripts); to deal with novelties, information exogenous to the image and observer must be supplied.Finally, an overabundance of potential interpretations may become overwhelming and result in "decision inertia" [168: 37-41].Information visualization theory suggests for such cases filtering the amount of information, through selection or ranking [167].

138In terms of limitations, he number of items processable at a given time in human memory is however finite and can degrade under time pressure and stress; similarly, the visual field size is also limited and increasingly blurred as it moves away from the fovea.Thus, methods designed to increase the number of alternatives must be accompanied by mechanisms to limit visible alternatives and manage all available stock.

139Operationalization -We propose to make uncertainty materially explicit through the physical rendering and cueing of mental interpretations of images (as a literal application of the notion that "seeing is believing").When the alternatives are known, highlighting or inpainting of objects may be used to find fits between potential targets and a given context, as in a puzzle game where the pieces are materializations of mental images.For unknown alternatives, solutions may be elicited by purposive or random alterations at the global or local level, statically or as a movie, similar to the shimmering reflection on an undulating water surface, or searching for optimal shapes by sketching, or tilting a hologram to observe it from different perspectives (our deliberate use of metaphors is a method for problem solving, as well as for communication [106,75]).Machine learning may help shape prediction and synthesis, while human-machine interaction techniques are used to guide the image exploration.The result is much more than an image enhancement algorithm: it is a computer-assisted critical vision system.Current research on such systems includes applications for, e.g., medical radiographic diagnosis [158: 359-414].This method operates as illustrated using Fig. 17, in which two images were derived from the original; each of these make explicit a different interpretation through the perceptual differentiation of distinct semantic classes.If semantic grouping became unfeasible, the random alternation of individual shapes between two colors would be the next best option (also revealing a less obvious solution when only the three vertical bars are red, in that they may represent the upper-case letter "I", the lower-case letter "l", or the figure "1").The inpainting technique presented in this example consists in removing the gaps between adjacent central shapes to strengthen their identity as the letter "B".In the real case of papyri, the most common character allographs of interest may be statically inpainted or flickered.This is a complex and possibly contentious intervention in the image structure; thus, in our implementation, we avoided segmentation by opting to present variants of the whole scene.

140Frameworks -The presented method for making uncertainty explicit in view of helping decision-making may be understood in information theoretical terms as finding a balance between maximal (= quandary) and minimal choice (= no or unknown alternative) by comparing image alternatives with different entropies for different entities within the images.The heterogeneity of user behavior observed in our experiment suggests that the optimum is contextually determined by a combination of factors.

141Bayesian theory offers an additional useful theoretical framework, in that establishing the identity of the visual target is dependent on both the prior assumptions of the observed shape having the hypothesized identity and the likelihood of observing the hypothetical entity in the given context.In this sense, the explicit presentation of multiple alternatives for comparison is a means of updating and optimizing one's beliefs about the identity of visual stimuli.

Summary of criteria

142Our work has yielded a set of core criteria that define our paradigm of legibility enhancement for critical applications::

1431. Critical vision -Legibility enhancement for critical applications is a matter of critical vision.It consists in exercising skepticism about the interpretation of images.

1442. Potential information -Any image structure should be viewed as potential information that should not be suppressed in critical vision applications; interpretations can arise from connections made between image parts.

1453. Uncertainty explicitation -Support for critical vision is realized by making alternative image interpretations materially explicit.Visual target identity depends on both the shape and its context.

1464. Systems approach -Legibility enhancement for critical applications is a system problem.Optimization depends on tasks, data, users, tools, and their interactions.

Implementation

147The research findings were implemented in the open-source software Hierax [16].To account for the heterogeneity of user behavior and the complementarity of enhancements, a range of methods were offered: our novel methods, and adapthisteq and retinex.Since interaction with the images was found to affect the usefulness of enhancements, the software includes an image viewer.Our design methodology conforms to elements of the so-called information visualization "mantra" for graphical user interfaces: overview, filter, detail, and context [167].One interface tab presents an overview of one image enhanced using the selected methods (Fig. 18); through the spatial juxtaposition of patterns, the resulting mosaic facilitates understanding of the characteristics of different enhancement methods.A second tab allows for detailed side-by-side comparison, with zooming, panning, and rotation being synchronized; the diptych view is intended for the interpretation of details in close coupling of vision and motor control.Rapid switching between images via the keyboard is a temporal image analysis modality that leverages attentional capture through flicker, introduced to help detect potential features of interest [192].The mosaic, diptych, and flicker image analysis techniques implement the paradigm of uncertainty explicitation at the whole scene level.These facilities were appreciated by the paleographers who beta-tested the software.Hierax has already been employed in a real-world setting, to enhance the 70 papyri of the University of Basel Library for a forthcoming online catalog.

Conclusions

148This work aimed to improve the legibility of ancient papyri for text editions.Novel enhancement methods were developed on the basis of color processing and visual illusions.A user experiment demonstrated that these methods outperform classical and more complex enhancement methods.Future work could examine whether the new methods could also improve reading by machines.

149The experiment also yielded unexpected findings.Critical for the software, user behavior was found to be heterogeneous in type, and not only variable in intensity.Thus, better performance might be achieved by personalization, contextualization, and complementarity, instead of searching for an overall optimum that may be spurious or counterproductive.Experiments with more users and images should be conducted to strengthen, nuance, and perhaps diversify the findings.

150The findings also lead to a paradigm of legibility enhancement for critical applications, in view of a future computer-aided critical vision system.

Fig. 1

151Fig. 1 Euclid, Elements, Book II, Proposition 5; papyrus of the 3rd-4th century CE from Oxyrhynchus, Egypt.-Credit: P.Oxy.I 29, University of Pennsylvania Museum of Archaeology and Anthropology, CC-BY-2.5.

"Fig. 2

152Fig. 2 Overview and detail of the original papyri images used in the evaluation.For higher resolution images please refer to the article's online Supplementary Material.Top: Notice the degradation of the physical documents, the differences in image quality, and the difficulty in comparing details within a limited display space.Bottom: Details scaled to equalize character height, demonstrating the difficulty associated with deciphering such documents.-Credits: (1) Columbia University Library, CC BY-NC 3.0; (2, 4, 5) University of Michigan Library, Public Domain Mark 1.0; (3) Yale University Library, Public Domain Mark 1.0; (6) Courtesy of The Egypt Exploration Society and the University of Oxford Imaging Papyri Project; (7, 8, 9) Istituto Papirologico Vitelli, by permission.

Fig. 3

153Fig. 3 Enhancement with (left to right) DStretch options rgb and lbk, and the novel methods vividness and lsv (detail of papyrus 4 of Fig. 2).

Fig. 5

154Fig. 5 Color values at the same location in an image with sRGB (left) and Adobe RGB (1998) (right) embedded color profiles (detail of Fig. 7).

Fig. 7

155Fig. 7 Color distribution of a papyrus image with native sRGB color profile (top), and following conversion to Adobe RGB (1998) (bottom).-Credits of papyrus image: Sorbonne Université, Institut de Papyrologie, P.Sorbonne Arabe 201 1500a.

Fig. 8

156Fig. 8 Legibility varies with foreground/background and background/ surround polarity.

Fig. 9

157Fig.9 Comparison of three enhancement methods described in this article.The vertical diagram axis represents the CIELAB lightness, L*, the horizontal axis the chroma, C*, and the diagonal the vividness, V*.The variation of color along these axes is illustrated in the bottom part of the figure.For each enhancement type, the diagrams show the location of four exemplary points in a vertical section of the CIELAB color space before and after enhancement.Thus, stretchlim displaces all points towards the extremities of the lightness axis; gamut expansion displaces the points along the chroma axis (except for those situated directly on the lightness axis); finally, vividness applies a rotation transform resulting in all points being collinear with the lightness axis.

Fig. 10

158Fig.10 The figure depicts an example of the color profile of a papyrus in the HSV color space (the "value" channel and the complement of the "saturation" channel), along with the object classes dominating specific bands of the spectrum (ink pixels, non-inked papyrus surface, and the imaging area surrounding the papyrus).

159Methodology -Conversion from RGB to CIELAB in the sRGB color space.Multiscale retinex with color restoration (MSRCR) [81, 140, 160] at three scales with Gaussian kernels of standard deviation 15, 80, 250, and a saturation of the 2.5% lowest and highest pixel values applied to the (b) RGB and (c) V* (vividness), a* (blueish-yellowish), and b* (greenish-reddish) dimensions.Output normalization of (c) to the [0, 100], [− 128, 127], and [− 128, 127] ranges, respectively, and back-conversion to RGB.(d) Blue negative applied after CIELAB retinex, with V*′ = 100 − V*, a*′ = − a*, b*′ = − b* .

Fig. 14

160Fig. 14 NW: Original image, with three faint annotations indicated by an index.NE: Enhancement by retinex in the RGB color space.SE: Retinex enhancement in the CIELAB color space.SW: Blue-shifted and negative of the SE image (detail of papyrus 8 in Fig. 2).

Algorithm 1 . 2 ▹

161Papyrus legibility enhancement ▹ input read RGB image values ▹ color gamut expansion (Section 4.2) convert color profile using ICC profiles • source color space: sRGB IEC 61966-2.1 • target color space: Adobe RGB (1998) • source render intent: perceptual • target render intent: perceptual ▹ use a perceptual color space for enhancement ( § 4.3) convert color space from RGB to CIELAB • source color space: sRGB IEC 61966-2.1 • whitepoint: D65 ▹ vividness enhancement ( § 4.5) replace lightness by vividness (Eq. 3) L*′ = (L* 2 + a* 2 + b* 2) −1/dynamic range increase ( § 4.3) stretch dynamic range of lightness to bounds (Eq. 1) L*′ = [L* − min(L*)] / {max[L* − min(L*)]} ▹ negative polarity ( § 4.4) reverse lightness polarity (Eq.2) L*′ = 100 − L* ▹ blue shift ( § 4.7) change sign of values in chromatic channels (Eq.8) a*′ = −a* and b*′ = −b* ▹ back-conversion to primary colors space convert color space from CIELAB to RGB • source color space: sRGB IEC 61966-2.1 • whitepoint: D65 ▹ manage out-of-gamut values clip values to the [0, 1] range I′ = min(0, max(1, I)) ▹ output save image in TIFF or JPEG format ▹ make color profile explicit embed ICC color profile in image file • color space: sRGB IEC 61966-2.1

Fig. 15

162Fig. 15 Example of legibility enhancement by cross-spectral colorization.(a) Papyrus imaged in visible light; (b) infrared image; (c) the infrared, colorized with the chromatic channels of the visible light image and enhanced with the gamut expansion and stretchlim methods; (d) vividness enhancement of the image (c); (e) negative of image (d); (f) MSRCR-RGB retinex of image (c); (g) negative blue-shift of image (f); (h) and the decorrelation stretch of the blue, red, and infrared bands.

2 )

163. The algorithm begins by iteratively removing the median values { m concatenating them lexicographically.For example, the ratings vector { 7, 9, 9, 11, 11 } is reordered by medians into { 9, 9, 11, 7, 11 }, and concatenated to generate the numerical value 9.09110711.The resulting scalars { v "majority values", are then sorted in descending order of magnitude to yield the candidate rankings { k ≻... ≻ v (k p

Fig. 16

164Fig.16 Spread of enhancement method rankings and ratings, measured with spatial flatness SF and Shannon entropy H.

Fig. 18

165Fig.18 The graphical user interface of the Hierax software for papyri legibility enhancement, which implements the methods described in this article.Method selection and parametrization (left); overview of all processed images (center); image comparison and interaction panel (right).

P

166columbia.apis.p367.f.0.600Credit of original papyrus reproduction: Columbia University Library, CC BY-NC 3. Inv.MSS.A 101.XIII Credit of original papyrus reproduction: University of Michigan Library, Public Domain Mark .Oxy.XXII 2309 Credit of original papyrus reproduction: Courtesy of The Egypt Exploration Society and the University of Oxford Im-

Table 1 .

167Ranking and rating of legibility enhancement methods.

Table 2 .

168Utility of enhancement methods.

Table 3 .

169Overall ranking of enhancement methods by utility ratings.

170A.

Table 5 .

171Agreement of ratings of enhancement methods, measured with Kendall's coefficient of concordance, W.

Table 4 .

172Intra-class ranking of enhancement methods by utility ratings (optimized aggregation by ROD method; ties in brackets).A. Within-user ranking (column-wise aggregation of ratings from Table 1; ties in brackets)

참고문헌 223건

  1. Coloresia: An Interactive Colour Perception Device for the Visually Impaired Intelligent systems reference library · Springer Nature · 2013 10.1007/978-3-642-35932-3_4
  2. Color in Computer Vision: Fundamentals and Applications 2012
  3. Ergonomic aspects of visual display terminals Displays · Elsevier BV · 1981 10.1016/0141-9382(81)90047-0
  4. Seeing Black and White 2006
  5. Handwriting of the twentieth century Choice Reviews Online · Association of College and Research Libraries · 2000 10.5860/choice.37-4273
  6. The Nineteenth-Century Press in the Digital Age Palgrave Macmillan UK eBooks · Palgrave Macmillan · 2012 10.1057/9780230365469
  7. MPEG-7 Audio and Beyond: Audio Content Indexing and Retrieval 2005
  8. The Oxford handbook of papyrology Choice Reviews Online · Association of College and Research Libraries · 2012 10.5860/choice.49-6046
  9. Understanding Color Management 2018 10.1002/9781119223702
  10. Automatic Autocorrelation and Spectral Analysis Springer eBooks · Springer Nature · 2006 10.1007/1-84628-329-9
  11. Statistical Methods for Ranking Data 2014 10.1007/978-1-4939-1471-5
  12. Algorithm Theoretical Basis Document for: Decorrelation Stretch 1999
  13. Ambiguity in Mind and Nature: Multistable Cognitive Phenomena 1995
  14. Engineering data compendium : human perception and performance 1988
  15. Text/Graphics Separation and Recognition in Raster-Scanned Color Cartographic Maps Lecture notes in computer science · Springer Science+Business Media · 2004 10.1007/978-3-540-25977-0_6
  16. Text extraction from colored book and journal covers International Journal on Document Analysis and Recognition (IJDAR) · Springer Science+Business Media · 2000 10.1007/pl00021523
  17. Statistical Methods for Ranking Data International Statistical Review · Wiley · 2015 10.1111/insr.12095_11
  18. Handbook of Image Quality: Characterization and Prediction 2002
  19. Contrast Polarity Effects in Low Vision Reading Springer eBooks · Springer Nature · 1987 10.1007/978-1-4612-4780-7_24
  20. Handbook of Experimental Economic Methodology Oxford University Press eBooks · Oxford University Press · 2015 10.1093/acprof:oso/9780195328325.001.0001
  21. Digital Restoration of Ancient Papyri arXiv (Cornell University) · Cornell University · 2009 10.48550/arxiv.0903.5045
  22. Interpretive Research Design: Concepts and Processes 2011
  23. The Library of the Villa dei Papiri at Herculaneum Library Review · Emerald Publishing Limited · 2006 10.1108/00242530610682245
  24. Digital Video Image Quality and Perceptual Coding CRC Press eBooks · Informa · 2010 10.1201/9781420027822
  25. Enhancement and Cleaning of Handwritten Data by Using Neural Networks Lecture notes in computer science · Springer Science+Business Media · 2005 10.1007/11492429_46
  26. Digital Restoration by Denoising and Binarization of Historical Manuscripts Images InTech eBooks · InTech · 2012 10.5772/36734
  27. Color Visualization System for Near-Infrared Multispectral Images Conference on Colour in Graphics Imaging and Vision · Society for Imaging Science and Technology · 2004 10.2352/cgiv.2004.2.1.art00087
  28. Who's #1?: the science of rating and ranking Choice Reviews Online · Association of College and Research Libraries · 2012 10.5860/choice.49-6935
  29. Image to Interpretation: An Intelligent System to Aid Historians in Reading the Vindolanda Texts 2006
  30. Color vision deficiencies Cambridge University Press eBooks · Cambridge University Press · 2015 10.1017/cbo9781107337930.011
  31. Data visualization: the end of the rainbow IEEE Spectrum · Institute of Electrical and Electronics Engineers · 1998 10.1109/6.736450
  32. Crowdsourcing subjective image quality evaluation 2011 10.1109/icip.2011.6116320
  33. Local Laplacian filters Communications of the ACM · Association for Computing Machinery · 2015 10.1145/2723694
  34. Image database TID2013: Peculiarities, results and perspectives Signal Processing Image Communication · Elsevier BV · 2014 10.1016/j.image.2014.10.009
  35. Bad Colour Maps Hide Big Features and Create False Anomalies ASEG Extended Abstracts · Taylor & Francis · 2015 10.1071/aseg2015ab107
  36. Who's #1? The science of rating and ranking Journal of Applied Statistics · Taylor & Francis · 2012 10.1080/02664763.2012.701375
  37. Color space transformations for analysis and enhancement of ancient degraded manuscripts Pattern Recognition and Image Analysis · Pleiades Publishing · 2010 10.1134/s105466181003017x
  38. Multispectral documentation and image processing analysis of the papyrus of tomb II at Daphne, Greece Journal of Archaeological Science · Elsevier BV · 2012 10.1016/j.jas.2012.09.013
  39. Color enhancement of highly correlated images. I. Decorrelation and HSI contrast stretches Remote Sensing of Environment · Elsevier BV · 1986 10.1016/0034-4257(86)90044-1
  40. Report from the AND 2009 working group on noisy text datasets International Journal on Document Analysis and Recognition (IJDAR) · Springer Science+Business Media · 2011 10.1007/s10032-011-0159-3
  41. Terahertz investigation of Egyptian artifacts 2010 10.1109/icimw.2010.5612354
  42. Enhancement and feature extraction for images of incised and ink texts Image and Vision Computing · Elsevier BV · 2004 10.1016/j.imavis.2003.11.007
  43. The examination and conservation of the Rosetta Stone at the British Museum Studies in Conservation · Taylor & Francis · 2000 10.1179/sic.2000.45.supplement-1.128
  44. Contrast Limited Adaptive Histogram Equalization Elsevier eBooks · Elsevier BV · 1994 10.1016/b978-0-12-336156-1.50061-6
  45. MPEG-based image enhancement for the visually impaired Optical Engineering · SPIE · 2004 10.1117/1.1723493
  46. Colour Blindness: Causes and Effects. Optometry and Vision Science · Lippincott Williams & Wilkins · 2002 10.1097/00006324-200208000-00007
  47. Quality assessment and restoration of typewritten document images International Journal on Document Analysis and Recognition (IJDAR) · Springer Science+Business Media · 1999 10.1007/s100320050039
  48. Fusion of Visible and Infrared Images using Empirical Mode Decomposition to Improve Face Recognition International Conference on Image Processing · 2006 10.1109/icip.2006.312860
  49. Contrast Sensitivity of the Human Eye and Its Effects on Image Quality SPIE eBooks · SPIE · 1999 10.1117/3.353254
  50. The advantage of positive text-background polarity is due to high display luminance Ergonomics · Taylor & Francis · 2009 10.1080/00140130802641635
  51. Revealing letters in rolled Herculaneum papyri by X-ray phase-contrast imaging Nature Communications · Nature Portfolio · 2015 10.1038/ncomms6895
  52. Irradiation, Border Location, and the Shifted-Chessboard Pattern Perception · SAGE Publishing · 2007 10.1068/p5646
  53. Revisiting Truth or Triviality: The External Validity of Research in the Psychological Laboratory SSRN Electronic Journal · Social Science Electronic Publishing · 2012
  54. Blue or Red? Exploring the Effect of Color on Cognitive Task Performances Science · American Association for the Advancement of Science · 2009 10.1126/science.1169144
  55. Visual enhancement of old documents with hyperspectral imaging Pattern Recognition · Elsevier BV · 2011 10.1016/j.patcog.2010.12.019
  56. Review Paper: The Helmholtz‐Kohlrausch effect Journal of the Society for Information Display · Wiley · 2011 10.1889/jsid19.10.658
  57. Gorillas in Our Midst: Sustained Inattentional Blindness for Dynamic Events Perception · SAGE Publishing · 1999 10.1068/p281059
  58. Consequences of erudite vernacular utilized irrespective of necessity: problems with using long words needlessly Applied Cognitive Psychology · Wiley · 2005 10.1002/acp.1178
  59. Extending CIELAB: Vividness, , depth, , and clarity, Color Research & Application · Wiley · 2013 10.1002/col.21833
  60. The dark side of CIELAB Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2011 10.1117/12.909960
  61. A perceptual approach to the fusion of visible and NIR images in the examination of ancient documents Journal of Cultural Heritage · Elsevier BV · 2014 10.1016/j.culher.2014.09.006
  62. An overview of night vision colorization techniques using multispectral images: From color fusion to color mapping International Conference on Audio, Language and Image Processing · 2012 10.1109/icalip.2012.6376600
  63. Medical image fusion: A survey of the state of the art Information Fusion · Elsevier BV · 2014 10.1016/j.inffus.2013.12.002
  64. Refinement of the RLAB color space Color Research & Application · Wiley · 1996 10.1002/(sici)1520-6378(199610)21:5<338::aid-col3>3.0.co;2-z
  65. Limitations of Image Enhancement for the Visually Impaired Optometry and Vision Science · Lippincott Williams & Wilkins · 1992 10.1097/00006324-199201000-00003
  66. The Retinex Theory of Color Vision Scientific American · Springer Nature · 1977 10.1038/scientificamerican1277-108
  67. Mathematical models in the social sciences 1972
  68. Frequency Domain Pseudo-color to Enhance Ultrasound Images Computer and Information Science · Canadian Center of Science and Education · 2010 10.5539/cis.v3n4p24
  69. Modern Image Quality Assessment Synthesis lectures on image, video, and multimedia processing · Morgan & Claypool Publishers · 2006 10.1007/978-3-031-02238-8
  70. Color gamut transform pairs 1978 10.1145/800248.807361
  71. Color appearance models Color Research & Application · Wiley · 1998 10.1002/(sici)1520-6378(199808)23:4<248::aid-col9>3.0.co;2-o
  72. Spatial filtered pseudocolor holographic imaging Journal of optics · Springer Science+Business Media · 1978 10.1088/0150-536x/9/5/001
  73. Signs of the Sine Illusion—Why We Need to Care Journal of Computational and Graphical Statistics · Taylor & Francis · 2014 10.1080/10618600.2014.951547
  74. IMAGE ENHANCEMENT FOR IMPAIRED VISION: THE CHALLENGE OF EVALUATION International Journal of Artificial Intelligence Tools · World Scientific · 2009 10.1142/s0218213009000214
  75. Multispectral imaging of the archimedes palimpsest 2004 10.1109/aipr.2003.1284258
  76. A decision support system for the reading of ancient documents Research Portal Denmark · Ministry of Higher Education and Science Denmark · 2011
  77. The Case of the Disappearing Ox 2010 10.1145/1753326.1753397
  78. Spatial and Spectral Based Segmentation of Text in Multispectral Images of Ancient Documents 2009 10.1109/icdar.2009.51
  79. Digital video colourmaps for checking the legibility of displays by dichromats Color Research & Application · Wiley · 1999 10.1002/(sici)1520-6378(199908)24:4<243::aid-col5>3.0.co;2-3
  80. Spectral Image Analysis and Visualisation of the Khirbet Qeiyafa Ostracon Lecture notes in computer science · Springer Science+Business Media · 2014 10.1007/978-3-319-07998-1_31
  81. Image enhancement by histogram transformation Computer Graphics and Image Processing · Elsevier BV · 1977 10.1016/s0146-664x(77)80011-7
  82. Detail Preserving Reproduction of Color Images for Monochromats and Dichromats IEEE Computer Graphics and Applications · Institute of Electrical and Electronics Engineers · 2005 10.1109/mcg.2005.54
  83. Independence of color and luminance edges in natural scenes Visual Neuroscience · Cambridge University Press · 2009 10.1017/s0952523808080796
  84. Image quality and readability Proceedings - International Conference on Image Processing · Institute of Electrical and Electronics Engineers · 2002 10.1109/icip.1995.538547
  85. Stevens's brightness law, contrast gain control, and edge integration in achromatic color perception: a unified model Journal of the Optical Society of America A · Optica Publishing Group · 2007 10.1364/josaa.24.002766
  86. Papyrological investigations: transferring perception and interpretation into the digital world Literary and Linguistic Computing · Oxford University Press · 2011 10.1093/llc/fqr010
  87. Interactive Visualization of Hyperspectral Images of Historical Documents IEEE Transactions on Visualization and Computer Graphics · Institute of Electrical and Electronics Engineers · 2010 10.1109/tvcg.2010.172
  88. Rank Correlation Methods. Biometrika · Oxford University Press · 1957 10.2307/2333282
  89. Combining Pattern Classifiers: Methods and Algorithms Technometrics · Taylor & Francis · 2005 10.1198/tech.2005.s320
  90. A Physiologically-based Model for Simulation of Color Vision Deficiency IEEE Transactions on Visualization and Computer Graphics · Institute of Electrical and Electronics Engineers · 2009 10.1109/tvcg.2009.113
  91. Predicting the lightness of chromatic object colors using CIELAB Color Research & Application · Wiley · 1991 10.1002/col.5080160608
  92. Now You See It, Now You Don’t: Visual Illusions in Radiology Radiographics · Radiological Society of North America · 2013 10.1148/rg.337125204
  93. Opaque document imaging: building images of inaccessible texts 2005 10.1109/iccv.2005.182
  94. The eyes have it: a task by data type taxonomy for information visualizations 2002 10.1109/vl.1996.545307
  95. Overcoming intuition: Metacognitive difficulty activates analytic reasoning. Journal of Experimental Psychology General · American Psychological Association · 2007 10.1037/0096-3445.136.4.569
  96. Collaborative Personalization of Image Enhancement International Journal of Computer Vision · Springer Science+Business Media · 2013 10.1007/s11263-013-0675-3
  97. Flow: the psychology of optimal experience Choice Reviews Online · Association of College and Research Libraries · 1990 10.5860/choice.28-0597
  98. Improving Weapon Detection in Single Energy X-Ray Images Through Pseudocoloring IEEE Transactions on Systems Man and Cybernetics Part C (Applications and Reviews) · Institute of Electrical and Electronics Engineers · 2006 10.1109/tsmcc.2005.855523
  99. Using colour information to understand censorship cards of film archives International Journal on Document Analysis and Recognition (IJDAR) · Springer Science+Business Media · 2006 10.1007/s10032-006-0021-1
  100. Interpretive research design: concepts and processes International Journal of Social Research Methodology · Taylor & Francis · 2013 10.1080/13645579.2013.802464
  101. Massive Online Crowdsourced Study of Subjective and Objective Picture Quality IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2015 10.1109/tip.2015.2500021
  102. A multiscale retinex for bridging the gap between color images and the human observation of scenes IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 1997 10.1109/83.597272
  103. Reduced-reference image quality assessment using a wavelet-domain natural image statistic model Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2005 10.1117/12.597306
  104. Colour text segmentation in web images based on human perception Image and Vision Computing · Elsevier BV · 2006 10.1016/j.imavis.2006.05.003
  105. Best Practices for QoE Crowdtesting: QoE Assessment With Crowdsourcing IEEE Transactions on Multimedia · Institute of Electrical and Electronics Engineers · 2014 10.1109/tmm.2013.2291663
  106. Colorful brains: 14years of display practice in functional neuroimaging NeuroImage · Elsevier BV · 2013 10.1016/j.neuroimage.2013.01.068
  107. Gradient-domain degradations for improving historical documents images layout analysis 2015 10.1109/icdar.2015.7333913
  108. The contrast sensitivity of human colour vision to red‐green and blue‐yellow chromatic gratings. The Journal of Physiology · Wiley · 1985 10.1113/jphysiol.1985.sp015591
  109. Image enhancement for the visually impaired: the effects of enhancement on face recognition Journal of the Optical Society of America A · Optica Publishing Group · 1994 10.1364/josaa.11.001929
  110. &lt;title&gt;Automatic removal of crossed-out handwritten text and the effect on writer verification and identification&lt;/title&gt; Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2007 10.1117/12.766466
  111. A decision support system for the reading of ancient documents 2011
  112. Overview of Grayscale Image Colorization Techniques Springer eBooks · Springer Nature · 2015 10.1007/978-3-319-09363-5_12
  113. Virtual unrolling using X-ray computed tomography 2015 10.1109/eusipco.2015.7362908
  114. Color gamut transform pairs ACM SIGGRAPH Computer Graphics · ACM SIGGRAPH · 1978 10.1145/965139.807361
  115. Individual Colorimetric Observer Model PLoS ONE · Public Library of Science · 2016 10.1371/journal.pone.0145671
  116. Image to Interpretation Oxford University Press eBooks · Oxford University Press · 2006 10.1093/acprof:oso/9780199204557.001.0001
  117. Color and hyperspectral image segmentation for historical documents 2015 Digital Heritage · 2015 10.1109/digitalheritage.2015.7413872
  118. Writing Materials in the Ancient World Oxford University Press eBooks · Oxford University Press · 2011 10.1093/oxfordhb/9780199843695.013.0001
  119. Editing A Papyrus 2011 10.1093/oxfordhb/9780199843695.013.0009
  120. The Future of Papyrology Oxford University Press eBooks · Oxford University Press · 2011 10.1093/oxfordhb/9780199843695.013.0027
  121. A Guideline of Selecting and Reporting Intraclass Correlation Coefficients for Reliability Research Journal of Chiropractic Medicine · Elsevier BV · 2016 10.1016/j.jcm.2016.02.012
  122. Unsupervised Denoising via Wiener Entropy Masking in the STFT Domain 2014 10.1109/milcom.2014.84
  123. Handbook of Color Psychology Cambridge University Press eBooks · Cambridge University Press · 2015 10.1017/cbo9781107337930
  124. A new approach to image enhancement for the visually impaired Electronic Imaging · Society for Imaging Science & Technology · 2016 10.2352/issn.2470-1173.2016.20.color-325
  125. Content Restoration of Degraded Termite Bitten Document Images International Journal of Engineering Research and Applications · IOSR Journals · 2014
  126. Facial Composites: Forensic Utility and Psychological Research 2007 10.4324/9780203936368-8
  127. Ambiguity in Mind and Nature Springer series in synergetics · Springer Nature · 1995 10.1007/978-3-642-78411-8
  128. Practical Applications of Perceptual Research SPIE eBooks · SPIE · 2010 10.1117/3.832716.ch20
  129. Visual Search in Medical Images SPIE eBooks · SPIE · 2010 10.1117/3.832716.ch18
  130. Color Appearance Models 2013 10.1002/9781118653128
  131. A survey on fusion of multispectral and panchromatic images for high spatial and spectral information 2016 10.1109/wispnet.2016.7566115
  132. Conservative preprocessing of document images International Journal on Document Analysis and Recognition (IJDAR) · Springer Science+Business Media · 2016 10.1007/s10032-016-0273-3
  133. Color Visualization System for Near-Infrared Multispectral Images. International Conference on Computer Graphics, Imaging and Visualisation · 2004
  134. 31. Actes du Ve Congrès international de Papyrologie.Oxford 30 août-3 septembre 1937, 1938 Revue des Études Grecques · Association of Greek Studies · 1939
  135. Senior Programmers: Characteristics of Elderly Users from Stack Overflow Lecture notes in computer science · Springer Science+Business Media · 2016 10.1007/978-3-319-47874-6_7
  136. Retinex at 50: color theory and spatial algorithms, a review Journal of Electronic Imaging · SPIE · 2017 10.1117/1.jei.26.3.031204
  137. New cognitive neurosciences 2000
  138. Seeking meaning: A process approach to library and information services Library & Information Science Research · Elsevier BV · 1994 10.1016/0740-8188(94)90060-4
  139. Bio-inspired display of polarization information using selected visual cues Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2003 10.1117/12.506084
  140. Mean-Shift segmentation and PDE-based nonlinear diffusion: toward a common variational framework for foreground/background document image segmentation International Journal on Document Analysis and Recognition (IJDAR) · Springer Science+Business Media · 2017 10.1007/s10032-017-0285-7
  141. Post-processing coding artefacts for JPEG documents International Journal on Document Analysis and Recognition (IJDAR) · Springer Science+Business Media · 2017 10.1007/s10032-017-0288-4
  142. Lightness computation by the human visual system Journal of Electronic Imaging · SPIE · 2017 10.1117/1.jei.26.3.031209
  143. Thinking, Fast and Slow 2011
  144. Assessing Binarization Techniques for Document Images 2017 10.1145/3103010.3103021
  145. Now you see it — now you don't Nature · Nature Portfolio · 2001 10.1038/35065161
  146. Neuronal mechanisms underlying differences in spatial resolution between darks and lights in human vision Journal of Vision · Association for Research in Vision and Ophthalmology · 2017 10.1167/17.14.5
  147. Effects of Experiencing Visual Illusions and Susceptibility to Biases in One’s Social Judgments SAGE Open · SAGE Publishing · 2017 10.1177/2158244017745937
  148. ICDAR 2019 Competition on Document Image Binarization (DIBCO 2019) 2019 10.1109/icdar.2019.00249
  149. Text and non-text separation in offline document images: a survey International Journal on Document Analysis and Recognition (IJDAR) · Springer Science+Business Media · 2018 10.1007/s10032-018-0296-z
  150. An assessment of multimodal imaging of subsurface text in mummy cartonnage using surrogate papyrus phantoms Heritage Science · Springer Science+Business Media · 2018 10.1186/s40494-018-0175-4
  151. Document Enhancement Using Visibility Detection 2018 10.1109/cvpr.2018.00252
  152. Rank Correlation Methods. Journal of the Royal Statistical Society Series D (The Statistician) · Wiley · 1971 10.2307/2986801
  153. "Quality" vs. "Readability" in Document Images: Statistical Analysis of Human Perception 2018 10.1109/das.2018.42
  154. On the Applications of Robust PCA in Image and Video Processing Proceedings of the IEEE · Institute of Electrical and Electronics Engineers · 2018 10.1109/jproc.2018.2853589
  155. Image and Video Noise: An Industry Perspective Advances in computer vision and pattern recognition · Springer International Publishing · 2018 10.1007/978-3-319-96029-6_8
  156. Image Denoising: Past, Present, and Future 2018 10.1201/b12693-5
  157. Applications, promises, and pitfalls of deep learning for fluorescence image reconstruction Nature Methods · Nature Portfolio · 2019 10.1038/s41592-019-0458-z
  158. DeepOtsu: Document enhancement and binarization using iterative deep learning Pattern Recognition · Elsevier BV · 2019 10.1016/j.patcog.2019.01.025
  159. The Oxford Compendium of Visual Illusions Reference Reviews · Emerald Publishing Limited · 2018 10.1108/rr-11-2017-0214
  160. Conflict Oxford University Press eBooks · Oxford University Press · 2019 10.1093/oso/9780190623449.001.0001
  161. Revealing the Material World of Ancient Writing: Digital Techniques and Theoretical Considerations BRILL eBooks · Brill · 2018 10.1163/9789004375277_010
  162. High Performance Software in Multidimensional Reduction Methods for Image Processing with Application to Ancient Manuscripts 2018
  163. Colour Blindness : Causes and Effects 2002
  164. From concept to context : approaches to Asian and Islamic calligraphy 1986 10.5479/sil.300438.39088016698623
  165. Color illusion as a spatial binding problem Current Opinion in Behavioral Sciences · Elsevier BV · 2019 10.1016/j.cobeha.2019.08.004
  166. Ancient Greek text concealed on the back of unrolled papyrus revealed through shortwave-infrared hyperspectral imaging Science Advances · American Association for the Advancement of Science · 2019 10.1126/sciadv.aav8936
  167. Color improves edge classification in human vision PLoS Computational Biology · Public Library of Science · 2019 10.1371/journal.pcbi.1007398
  168. The Handbook of Medical Image Perception and Techniques Cambridge University Press eBooks · Cambridge University Press · 2018 10.1017/9781108163781
  169. Adversarial Autoencoders for Denoising Digitized Historical Documents: The Use Case of Incunabula 2019 10.1109/icdarw.2019.50112
  170. A Character Attention Generative Adversarial Network for Degraded Historical Document Restoration 2019 10.1109/icdar.2019.00074
  171. Machine Learning for Cultural Heritage: A Survey Pattern Recognition Letters · Elsevier BV · 2020 10.1016/j.patrec.2020.02.017
  172. Hyperkernel-based intuitionistic fuzzy c-means for denoising color archival document images International Journal on Document Analysis and Recognition (IJDAR) · Springer Science+Business Media · 2020 10.1007/s10032-020-00352-2
  173. The ‘Real-World Approach’ and Its Problems: A Critique of the Term Ecological Validity Frontiers in Psychology · Frontiers Media · 2020 10.3389/fpsyg.2020.00721
  174. Image enhancement with lightness correction and image sharpening based on characteristics of vision for elderly persons Optical Review · Springer Science+Business Media · 2020 10.1007/s10043-020-00602-y
  175. Deep learning on image denoising: An overview Neural Networks · Elsevier BV · 2020 10.1016/j.neunet.2020.07.025
  176. PieNet: Personalized Image Enhancement Network Lecture notes in computer science · Springer Science+Business Media · 2020 10.1007/978-3-030-58577-8_23
  177. Deep Learning for Historical Document Analysis and Recognition—A Survey Journal of Imaging · Multidisciplinary Digital Publishing Institute · 2020 10.3390/jimaging6100110
  178. Individualised Halo-Free Gradient-Domain Colour Image Daltonisation Journal of Imaging · Multidisciplinary Digital Publishing Institute · 2020 10.3390/jimaging6110116
  179. Massive Online Crowdsourced Study of Subjective and Objective Picture Quality IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2015 10.1109/tip.2015.2500021
  180. Individualised Halo-Free Gradient-Domain Colour Image Daltonisation 2020 10.20944/preprints202010.0167.v1
  181. Document Image Restoration and Analysis as Separation of Mixtures of Pat- terns: From Linear to Nonlinear Models 2018 10.1201/b12693-14
  182. Revisiting Truth or Triviality Perspectives on Psychological Science · SAGE Publishing · 2012 10.1177/1745691611432343
  183. Ecological Validity and “Ecological Validity” Perspectives on Psychological Science · SAGE Publishing · 2021 10.1177/1745691620966791
  184. Subjective Assessments of Legibility in Ancient Manuscript Images - The SALAMI Dataset Lecture notes in computer science · Springer Science+Business Media · 2021 10.1007/978-3-030-68787-8_5
  185. Color Gamut Mapping 2008 10.1002/9780470758922
  186. Majority Judgment: Measuring Ranking and Electing HAL (Le Centre pour la Communication Scientifique Directe) · Le Centre pour la Communication Scientifique Directe · 2010
  187. Individual differences in color vision Cambridge University Press eBooks · Cambridge University Press · 2015 10.1017/cbo9781107337930.010
  188. Personalized Image Recoloring for Color Vision Deficiency Compensation IEEE Transactions on Multimedia · Institute of Electrical and Electronics Engineers · 2021 10.1109/tmm.2021.3070108
  189. Color Vision, Deficiencies Birkhäuser Boston eBooks · Birkhäuser Boston · 1988 10.1007/978-1-4899-6647-6_8
  190. Improving the legibility of visual display units through contrast reversal. 1980
  191. Personalizing image enhancement for critical visual tasks: improved legibility of papyri using color processing and visual illusions International Journal on Document Analysis and Recognition (IJDAR) · Springer Science+Business Media · 2021 10.1007/s10032-021-00386-0
  192. Interpretive Research Design 2013 10.4324/9780203854907
  193. Islamic Calligraphy Edinburgh University Press eBooks · Edinburgh University Press · 2006 10.1515/9781474464475
  194. Handbook of Medical Imaging Radiology · Radiological Society of North America · 2001 10.1148/radiology.220.2.r01au28372
  195. Multiscale Retinex Image Processing On Line · Image Processing On Line · 2014 10.5201/ipol.2014.107
  196. Color Management for Photographers Routledge eBooks · Informa · 2012 10.4324/9780080456393
  197. Seeing Black and White 2006 10.1093/acprof:oso/9780195187168.001.0001
  198. Color in Computer Vision 2012 10.1002/9781118350089
  199. Who's #1? 2012 10.1515/9781400841677
  200. Handbook of Image Quality CRC Press eBooks · Informa · 2002 10.1201/9780203910825
  201. Digital Image Processing Elsevier eBooks · Elsevier BV · 2007 10.1016/b978-0-240-80740-9.50068-4
  202. Applications, Promises, and Pitfalls of Deep Learning for Fluorescence Image Reconstruction Preprints.org · 2019 10.20944/preprints201812.0137.v2
  203. Refinement of the RLAB color space Color Research & Application · Wiley · 1996 10.1002/(sici)1520-6378(199610)21:5<338::aid-col3>3.3.co;2-y
  204. ICDAR2017 Competition on Document Image Binarization (DIBCO 2017) 2017 10.1109/icdar.2017.228
  205. Digital video colourmaps for checking the legibility of displays by dichromats Color Research & Application · Wiley · 1999 10.1002/(sici)1520-6378(199908)24:4<243::aid-col5>3.3.co;2-v
  206. Blue or red? Exploring the effect of color on cognitive task performances PsycEXTRA Dataset · 2009 10.1037/e621092012-121
  207. Overcoming Intuition: Metacognitive Difficulty Activates Analytic Reasoning PsycEXTRA Dataset · 2006 10.1037/e683342011-034
  208. Handbook of experimental economic methodology Choice Reviews Online · Association of College and Research Libraries · 2015 10.5860/choice.191373
  209. Combining Pattern Classifiers 2014 10.1002/9781118914564
  210. The Oxford Compendium of Visual Illusions Oxford University Press eBooks · Oxford University Press · 2017 10.1093/acprof:oso/9780199794607.001.0001
  211. Gorillas in our midst: sustained inattentional blindness for dynamic events Perception · SAGE Publishing · 1999 10.1068/p2952
  212. Color enhancement of highly correlated images. I. Decorrelation and HSI contrast stretches Remote Sensing of Environment · Elsevier BV · 1987 10.1016/0034-4257(87)90021-6
  213. Photography of Papyri and Ostraca De Gruyter eBooks · De Gruyter · 2020 10.1515/9783110712902-004
  214. The Eyes Have It: A Task by Data Type Taxonomy for Information Visualizations Elsevier eBooks · Elsevier BV · 2003 10.1016/b978-155860915-0/50046-9
  215. Deleted Work 1955
  216. Flow: The Psychology of Optimal Experience Design Issues · The MIT Press · 1991 10.2307/1511458
  217. (제목 없음) UWA Profiles and Research Repository (University of Western Australia) · The University of Western Australia
  218. Rank Correlation Methods Econometrica · Wiley · 1957 10.2307/1907752
  219. Color Appearance Models Journal of Electronic Imaging · SPIE · 2014 10.1117/1.jei.23.2.029901
  220. Color Vision Deficiencies Handbook of Visual Display Technology · 2016 10.1007/978-3-319-14346-0_16
  221. Handwriting of the Twentieth Century Intellect Books · 2007 10.2307/j.ctv36xvj6r
  222. Document Image Binarization SpringerBriefs in computer science · Springer Nature · 2023 10.1007/978-981-99-4277-0_2
  223. Handbook of color psychology 2015