add mvtec example imgs
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Build Typst document / build_typst_documents (push) Successful in 41s
				
			
		
		
	
	
				
					
				
			@@ -1,19 +1,70 @@
 | 
				
			|||||||
 | 
					#import "@preview/subpar:0.1.1"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
= Material and Methods
 | 
					= Material and Methods
 | 
				
			||||||
 | 
					
 | 
				
			||||||
== Material
 | 
					== Material
 | 
				
			||||||
 | 
					
 | 
				
			||||||
=== MVTec AD
 | 
					=== MVTec AD
 | 
				
			||||||
MVTec AD is a dataset for benchmarking anomaly detection methods with a focus on industrial inspection.
 | 
					MVTec AD is a dataset for benchmarking anomaly detection methods with a focus on industrial inspection.
 | 
				
			||||||
It contains over 5000 high-resolution images divided into fifteen different object and texture categories.
 | 
					It contains 5354 high-resolution images divided into fifteen different object and texture categories.
 | 
				
			||||||
Each category comprises a set of defect-free training images and a test set of images with various kinds of defects as well as images without defects.
 | 
					Each category comprises a set of defect-free training images and a test set of images with various kinds of defects as well as images without defects.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#figure(
 | 
					#figure(
 | 
				
			||||||
  image("rsc/dataset_overview_large.png", width: 80%),
 | 
					  image("rsc/mvtec/dataset_overview_large.png", width: 80%),
 | 
				
			||||||
  caption: [Architecture convolutional neural network. #cite(<datasetsampleimg>)],
 | 
					  caption: [Architecture convolutional neural network. #cite(<datasetsampleimg>)],
 | 
				
			||||||
) <datasetoverview>
 | 
					) <datasetoverview>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// todo
 | 
					In this bachelor thesis only two categories are used. The categories are "Bottle" and "Cable".
 | 
				
			||||||
Todo: descibe which categories are used in this bac and how many samples there are.
 | 
					
 | 
				
			||||||
 | 
					The bottle category contains of 3 different defect classes: 'broken_large', 'broken_small' and 'contamination'.
 | 
				
			||||||
 | 
					#subpar.grid(
 | 
				
			||||||
 | 
					  figure(image("rsc/mvtec/bottle/broken_large_example.png"), caption: [
 | 
				
			||||||
 | 
					    Broken large defect
 | 
				
			||||||
 | 
					  ]), <a>,
 | 
				
			||||||
 | 
					  figure(image("rsc/mvtec/bottle/broken_small_example.png"), caption: [
 | 
				
			||||||
 | 
					    Broken small defect
 | 
				
			||||||
 | 
					  ]), <b>,
 | 
				
			||||||
 | 
					  figure(image("rsc/mvtec/bottle/contamination_example.png"), caption: [
 | 
				
			||||||
 | 
					    Contamination defect
 | 
				
			||||||
 | 
					  ]), <c>,
 | 
				
			||||||
 | 
					  columns: (1fr, 1fr, 1fr),
 | 
				
			||||||
 | 
					  caption: [Bottle category different defect classes],
 | 
				
			||||||
 | 
					  label: <full>,
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Whereas cable has a lot more defect classes: 'bent_wire', 'cable_swap', 'combined', 'cut_inner_insulation',
 | 
				
			||||||
 | 
					'cut_outer_insulation', 'missing_cable', 'missing_wire', 'poke_insulation'.
 | 
				
			||||||
 | 
					So many more defect classes are already an indication that a classification task will be more difficult for the cable category.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#subpar.grid(
 | 
				
			||||||
 | 
					  figure(image("rsc/mvtec/cable/bent_wire_example.png"), caption: [
 | 
				
			||||||
 | 
					    Bent wire defect
 | 
				
			||||||
 | 
					  ]), <a>,
 | 
				
			||||||
 | 
					  figure(image("rsc/mvtec/cable/cable_swap_example.png"), caption: [
 | 
				
			||||||
 | 
					    Cable swap defect
 | 
				
			||||||
 | 
					  ]), <b>,
 | 
				
			||||||
 | 
					  figure(image("rsc/mvtec/cable/combined_example.png"), caption: [
 | 
				
			||||||
 | 
					    Combined defect
 | 
				
			||||||
 | 
					  ]), <c>,
 | 
				
			||||||
 | 
					  figure(image("rsc/mvtec/cable/cut_inner_insulation_example.png"), caption: [
 | 
				
			||||||
 | 
					    Cut inner insulation
 | 
				
			||||||
 | 
					  ]), <d>,
 | 
				
			||||||
 | 
					  figure(image("rsc/mvtec/cable/cut_outer_insulation_example.png"), caption: [
 | 
				
			||||||
 | 
					    Cut outer insulation
 | 
				
			||||||
 | 
					  ]), <e>,
 | 
				
			||||||
 | 
					  figure(image("rsc/mvtec/cable/missing_cable_example.png"), caption: [
 | 
				
			||||||
 | 
					    Mising cable defect
 | 
				
			||||||
 | 
					  ]), <e>,
 | 
				
			||||||
 | 
					  figure(image("rsc/mvtec/cable/poke_insulation_example.png"), caption: [
 | 
				
			||||||
 | 
					    Poke insulation defect
 | 
				
			||||||
 | 
					  ]), <f>,
 | 
				
			||||||
 | 
					  figure(image("rsc/mvtec/cable/missing_wire_example.png"), caption: [
 | 
				
			||||||
 | 
					    Missing wire defect
 | 
				
			||||||
 | 
					  ]), <g>,
 | 
				
			||||||
 | 
					  columns: (1fr, 1fr, 1fr, 1fr),
 | 
				
			||||||
 | 
					  caption: [Cable category different defect classes],
 | 
				
			||||||
 | 
					  label: <full>,
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
== Methods
 | 
					== Methods
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										
											BIN
										
									
								
								rsc/mvtec/bottle/broken_large_example.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 157 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								rsc/mvtec/bottle/broken_small_example.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 187 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								rsc/mvtec/bottle/contamination_example.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 127 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								rsc/mvtec/cable/bent_wire_example.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 331 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								rsc/mvtec/cable/cable_swap_example.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 369 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								rsc/mvtec/cable/combined_example.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 348 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								rsc/mvtec/cable/cut_inner_insulation_example.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 357 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								rsc/mvtec/cable/cut_outer_insulation_example.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 341 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								rsc/mvtec/cable/missing_cable_example.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 311 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								rsc/mvtec/cable/missing_wire_example.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 334 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								rsc/mvtec/cable/poke_insulation_example.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 335 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB  |