<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Identifying Training Data "Fingerprints" Using Border Enhancing Image Processing Methods and Their Ensemble</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Koki Inoue</string-name>
          <email>inoue.koki.we@tut.jp</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Tetsuya Asakawa</string-name>
          <email>asakawa.tetsuya.um@tut.jp</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Kazuki Shimizu</string-name>
          <email>shimizu@heart-center.or.jp</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Kei Nomura</string-name>
          <email>kein312@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Masaki Aono</string-name>
          <email>masaki.aono.ss@tut.jp</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Toyohashi Heart Center</institution>
          ,
          <addr-line>21-1Gobutori, Ohyamacho, Toyohashi, Aichi, 441-8071</addr-line>
          ,
          <country country="JP">Japan</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Toyohashi University of Technology</institution>
          ,
          <addr-line>1-1 Hibarigaoka, Tempaku-cho, Toyohashi, Aichi, 441-8580</addr-line>
          ,
          <country country="JP">Japan</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>This paper describes our approach to the Identify training data "fingerprints" task of ImageCLEFmedical GANs 2024. In Task 1, the goal is to detect "fingerprints" within the synthetic biomedical image data to determine which real images were used in training to produce the generated images. The proposed method uses image processing as a preprocessing step, and a pre-trained model, Resnet-152, is used for training. We also integrated the predictions of each model. As a result, the model with histogram equalization was able to outperform the baseline model trained without preprocessing by 66.6%. The model with prediction integration achieved 63.1%.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Image Processing</kwd>
        <kwd>Integrated the Predictions</kwd>
        <kwd>Histogram Equalization</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
    </sec>
    <sec id="sec-2">
      <title>2. ImageCLEF 2024 Dataset</title>
      <p>
        This section describes the dataset for the Identify training data "fingerprints" task of ImageCLEFmedical
GANs 2024 [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. This task uses two generative models. The dataset contains images used to train each
model, images not used for training, and images generated by the models.
      </p>
      <sec id="sec-2-1">
        <title>2.1. Development Dataset</title>
        <p>The first generative model consists of 200 images annotated as used/not used for training image
generation and 10k generative images generated by model 1. The second generative model consists
of 6k images annotated as used/not used for training image generation, and 10k generative images
generated by model 2.</p>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Test Dataset</title>
        <p>The test dataset contains two CSV files and two folders, and does not specify which set of images was
used to train the generative model. The ratio of generated to real images is not identical. The first
folder contains 7200 generated images and 4000 real images. The second folder contains 5000 generated
images and 4000 real images.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Proposed Method</title>
      <p>
        In this section, we describe our approach to the task of identifying the training data "fingerprints" of
ImageCLEFmed GANs 2024 [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. We have observed that the color boundaries of the generated images
are often unclear. Therefore, we propose a method that captures the boundary sharpness using a set of
OpenCV [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] image processing functions as preprocessing for both training and prediction. We also
propose a method to integrate the prediction results of each training model into a single result. The
image processing methods used are shown below.
      </p>
      <p>• Binarization
• Histogram Equalization
• Laplacian Process
• Contrast Adjustment</p>
      <p>We also propose a method to integrate the predictions of each training model into a single prediction.
A total of five models are used: one model trained without image processing and four models trained
with the image processing described above. The integration procedure is described below.
• Take a majority vote of the five models’ forecasts and make an integrated forecast.
• If the predictions of all five models are not in agreement, a negative result is assumed.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Preprocessing by Image Processing</title>
      <p>This section describes the image processing preprocessing performed on the development and test
datasets.</p>
      <sec id="sec-4-1">
        <title>4.1. Binarization</title>
        <p>
          Binarization was performed in preprocessing using OpenCV [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]. The image was loaded as grayscale,
and Otsu binarization [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ] was performed. It uses the threshold that maximizes the separation between
classes.
        </p>
      </sec>
      <sec id="sec-4-2">
        <title>4.2. Histogram Equalization</title>
        <p>
          We describe the preprocessing histogram equalization performed using OpenCV [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]. The images were
loaded as grayscale and subjected to histogram equalization. This is a process that transforms the
density so that the histogram of pixel values is uniform throughout.
        </p>
      </sec>
      <sec id="sec-4-3">
        <title>4.3. Laplacian Process</title>
        <p>
          Laplacian processing was performed using OpenCV [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]. The images were loaded as grayscale and
processed with a Laplacian filter. It detects edges where the diference in pixel values changes significantly.
        </p>
      </sec>
      <sec id="sec-4-4">
        <title>4.4. Contrast Adjustment</title>
        <p>
          Contrast adjustment was performed in preprocessing using OpenCV [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]. The images were loaded as
grayscale images and the contrast was adjusted. It was adjusted with  =1.5 and  =0. v′ is the output
pixel value and v is the input pixel value.
        </p>
        <p>v′ =  × v + 
(1)</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Train</title>
    </sec>
    <sec id="sec-6">
      <title>6. Prediction</title>
      <p>
        In this section, we describe the training of the model. A pre-trained model from Resnet-152[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] was
used for training. As training data, we used 3100 images each from generated_1 and generated_2 in
the development dataset, for a total of 6200 images as generated, and all images from not_used_1,
used_1, not_used_2, and used_2 as real. A total of 6200 images were considered REAL. In addition to
preprocessing by image processing, random horizontal flipping was applied to the training images.
In this section, we describe the prediction using the model described in the previous section and the
integration of the prediction results. Test dataset preprocesses the models for prediction by image
processing according to the model used. A total of five models are used for the prediction, one trained
without image processing and four trained with diferent image processing methods.
      </p>
      <sec id="sec-6-1">
        <title>6.1. Model Predictions</title>
        <p>The prediction for each model is described in the following section. The detailed flow is shown in Figure
1. For the prediction of a trained model without image processing, no image processing is applied to
test dataset. For the trained model with image processing, the same image processing was applied to
test dataset to make predictions.</p>
      </sec>
      <sec id="sec-6-2">
        <title>6.2. Integration of Prediction</title>
        <p>We describe the integration of the predictions, using two methods: one with no image processing on
test dataset, and the other with four diferent image processing methods. For the integration of the
predictions, we used majority voting and perfect agreement. The integration flow is shown in Figure 2.
For perfect agreement, the results were accepted only when all the results predicted by the five models
were in agreement, and rejected when they were not.</p>
      </sec>
    </sec>
    <sec id="sec-7">
      <title>7. Submission Results</title>
      <p>In this section we describe the results of our team’s submissions. The submissions included predictions
for each of the five models (Run ID: 891-896) and the integration of the predictions (Run ID: 301, 890).
The prediction for the model without added preprocessing (Run ID: 896) was 66.3%. The highest score
for the prediction using the model with histogram equalization (Run ID: 892) was 66.6%. No score was
returned for majority voting (Run ID: 301), one of the proposed methods. The reason for not returning a
score is believed to be that it produced the same prediction result for all test data. For perfect agreement
(Run ID: 890) the score was 63.1%.</p>
    </sec>
    <sec id="sec-8">
      <title>8. Discussion</title>
      <p>In this section, we describe the submitted results. The model with histogram equalization and laplacian
processing outperformed the baseline model with no preprocessing (Run ID: 896). Other models with
additional preprocessing underperformed the baseline. This suggests that histogram equalization is an
efective image processing method for detecting "fingerprints" within the synthetic biomedical image
data to determine which real images were used in training to produce the generated images. We were
not able to exceed the baseline for perfect agreement in predictive integration. One possible reason
for this is that histogram equalization was efective, but other image processing methods were not. It
is also possible that the acceptance method of rejecting all predictions if they did not match resulted
in the rejection of accurate predictions. No results were returned for majority voting for prediction
integration. A possible reason for this could be that the prediction was not accepted because it was
used for all images.</p>
    </sec>
    <sec id="sec-9">
      <title>9. Conclusion</title>
      <p>
        This paper describes an approach to the identify training data "fingerprints" task of ImageCLEFmedical
GANs 2024[
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. We applied image processing as a preprocessing step, and attempted training and
prediction. We also made predictions for each model, and attempted to integrate the predictions
using majority voting and perfect agreement methods. The results showed that only the models with
histogram equalization and laplacian processing were able to exceed the 66.3% of the models without
image processing that were set as the baseline. Both predictions integration failed to exceed the baseline.
      </p>
      <p>
        This paper describes an approach to the task of identifying training data "fingerprints" of
ImageCLEFmedical GANs 2024 [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. We applied image processing as a preprocessing step and attempted
training and prediction. We also made predictions for each model and attempted to integrate the
predictions using majority voting and perfect agreement methods. The results showed that only the
models with histogram equalization and laplacian processing were able to exceed the 66.3% of the
models without image processing, which was set as the baseline. Both prediction integrations failed to
outperform the baseline.
10. Acknowledgments
A part of this research was carried out with the support of the Grant for Toyohashi Heart Center
Smart Hospital Joint Research Course and the Grant-in-Aid for Scientific Research (C) (issue numbers
22K12149 and 22K12040).
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>B.</given-names>
            <surname>Ionescu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Müller</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Drăgulinescu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Rückert</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. Ben</given-names>
            <surname>Abacha</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Garcıa Seco de Herrera</surname>
          </string-name>
          , L. Bloch,
          <string-name>
            <given-names>R.</given-names>
            <surname>Brüngel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Idrissi-Yaghir</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Schäfer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. S.</given-names>
            <surname>Schmidt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T. M.</given-names>
            <surname>Pakull</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Damm</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Bracke</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. M.</given-names>
            <surname>Friedrich</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Andrei</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Prokopchuk</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Karpenka</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Radzhabov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Kovalev</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Macaire</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Schwab</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Lecouteux</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Esperança-Rodier</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Yim</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Fu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Sun</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Yetisgen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Xia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. A.</given-names>
            <surname>Hicks</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. A.</given-names>
            <surname>Riegler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Thambawita</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Storås</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Halvorsen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Heinrich</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Kiesel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Potthast</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Stein</surname>
          </string-name>
          , Overview of ImageCLEF 2024:
          <article-title>Multimedia retrieval in medical applications, in: Experimental IR Meets Multilinguality</article-title>
          , Multimodality, and
          <string-name>
            <surname>Interaction</surname>
          </string-name>
          ,
          <source>Proceedings of the 15th International Conference of the CLEF Association (CLEF</source>
          <year>2024</year>
          ), Springer Lecture Notes in Computer Science LNCS, Grenoble, France,
          <year>2024</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>A.</given-names>
            <surname>Andrei</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Radzhabov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Karpenka</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Prokopchuk</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Kovalev</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Ionescu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Müller</surname>
          </string-name>
          ,
          <string-name>
            <surname>Overview of 2024 ImageCLEFmedical GANs Task - Investigating Generative</surname>
          </string-name>
          Models'
          <article-title>Impact on Biomedical Synthetic Images</article-title>
          , in: CLEF2024 Working Notes, CEUR Workshop Proceedings, CEUR-WS.org, Grenoble, France,
          <year>2024</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>G.</given-names>
            <surname>Bradski</surname>
          </string-name>
          , The OpenCV Library, Dr.
          <source>Dobb's Journal of Software Tools</source>
          (
          <year>2000</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>N.</given-names>
            <surname>Otsu</surname>
          </string-name>
          ,
          <article-title>A threshold selection method from gray-level histograms</article-title>
          ,
          <source>IEEE Transactions on Systems, Man, and Cybernetics</source>
          <volume>9</volume>
          (
          <year>1979</year>
          )
          <fpage>62</fpage>
          -
          <lpage>66</lpage>
          . doi:
          <volume>10</volume>
          .1109/TSMC.
          <year>1979</year>
          .
          <volume>4310076</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>K.</given-names>
            <surname>He</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , S. Ren,
          <string-name>
            <given-names>J.</given-names>
            <surname>Sun</surname>
          </string-name>
          ,
          <article-title>Deep Residual Learning for Image Recognition</article-title>
          ,
          <source>in: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR)</source>
          ,
          <year>2016</year>
          , pp.
          <fpage>770</fpage>
          -
          <lpage>778</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>