2017-10-08 3 views
0

J'ai une image FLIR dont je veux extraire la "valeur spot". La valeur du point est imprimée sur l'image. J'ai trouvé le paquet Thermimage que j'utilise dans R.Extraction de la valeur spot de l'image thermique

C'est ce que je reçois quand je lance ceci:

library(Thermimage) 
flirsettings("FLIR8655.jpg", exiftoolpath = "installed", camvals = "") 


$Info 
$Info$ExifToolVersionNumber 
[1] 10.62 

$Info$FileName 
[1] 8655 

$Info$Directory 
[1] "357-2517" 

$Info$FileSize 
[1] 74 

$Info$FilePermissions 
[1] "" 

$Info$FileType 
[1] "" 

$Info$FileTypeExtension 
[1] "" 

$Info$MIMEType 
[1] "" 

$Info$JFIFVersion 
[1] 1.01 

$Info$ExifByteOrder 
[1] "-" 

$Info$Make 
[1] "" 

$Info$CameraModelName 
[1] 3 

$Info$Orientation 
[1] "" 

$Info$XResolution 
[1] 72 

$Info$YResolution 
[1] 72 

$Info$ResolutionUnit 
[1] "" 

$Info$Software 
[1] "3.6.0" 

$Info$YCbCrPositioning 
[1] "" 

$Info$ExposureTime 
[1] 150 

$Info$ExifVersion 
[1] 220 

$Info$ComponentsConfiguration 
[1] "-" 

$Info$SubjectDistance 
[1] 1 

$Info$FocalLength 
[1] 1.8 

$Info$ImageTemperatureMax 
[1] 311 

$Info$ImageTemperatureMin 
[1] 296 

$Info$FlashpixVersion 
[1] 100 

$Info$ColorSpace 
[1] "" 

$Info$ExifImageWidth 
[1] 320 

$Info$ExifImageHeight 
[1] 240 

$Info$DigitalZoomRatio 
[1] 1 

$Info$ImageUniqueID 
[1] 7.415218e+19 

$Info$Compression 
[1] "-" 

$Info$ThumbnailOffset 
[1] 1894 

$Info$ThumbnailLength 
[1] 2474 

$Info$CreatorSoftware 
[1] NA 

$Info$Emissivity 
[1] 0.95 

$Info$ObjectDistance 
[1] 1 

$Info$ReflectedApparentTemperature 
[1] 20 

$Info$AtmosphericTemperature 
[1] 20 

$Info$IRWindowTemperature 
[1] 20 

$Info$IRWindowTransmission 
[1] 1 

$Info$RelativeHumidity 
[1] 50 

$Info$PlanckR1 
[1] 11326.43 

$Info$PlanckB 
[1] 1316.8 

$Info$PlanckF 
[1] 1.65 

$Info$AtmosphericTransAlpha1 
[1] 0.006569 

$Info$AtmosphericTransAlpha2 
[1] 0.01262 

$Info$AtmosphericTransBeta1 
[1] -0.002276 

$Info$AtmosphericTransBeta2 
[1] -0.00667 

$Info$AtmosphericTransX 
[1] 1.9 

$Info$CameraTemperatureRangeMax 
[1] 150 

$Info$CameraTemperatureRangeMin 
[1] -10 

$Info$CameraTemperatureMaxClip 
[1] 180 

$Info$CameraTemperatureMinClip 
[1] -40 

$Info$CameraTemperatureMaxWarn 
[1] 150 

$Info$CameraTemperatureMinWarn 
[1] -10 

$Info$CameraTemperatureMaxSaturated 
[1] 180 

$Info$CameraTemperatureMinSaturated 
[1] -60 

$Info$CameraModel 
[1] 3 

$Info$CameraPartNumber 
[1] "72003-0303" 

$Info$CameraSerialNumber 
[1] 720071224 

$Info$CameraSoftware 
[1] "34.0.0" 

$Info$LensModel 
[1] 2 

$Info$LensPartNumber 
[1] NA 

$Info$LensSerialNumber 
[1] NA 

$Info$Isotherm1Color 
[1] 100128128 

$Info$Isotherm2Color 
[1] 100110240 

$Info$PaletteMethod 
[1] 0 

$Info$PaletteStretch 
[1] 2 

$Info$PaletteFileName 
[1] "." 

$Info$PaletteName 
[1] "" 

$Info$Palette 
[1] "672-" 

$Info$RawThermalImageWidth 
[1] 80 

$Info$RawThermalImageHeight 
[1] 60 

$Info$RawThermalImageType 
[1] "PNG" 

$Info$RawThermalImage 
[1] "6352-" 

$Info$Real2IR 
[1] 1.389537 

$Info$OffsetX 
[1] -1 

$Info$OffsetY 
[1] 8 

$Info$PiPX1 
[1] 0 

$Info$PiPX2 
[1] 80 

$Info$PiPY1 
[1] 0 

$Info$PiPY2 
[1] 60 

$Info$EmbeddedImageWidth 
[1] 640 

$Info$EmbeddedImageHeight 
[1] 480 

$Info$EmbeddedImageType 
[1] "" 

$Info$EmbeddedImage 
[1] "38325-" 

$Info$ImageWidth 
[1] 320 

$Info$ImageHeight 
[1] 240 

$Info$EncodingProcess 
[1] "" 

$Info$BitsPerSample 
[1] 8 

$Info$ColorComponents 
[1] 3 

$Info$YCbCrSubSampling 
[1] "4:2:022" 

$Info$ImageSize 
[1] 320240 

$Info$Megapixels 
[1] 0.077 

$Info$PeakSpectralSensitivity 
[1] 10.9 

$Info$ShutterSpeed 
[1] 150 

$Info$ThumbnailImage 
[1] "2474-" 

$Info$FocalLength 
[1] 1.8 


$Dates 
$Dates$FileModificationDateTime 
[1] "2017-08-21 14:20:46" 

$Dates$FileAccessDateTime 
[1] "2017-10-04 02:36:24" 

$Dates$FileInodeChangeDateTime 
[1] "2017-09-10 18:41:44" 

$Dates$ModifyDate 
[1] "2017-08-21 08:20:46" 

$Dates$CreateDate 
[1] "2017-08-21 08:20:46" 

$Dates$DateTimeOriginal 
[1] "2017-08-21 16:20:46" 

Y at-il un moyen d'obtenir la mesure à savoir la valeur spot de l'image? Ou puis-je utiliser exiftool pour extraire cette valeur de l'image et comment puis-je faire cela?

Répondre

0

J'essayerais d'utiliser exiftool sur la ligne de commande plutôt que du paquet R, Thermimage, puisque le paquet R ne rend pas compte de tous les résultats de sortie d'exiftool. Essayez ceci dans une fenêtre de terminal:

exiftool FLIR8655.jpg 

qui pourrait donner quelque chose comme ceci pour votre image:

... 
Meas 1 Type      : Spot 
Meas 1 Params     : 320 240 
Meas 1 Label     : 1 
Meas 2 Type      : Area 
Meas 2 Params     : 213 160 213 160 
Meas 2 Label     : 1 

Mais je ne peux trouver aucune sortie pour la température du point (Meas 1 ci-dessus) dans la exiftool normale sortie. Vous pouvez exporter les données binaires thermiques brutes avec exiftool et extraire le wième point de données x hth correspondant à la position du point.