Example of how to use MATLAB to generate synthetic images of skin lesions.
이 제출물을 팔로우합니다
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다
Synthetic skin lesion image generation using GANs
This repository shows an example of how to use MATLAB to generate synthetic images of skin lesions.
The training data set consists of annotated images from the ISIC 2016 challenge, Task 3 (Lesion classification) data set, containing 900 dermoscopic lesion images in JPEG format1.
The code is based on an example using the flowers dataset available online.
![]() |
|---|
| Snapshot of the GAN after training. (L) generated images; (R) generator (blue) and discriminator (red) curves showing score (between 0 and 1, where 0.5 is best) for each iteration. |
![]() |
|---|
| Examples of synthetically generated images. |
Requirements
- MATLAB 2021a or later
- Deep Learning Toolbox
- Parallel Computing Toolbox (only required for training using a GPU)
Suggested steps
- Download or clone the repository.
- Open MATLAB.
- Edit the contents of the
imageFoldervariable in theskin_lesion_gan.mlxfile to reflect the path to your selected dataset. - Run the
skin_lesion_gan.mlxscript and inspect results.
Additional remarks
- You are encouraged to expand and adapt the example to your needs.
- The choice of network architectures for both the generator and discriminator was inspired by the DCGAN.
- The choice of hyperparameters (learning rate, mini-batch size, number of epochs, etc.) is merely illustrative. You are encouraged to (use Experiment Manager to) tweak those choices and find a better solution 2.
Notes
[1] This example uses a fairly small subset of images to make it easier to get started without having to worry about large downloads and long training times.
[2] See this for ideas and example code for using MATLAB Experiment Manager.
인용 양식
Oge Marques (2026). Synthetic skin lesion image generation using GANs (https://github.com/ogemarques/gan-skin-matlab/releases/tag/1.01), GitHub. 검색 날짜: .
| 버전 | 퍼블리시됨 | 릴리스 정보 | Action |
|---|---|---|---|
| 1.01 | See release notes for this release on GitHub: https://github.com/ogemarques/gan-skin-matlab/releases/tag/1.01 |
||
| 1.0 |


