img-phy-sim 0.3__tar.gz → 0.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,23 +1,36 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: img-phy-sim
3
- Version: 0.3
4
- Summary: A simulation library for image physics.
5
- Home-page: https://github.com/xXAI-botXx/Image-Physics-Simulation
6
- Download-URL: https://github.com/xXAI-botXx/Image-Physics-Simulation/archive/v_03.tar.gz
3
+ Version: 0.4
4
+ Summary: Physical Simulations on Images.
5
+ Home-page: https://github.com/M-106/Image-Physics-Simulation
6
+ Download-URL: https://github.com/M-106/Image-Physics-Simulation/archive/v_03.tar.gz
7
7
  Author: Tobia Ippolito
8
- License: MIT
9
- Project-URL: Homepage, https://github.com/xXAI-botXx/Image-Physics-Simulation
10
- Project-URL: Documentation, https://xxai-botxx.github.io/Image-Physics-Simulation/img_phy_sim
8
+ Project-URL: Documentation, https://M-106.github.io/Image-Physics-Simulation/img_phy_sim
9
+ Project-URL: Source, https://github.com/M-106/Image-Physics-Simulation
10
+ Keywords: Simulation,Computer-Vision,Physgen
11
11
  Classifier: Programming Language :: Python :: 3
12
- Classifier: License :: OSI Approved :: MIT License
13
- Requires-Python: >=3.8
12
+ Classifier: Operating System :: OS Independent
13
+ Classifier: Programming Language :: Python :: 3.8
14
+ Classifier: Programming Language :: Python :: 3.9
15
+ Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
14
19
  Description-Content-Type: text/markdown
15
20
  Requires-Dist: numpy
16
21
  Requires-Dist: opencv-python
17
22
  Requires-Dist: matplotlib
18
23
  Requires-Dist: scikit-image
24
+ Dynamic: author
25
+ Dynamic: classifier
26
+ Dynamic: description
27
+ Dynamic: description-content-type
19
28
  Dynamic: download-url
20
29
  Dynamic: home-page
30
+ Dynamic: keywords
31
+ Dynamic: project-url
32
+ Dynamic: requires-dist
33
+ Dynamic: summary
21
34
 
22
35
  # **I**mage-**P**hysics-**S**imulation
23
36
 
@@ -32,9 +45,9 @@ Contents:
32
45
  - [Raytracing Tutorial](#raytracing-tutorial)
33
46
  - [Performance Test](#performance-test)
34
47
 
35
- [> Documentation <](https://xxai-botxx.github.io/Image-Physics-Simulation/img_phy_sim.html)
48
+ [> Documentation <](https://M-106.github.io/Image-Physics-Simulation/img_phy_sim.html)
36
49
 
37
- <img src="./img_phy_sim/raytracing_example.png"></img>
50
+ <img src="https://github.com/M-106/Image-Physics-Simulation/raw/main/img_phy_sim/raytracing_example.png"></img>
38
51
 
39
52
  <br><br>
40
53
 
@@ -209,7 +222,7 @@ That are not all functions but the ones which should be most useful. Check out t
209
222
 
210
223
  ### Raytracing Tutorial
211
224
 
212
- [See also the example notebook 👀](./example/physgen.ipynb)
225
+ [See also the example notebook 👀](./example/physgen.ipynb)
213
226
 
214
227
  In general you need to do:
215
228
  1. **Load your Image** -> using `ips.img.open`
@@ -303,7 +316,7 @@ ips.ray_tracing.print_rays_info(rays)
303
316
 
304
317
  Following features are included:
305
318
  - Setting custom startposition for raytracing
306
- - Adding custom beam shooting positions in degree (where 0° is the east/right of the image and 90° is south/bottom and so on)
319
+ - Adding custom beam shooting positions in degree (where 0° is the east/right of the image and 90° is south/bottom and so on)
307
320
  - Setting reflexion order (how many maxium reflexions should be calculated)
308
321
  - Setting if the border of the image should be reflective or not
309
322
  - And setting if the input image should be scaled and if the rays itself should be scaled
@@ -461,12 +474,12 @@ Summary:
461
474
  The Stepsize/amount of rays have the biggest impact on the performance. The other parameters have rather a small impact.
462
475
 
463
476
 
464
- | **Experiment** | **Number of Experiments** | **avg_time (mean ± std)** | **avg_compute_time (mean ± std)** | **avg_draw_time (mean ± std)** | **rel_change (avg_time)** | **Trend** | **Conclusion** |
477
+ | **Experiment** | **Number of Experiments** | **avg_time (mean ± std)** | **avg_compute_time (mean ± std)** | **avg_draw_time (mean ± std)** | **rel_change (avg_time)** | **Trend** | **Conclusion** |
465
478
  | --- | --- | --- | --- | --- | --- | --- | --- |
466
- | **1. Ray Amount** | 4 | 16.01 ± 23.63 s | 15.11 ± 22.23 s | 0.90 ± 1.39 s | **351.22 %** | Increasing (+17.31 s/exp) | Performance changes **significantly** |
467
- | **2. Ray Scaling** | 2 | 0.57 ± 0.01 s | 0.56 ± 0.00 s | 0.016 ± 0.006 s | **2.73 %** | Decreasing (0.016 s/exp) | Performance changes **slightly** |
468
- | **3. Reflection Order** | 6 | 0.93 ± 0.74 s | 0.90 ± 0.72 s | 0.029 ± 0.016 s | **227.71 %** | Increasing (+0.37 s/exp) | Performance changes **significantly** |
469
- | **4. Detail Draw** | 2 | 0.63 ± 0.05 s | 0.56 ± 0.00 s | 0.071 ± 0.050 s | **16.39 %** | Increasing (+0.10 s/exp) | Performance changes **slightly** |
479
+ | **1. Ray Amount** | 4 | 16.01 ± 23.63 s | 15.11 ± 22.23 s | 0.90 ± 1.39 s | **351.22 %** | Increasing (+17.31 s/exp) | Performance changes **significantly** |
480
+ | **2. Ray Scaling** | 2 | 0.57 ± 0.01 s | 0.56 ± 0.00 s | 0.016 ± 0.006 s | **2.73 %** | Decreasing (−0.016 s/exp) | Performance changes **slightly** |
481
+ | **3. Reflection Order** | 6 | 0.93 ± 0.74 s | 0.90 ± 0.72 s | 0.029 ± 0.016 s | **227.71 %** | Increasing (+0.37 s/exp) | Performance changes **significantly** |
482
+ | **4. Detail Draw** | 2 | 0.63 ± 0.05 s | 0.56 ± 0.00 s | 0.071 ± 0.050 s | **16.39 %** | Increasing (+0.10 s/exp) | Performance changes **slightly** |
470
483
 
471
484
 
472
485
 
@@ -11,7 +11,7 @@ Contents:
11
11
  - [Raytracing Tutorial](#raytracing-tutorial)
12
12
  - [Performance Test](#performance-test)
13
13
 
14
- [> Documentation <](https://xxai-botxx.github.io/Image-Physics-Simulation/img_phy_sim.html)
14
+ [> Documentation <](https://M-106.github.io/Image-Physics-Simulation/img_phy_sim.html)
15
15
 
16
16
  <img src="./img_phy_sim/raytracing_example.png"></img>
17
17
 
@@ -1,23 +1,36 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: img-phy-sim
3
- Version: 0.3
4
- Summary: A simulation library for image physics.
5
- Home-page: https://github.com/xXAI-botXx/Image-Physics-Simulation
6
- Download-URL: https://github.com/xXAI-botXx/Image-Physics-Simulation/archive/v_03.tar.gz
3
+ Version: 0.4
4
+ Summary: Physical Simulations on Images.
5
+ Home-page: https://github.com/M-106/Image-Physics-Simulation
6
+ Download-URL: https://github.com/M-106/Image-Physics-Simulation/archive/v_03.tar.gz
7
7
  Author: Tobia Ippolito
8
- License: MIT
9
- Project-URL: Homepage, https://github.com/xXAI-botXx/Image-Physics-Simulation
10
- Project-URL: Documentation, https://xxai-botxx.github.io/Image-Physics-Simulation/img_phy_sim
8
+ Project-URL: Documentation, https://M-106.github.io/Image-Physics-Simulation/img_phy_sim
9
+ Project-URL: Source, https://github.com/M-106/Image-Physics-Simulation
10
+ Keywords: Simulation,Computer-Vision,Physgen
11
11
  Classifier: Programming Language :: Python :: 3
12
- Classifier: License :: OSI Approved :: MIT License
13
- Requires-Python: >=3.8
12
+ Classifier: Operating System :: OS Independent
13
+ Classifier: Programming Language :: Python :: 3.8
14
+ Classifier: Programming Language :: Python :: 3.9
15
+ Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
14
19
  Description-Content-Type: text/markdown
15
20
  Requires-Dist: numpy
16
21
  Requires-Dist: opencv-python
17
22
  Requires-Dist: matplotlib
18
23
  Requires-Dist: scikit-image
24
+ Dynamic: author
25
+ Dynamic: classifier
26
+ Dynamic: description
27
+ Dynamic: description-content-type
19
28
  Dynamic: download-url
20
29
  Dynamic: home-page
30
+ Dynamic: keywords
31
+ Dynamic: project-url
32
+ Dynamic: requires-dist
33
+ Dynamic: summary
21
34
 
22
35
  # **I**mage-**P**hysics-**S**imulation
23
36
 
@@ -32,9 +45,9 @@ Contents:
32
45
  - [Raytracing Tutorial](#raytracing-tutorial)
33
46
  - [Performance Test](#performance-test)
34
47
 
35
- [> Documentation <](https://xxai-botxx.github.io/Image-Physics-Simulation/img_phy_sim.html)
48
+ [> Documentation <](https://M-106.github.io/Image-Physics-Simulation/img_phy_sim.html)
36
49
 
37
- <img src="./img_phy_sim/raytracing_example.png"></img>
50
+ <img src="https://github.com/M-106/Image-Physics-Simulation/raw/main/img_phy_sim/raytracing_example.png"></img>
38
51
 
39
52
  <br><br>
40
53
 
@@ -209,7 +222,7 @@ That are not all functions but the ones which should be most useful. Check out t
209
222
 
210
223
  ### Raytracing Tutorial
211
224
 
212
- [See also the example notebook 👀](./example/physgen.ipynb)
225
+ [See also the example notebook 👀](./example/physgen.ipynb)
213
226
 
214
227
  In general you need to do:
215
228
  1. **Load your Image** -> using `ips.img.open`
@@ -303,7 +316,7 @@ ips.ray_tracing.print_rays_info(rays)
303
316
 
304
317
  Following features are included:
305
318
  - Setting custom startposition for raytracing
306
- - Adding custom beam shooting positions in degree (where 0° is the east/right of the image and 90° is south/bottom and so on)
319
+ - Adding custom beam shooting positions in degree (where 0° is the east/right of the image and 90° is south/bottom and so on)
307
320
  - Setting reflexion order (how many maxium reflexions should be calculated)
308
321
  - Setting if the border of the image should be reflective or not
309
322
  - And setting if the input image should be scaled and if the rays itself should be scaled
@@ -461,12 +474,12 @@ Summary:
461
474
  The Stepsize/amount of rays have the biggest impact on the performance. The other parameters have rather a small impact.
462
475
 
463
476
 
464
- | **Experiment** | **Number of Experiments** | **avg_time (mean ± std)** | **avg_compute_time (mean ± std)** | **avg_draw_time (mean ± std)** | **rel_change (avg_time)** | **Trend** | **Conclusion** |
477
+ | **Experiment** | **Number of Experiments** | **avg_time (mean ± std)** | **avg_compute_time (mean ± std)** | **avg_draw_time (mean ± std)** | **rel_change (avg_time)** | **Trend** | **Conclusion** |
465
478
  | --- | --- | --- | --- | --- | --- | --- | --- |
466
- | **1. Ray Amount** | 4 | 16.01 ± 23.63 s | 15.11 ± 22.23 s | 0.90 ± 1.39 s | **351.22 %** | Increasing (+17.31 s/exp) | Performance changes **significantly** |
467
- | **2. Ray Scaling** | 2 | 0.57 ± 0.01 s | 0.56 ± 0.00 s | 0.016 ± 0.006 s | **2.73 %** | Decreasing (0.016 s/exp) | Performance changes **slightly** |
468
- | **3. Reflection Order** | 6 | 0.93 ± 0.74 s | 0.90 ± 0.72 s | 0.029 ± 0.016 s | **227.71 %** | Increasing (+0.37 s/exp) | Performance changes **significantly** |
469
- | **4. Detail Draw** | 2 | 0.63 ± 0.05 s | 0.56 ± 0.00 s | 0.071 ± 0.050 s | **16.39 %** | Increasing (+0.10 s/exp) | Performance changes **slightly** |
479
+ | **1. Ray Amount** | 4 | 16.01 ± 23.63 s | 15.11 ± 22.23 s | 0.90 ± 1.39 s | **351.22 %** | Increasing (+17.31 s/exp) | Performance changes **significantly** |
480
+ | **2. Ray Scaling** | 2 | 0.57 ± 0.01 s | 0.56 ± 0.00 s | 0.016 ± 0.006 s | **2.73 %** | Decreasing (−0.016 s/exp) | Performance changes **slightly** |
481
+ | **3. Reflection Order** | 6 | 0.93 ± 0.74 s | 0.90 ± 0.72 s | 0.029 ± 0.016 s | **227.71 %** | Increasing (+0.37 s/exp) | Performance changes **significantly** |
482
+ | **4. Detail Draw** | 2 | 0.63 ± 0.05 s | 0.56 ± 0.00 s | 0.071 ± 0.050 s | **16.39 %** | Increasing (+0.10 s/exp) | Performance changes **slightly** |
470
483
 
471
484
 
472
485
 
@@ -0,0 +1,4 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
@@ -3,11 +3,11 @@ from setuptools import setup, find_packages
3
3
  # relative links to absolute
4
4
  with open("./README.md", "r") as f:
5
5
  readme = f.read()
6
- readme = readme.replace('src="./img_phy_sim/raytracing_example.png"', 'src="https://github.com/xXAI-botXx/Image-Physics-Simulation/raw/main/img_phy_sim/raytracing_example.png"')
6
+ readme = readme.replace('src="./img_phy_sim/raytracing_example.png"', 'src="https://github.com/M-106/Image-Physics-Simulation/raw/main/img_phy_sim/raytracing_example.png"')
7
7
 
8
8
  setup(
9
9
  name='img-phy-sim',
10
- version='0.3',
10
+ version='0.4',
11
11
  packages=find_packages(), # ['img_phy_sim'],
12
12
  install_requires=[
13
13
  # List any dependencies here, e.g. 'numpy', 'requests'
@@ -21,11 +21,11 @@ setup(
21
21
  long_description = readme,
22
22
  long_description_content_type="text/markdown",
23
23
  include_package_data=True, # Ensures files from MANIFEST.in are included
24
- download_url = 'https://github.com/xXAI-botXx/Image-Physics-Simulation/archive/v_03.tar.gz',
25
- url="https://github.com/xXAI-botXx/Image-Physics-Simulation",
24
+ download_url = 'https://github.com/M-106/Image-Physics-Simulation/archive/v_03.tar.gz',
25
+ url="https://github.com/M-106/Image-Physics-Simulation",
26
26
  project_urls={
27
- "Documentation": "https://xxai-botxx.github.io/Image-Physics-Simulation/img_phy_sim",
28
- "Source": "https://github.com/xXAI-botXx/Image-Physics-Simulation"
27
+ "Documentation": "https://M-106.github.io/Image-Physics-Simulation/img_phy_sim",
28
+ "Source": "https://github.com/M-106/Image-Physics-Simulation"
29
29
  },
30
30
  keywords = ['Simulation', 'Computer-Vision', 'Physgen'],
31
31
  classifiers=[
@@ -1,28 +0,0 @@
1
- [build-system]
2
- requires = ["setuptools>=61.0", "wheel"]
3
- build-backend = "setuptools.build_meta"
4
-
5
- [project]
6
- name = "img-phy-sim"
7
- version = "0.3"
8
- description = "A simulation library for image physics."
9
- readme = "README.md"
10
- requires-python = ">=3.8"
11
- dependencies = [
12
- "numpy",
13
- "opencv-python",
14
- "matplotlib",
15
- "scikit-image"
16
- ]
17
- license = {text = "MIT"}
18
- authors = [
19
- {name = "Tobia Ippolito"}
20
- ]
21
- classifiers = [
22
- "Programming Language :: Python :: 3",
23
- "License :: OSI Approved :: MIT License",
24
- ]
25
-
26
- [project.urls]
27
- "Homepage" = "https://github.com/xXAI-botXx/Image-Physics-Simulation"
28
- "Documentation" = "https://xxai-botxx.github.io/Image-Physics-Simulation/img_phy_sim"
File without changes
File without changes
File without changes