save curve result as yaml image
This commit is contained in:
		
							parent
							
								
									7682906fb8
								
							
						
					
					
						commit
						83223788da
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -296,6 +296,9 @@ int perfromOperation(int operation, char** fileNames, const Config& config)
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		Log(Log::DEBUG)<<"applyCurve";
 | 
							Log(Log::DEBUG)<<"applyCurve";
 | 
				
			||||||
		applyCurve(inImages[0], curve);
 | 
							applyCurve(inImages[0], curve);
 | 
				
			||||||
 | 
							cv::FileStorage fsO("out.mat", cv::FileStorage::WRITE);
 | 
				
			||||||
 | 
							fsO<<"image"<<inImages[0];
 | 
				
			||||||
 | 
							fsO.release();
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	else if(operation == CREATE_CURVE)
 | 
						else if(operation == CREATE_CURVE)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue