nabinpakka07 commited on
Commit
7109742
·
verified ·
1 Parent(s): 393b575

Updated Readme

Browse files
Files changed (1) hide show
  1. README.md +107 -0
README.md CHANGED
@@ -1,3 +1,110 @@
1
  ---
2
  license: mit
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+
4
+ pretty_name: Foliagen
5
+ tags:
6
+ - agriculture
7
+ - plant-disease
8
+ - image-generation
9
+ - image-classification
10
+ - synthetic-data
11
+ - soybean
12
+ - tomato
13
  ---
14
+
15
+ # Foliagen
16
+
17
+ Foliagen is a framework for creating realistic foliage images from high-resolution images of individual leaves. The generated dataset is intended to support research in foliar disease classification.
18
+ The corresponding paper has been published in IEEE Access. [Foliagen](https://ieeexplore.ieee.org/abstract/document/11666865)
19
+
20
+ ## Features
21
+
22
+ - Generates foliage images from individual leaf images
23
+ - Supports healthy and diseased soybean leaves
24
+ - Places leaves on field-background images to improve visual realism
25
+ - Provides configurable foliage and plant-generation settings
26
+ - Includes classifier code for reproducing the experiments reported in the associated paper
27
+
28
+
29
+ ## Input Data
30
+
31
+ ### Individual leaf images
32
+
33
+ Individual leaf images are the primary inputs to the foliage generator. Each image must have a transparent background.
34
+
35
+ The current soybean configuration supports the following categories:
36
+
37
+ - Frogeye leaf spot
38
+ - Bacterial blight
39
+ - Rust
40
+ - Cercospora leaf blight
41
+ - Downy mildew
42
+ - Mosaic virus
43
+ - Potassium deficiency
44
+ - Sudden death syndrome
45
+ - Target spot
46
+ - Healthy
47
+
48
+ ### Background images
49
+
50
+ Background images are used to emulate the field environment in which plants grow. Natural field backgrounds are recommended because plain backgrounds generally produce less realistic foliage images.
51
+
52
+ The background images used in the original experiments were obtained from [Freepik](https://www.freepik.com/). Users are responsible for ensuring that their selected images comply with the applicable licenses and terms of use.
53
+
54
+ ## Configuration
55
+
56
+ Generation settings are specified in a plant-specific JSON configuration file. An example configuration is shown below:
57
+
58
+ ```json
59
+ {
60
+ "num_leaves": 35,
61
+ "diseases": "frogeye, bacterial_blight, rust, cercospora_leaf_blight, downy_mildew, mosaic_virus, potassium_deficiency, sudden_death_syndrome, target_spot, healthy",
62
+ "foliage_size": "(1024, 1500)",
63
+ "single_plant_size": 512,
64
+ "num_plants": 12,
65
+ "disease_rate": 5,
66
+ "background_image_path": "path_to_background_images",
67
+ "input_path": "path_to_input_directory",
68
+ "output_path": "path_to_output_directory",
69
+ "type": "soybean"
70
+ }
71
+ ```
72
+
73
+ ### Configuration fields
74
+
75
+ | Field | Description |
76
+ | --- | --- |
77
+ | `num_leaves` | Number of leaves used to construct a plant or foliage sample |
78
+ | `diseases` | Comma-separated list of supported disease and health categories |
79
+ | `foliage_size` | Dimensions of the generated foliage image |
80
+ | `single_plant_size` | Size of each generated plant instance |
81
+ | `num_plants` | Number of plants placed in a foliage image |
82
+ | `disease_rate` | Disease rate |
83
+ | `background_image_path` | Directory containing background images |
84
+ | `input_path` | Directory containing transparent individual-leaf images |
85
+ | `output_path` | Directory in which generated images will be saved |
86
+ | `type` | Plant type; currently, only `soybean` is supported |
87
+
88
+
89
+
90
+ ## Intended Use
91
+
92
+ This framework and its generated data are intended for research and educational applications, particularly the development and evaluation of foliar disease classification methods. Performance measured using synthetic images should also be validated on real-world field data before deployment.
93
+
94
+ ## Citation
95
+
96
+ If you use this framework or its generated dataset, please cite the associated paper:
97
+
98
+ ```bibtex
99
+ @article{pakka2026foliagen,
100
+ author={Pakka, Nabin and Wilkerson, Teresa and Chen, Li and Tzeng, Nian-Feng},
101
+ journal={IEEE Access},
102
+ title={Foliagen: Framework for Crop Foliage Image Generation from Individual Leaf Images},
103
+ year={2026},
104
+ volume={},
105
+ number={},
106
+ pages={1-1},
107
+ keywords={Diseases;Modeling;Industrial plants;Plants (biology);Crops;Training;Accuracy;Computers;Conferences;Image processing;Classifier Training;Crop Leaf Images;Disease Image Classification;Image Generation;Machine Learning},
108
+ doi={10.1109/ACCESS.2026.3727421}}
109
+
110
+ ```