SlideShare a Scribd company logo
1 of 58
Download to read offline
ピクチャ
ピクチャ
ピクチャ
メタデータの読み書き
ピクチャ
メタデータの読み書き
キーワード検索
ピクチャ
メタデータの読み書き
キーワード検索
ユーティリティ
メタデータ
写真に関する情報
メタデータ
TIFF (Tagged Image File Format)
artist model
compression orientation
copyright photometric interpretation
date time resolution unit
document name software
host computer XResolution
image description YResolution
make
メタデータ
EXIF (Exchangeable Image File Format)
aperture pixel x dimension
brightness pixel y dimension
contrast saturation
date time digitized sharpness
date time original white balance
exposure time
flash
ISO speed ratings
メタデータ
GPS (Global Positioning System)
altitude longitude
dest latitude longitude deg
dest longitude status
differential version ID
DOP
img direction
latitude
latitude deg
メタデータ
IPTC (International Press
Telecommunications Council)
byline object name
category province state
city scene
contact special instructions
copyright notice star rating
credit subject reference
headline writer editor
keywords
メタデータ
IPTC (International Press
Telecommunications Council)
byline object name
category province state
city scene
contact special instructions
copyright notice star rating
credit subject reference
headline writer editor
keywords
ファイルタイプ
PICTURE CODEC LIST ($codecs;$names)
.pict .svg .jp2 .ico .tif
.tga .gif .pdf .psd .sgi
.4pct .bmp .icns .png .jpg
.exr
ファイルタイプ
PICTURE CODEC LIST ($codecs;$names)
.pict .svg .jp2 .ico .tif
.tga .gif .pdf .psd .sgi
.4pct .bmp .icns .png .jpg
.exr .emf .wdp
ファイルタイプ
PICTURE CODEC LIST ($codecs;$names)
.pict .svg .jp2 .ico .tif
.tga .gif .pdf .psd .sgi
.4pct .bmp .icns .png .jpg
.exr .emf .wdp
メタデータの読み書き
メタデータの読み書き
GET PICTURE METADATA ($picture;TIFF Make;$make)
Canon
NIKON CORPORATION
CASIO COMPUTER CO.,LTD
メタデータの読み書き
GET PICTURE METADATA ($picture;TIFF Model;$model)
Canon
NIKON CORPORATION
CASIO COMPUTER CO.,LTD
EX-Z57
Canon PowerShot S57
NIKON D59
メタデータの読み書き
GET PICTURE METADATA ($picture;EXIF Date Time Original;$taken)
Canon
NIKON CORPORATION
CASIO COMPUTER CO.,LTD
EX-Z57
Canon PowerShot S57
NIKON D59
2003-12-14T12:01:44Z
2011-07-22T14:13:25Z
2008-01-21T05:24:02Z
メタデータの読み書き
Canon
NIKON CORPORATION
CASIO COMPUTER CO.,LTD
EX-Z57
Canon PowerShot S57
NIKON D59
03/12/14
11/07/22
08/01/21
C_DATE ($date)
C_TIME ($time)
GET PICTURE METADATA ($picture;
EXIF Date Time Original;$date;
EXIF Date Time Original;$time)
12:01:44
14:13:25
05:24:02
メタデータの読み書き
John Smith
Dave Jones
Billy Blathy
ARRAY TEXT ($contacts;0)
GET PICTURE METADATA ($picture;IPTC Contact;$contacts)
メタデータの読み書き
$dom:=DOM Create XML Ref ("EXIF")
GET PICTURE METADATA ($picture;"EXIF";$dom)
<EXIF
ColorSpace="1"
CompressedBitsPerPixel="1"
Contrast="0"
CustomRendered="0"
DateTimeDigitized="2011-07-22T09:30:45Z"
DateTimeOriginal="2011-07-22T09:30:45Z"
DigitalZoomRatio="1" ExifVersion="0221"
ExposureBiasValue="0"
ExposureMode="0"
ExposureProgram="0"
ExposureTime="0.00625"
FNumber="6.3"
Flash="24"
FlashPixVersion="0100"
FocalLenIn35mmFilm="27"
FocalLength="18"
GainControl="0"
ISOSpeedRatings="200"
LightSource="0"
MaxApertureValue="3.6"
MeteringMode="5"
PixelXDimension="1024"
PixelYDimension="680"
Saturation="0"
SceneCaptureType="0"
SensingMethod="2"
Sharpness="0"
SubjectDistRange="0"
UserComment=""
WhiteBalance="0"/>
メタデータの読み書き
$dom:=DOM Parse XML source ("exif.xml")
SET PICTURE METADATA ($picture;"EXIF";$dom)
<EXIF
ColorSpace="1"
CompressedBitsPerPixel="1"
Contrast="0"
CustomRendered="0"
DateTimeDigitized="2011-07-22T09:30:45Z"
DateTimeOriginal="2011-07-22T09:30:45Z"
DigitalZoomRatio="1" ExifVersion="0221"
ExposureBiasValue="0"
ExposureMode="0"
ExposureProgram="0"
ExposureTime="0.00625"
FNumber="6.3"
Flash="24"
FlashPixVersion="0100"
FocalLenIn35mmFilm="27"
FocalLength="18"
GainControl="0"
ISOSpeedRatings="200"
LightSource="0"
MaxApertureValue="3.6"
MeteringMode="5"
PixelXDimension="1024"
PixelYDimension="680"
Saturation="0"
SceneCaptureType="0"
SensingMethod="2"
Sharpness="0"
SubjectDistRange="0"
UserComment=""
WhiteBalance="0"/>
メタデータ
IPTC (International Press
Telecommunications Council)
byline object name
category province state
city scene
contact special instructions
copyright notice star rating
credit subject reference
headline writer editor
keywords
メタデータ
IPTC (International Press
Telecommunications Council)
byline object name
category province state
city scene
contact special instructions
copyright notice star rating
credit subject reference
headline writer editor
keywords
キーワード検索
演算子: キーワード %
QUERY ([商品];[商品]画像%"猫")
QUERY SELECTION ([商品];[商品]画像%"猫")
QUERY BY FORMULA ([商品];[商品]画像%"猫")
QUERY SELECTION BY FORMULA ([商品];[商品]画像%"猫")
対象: IPTC Keywords
演算子: キーワード %
対象: IPTC Keywords
キーワード検索
QUERY ([商品];[商品]画像%"猫")
QUERY SELECTION ([商品];[商品]画像%"猫")
QUERY BY FORMULA ([商品];[商品]画像%"猫")
QUERY SELECTION BY FORMULA ([商品];[商品]画像%"猫")
演算子: キーワード %
対象: IPTC Keywords
キーワード検索
QUERY ([商品];[商品]画像%"猫")
QUERY SELECTION ([商品];[商品]画像%"猫")
QUERY BY FORMULA ([商品];[商品]画像%"猫")
QUERY SELECTION BY FORMULA ([商品];[商品]画像%"猫")
SET INDEX ([商品]画像;Keywords Index)
ARRAY POINTER ($fields;1)
$fields{1}:=->[商品]画像
CREATE INDEX ([商品]; $fields;Keywords Index;"商品画像キーワード")
DELETE INDEX ("商品画像キーワード")
DELETE INDEX (->[商品]画像)
キーワード検索
READ PICTURE FILE ("images.jpeg";$picture)
CREATE RECORD ([商品])
[商品]画像:=$picture
ARRAY TEXT ($keywords;2)
$keywords{1}:="猫"
$keywords{2}:="ねこ"
SET PICTURE METADATA ([商品]画像;IPTC Keywords;$keywords)
SAVE RECORD ([商品])
QUERY ([商品];[商品]画像%"猫")
キーワード検索
DESCRIBE QUERY EXECUTION (True)
$path:=Get last query path (Description in Text Format)
キーワードインデックスは必須ではない
キーワード検索
DESCRIBE QUERY EXECUTION (True)
$path:=Get last query path (Description in Text Format)
[index : FullText : 商品.画像 ] = ねこ
(1 record found in 0 ms)
キーワードインデックスは必須ではない
キーワード検索
DESCRIBE QUERY EXECUTION (True)
$path:=Get last query path (Description in Text Format)
商品.画像 contains ねこ
(1 record found in 62 ms)
キーワードインデックスは必須ではない
キーワード
ARRAY TEXT ($keywords;1)
$keywords{1}:="我が家の猫です。名前はポチです。"
SET PICTURE METADATA ([商品]画像;IPTC Keywords;$keywords)
GET PICTURE KEYWORDS ([商品]画像;$keywords)
# キーワード
1 我が家の猫です
2 名前はポチです
# キーワード
1 我が家の猫です
2 名前はポチです
キーワード
ARRAY TEXT ($keywords;1)
$keywords{1}:="我が家の猫です。名前はポチです。"
SET PICTURE METADATA ([商品]画像;IPTC Keywords;$keywords)
GET PICTURE KEYWORDS ([商品]画像;$keywords)
キーワード
ARRAY TEXT ($keywords;1)
$keywords{1}:="我が家の猫です。名前はポチです。"
SET PICTURE METADATA ([商品]画像;IPTC Keywords;$keywords)
GET PICTURE KEYWORDS ([商品]画像;$keywords)
# キーワード
1 我
2 が
3 家
4 の
5 猫
6 です
7 名前
8 は
9 ポチ
10 です
キーワード
ARRAY TEXT ($keywords;1)
$keywords{1}:="我が家の猫です。名前はポチです。"
SET PICTURE METADATA ([商品]画像;IPTC Keywords;$keywords)
GET PICTURE KEYWORDS ([商品]画像;$keywords;*)
*
# キーワード
1 我
2 が
3 家
4 の
5 猫
6 です
7 名前
8 は
9 ポチ
10 です
キーワード
ARRAY TEXT ($keywords;1)
$keywords{1}:="我が家の猫です。名前はポチです。"
SET PICTURE METADATA ([商品]画像;IPTC Keywords;$keywords)
GET PICTURE KEYWORDS ([商品]画像;$keywords;*)
*
# キーワード
1 我
2 が
3 家
4 の
5 猫
6 です
7 名前
8 は
9 ポチ
キーワード
ARRAY TEXT ($keywords;1)
$keywords{1}:="我が家の猫です。名前はポチです。"
SET PICTURE METADATA ([商品]画像;IPTC Keywords;$keywords)
GET PICTURE KEYWORDS ([商品]画像;$keywords)
# キーワード
1 我が家
2 猫
3 名前
4 ポチ
ユーティリティ
$equal:=Equal pictures ($picA;$picB;$picDiff)
$digest:=Generate digest ($picData;MD5 Digest)
e2bfa9f5408cab9d2bb5387e0fdfde15
df1273d3911455c1c63ae65a1d3905ea
$digest:=Generate digest ($picData;SHA1 Digest)
26a8c59de084e48e9b822c24e18398cd3ebf3bad
5fc387fb5f9eed7f8147dde9dd6122bba8ab2eab
CONVERT PICTURE ($picture;{codec})
4D Picture 4PCT 3349 3349
JPEG JPEG 1368 886
PNG PNG 2266 2176
BMP BMP 4490 4490
GIF GIF 730 732
TIFF TIFF 4493 2571
Mac Picture PICT 3397 3377
PDF 3097
JPEG-2000 1348
ICNS
Photoshop 6817
ICO
TGA 4475
SGI
OpenEXR 3300
EMF 5792
WDP 1576
COMBINE PICTURES ($picA;$picB;Superimposition;$picC)
COMBINE PICTURES ($picA;$picB;Vertical concatenation;$picC)
COMBINE PICTURES ($picA;$picB;Horizontal concatenation;$picC)
TRANSFORM PICTURE ($picture;{operator})
TRANSFORM PICTURE ($picture;Translate;100;$offsetV)
TRANSFORM PICTURE ($picture;Translate;200;$offsetV)
TRANSFORM PICTURE ($picture;Translate;300;$offsetV)
TRANSFORM PICTURE ($picture;Reset)
TRANSFORM PICTURE ($picture;Scale;0.8;$scaleV)
TRANSFORM PICTURE ($picture;Scale;0.6;$scaleV)
TRANSFORM PICTURE ($picture;Scale;0.6;$scaleV)
TRANSFORM PICTURE ($picture;Reset)
TRANSFORM PICTURE ($picture;Flip horizontally)
TRANSFORM PICTURE ($picture;Flip vertically)
TRANSFORM PICTURE ($picture;Fade to grey scale)
TRANSFORM PICTURE ($picture;Crop;100;100;300;300)
ピクチャ

More Related Content

Viewers also liked (9)

Japanese Collation 2010-03-03
Japanese Collation 2010-03-03Japanese Collation 2010-03-03
Japanese Collation 2010-03-03
 
Uminohi 2013-07-14
Uminohi 2013-07-14Uminohi 2013-07-14
Uminohi 2013-07-14
 
#nds34 LT
#nds34 LT#nds34 LT
#nds34 LT
 
がり勉LT20140111
がり勉LT20140111がり勉LT20140111
がり勉LT20140111
 
Web Basics 2013-01-10
Web Basics 2013-01-10Web Basics 2013-01-10
Web Basics 2013-01-10
 
Current Selection 2010-02-14
Current Selection 2010-02-14Current Selection 2010-02-14
Current Selection 2010-02-14
 
おーいみんな、JavaやろうぜJava
おーいみんな、JavaやろうぜJavaおーいみんな、JavaやろうぜJava
おーいみんな、JavaやろうぜJava
 
4D Tags
4D Tags4D Tags
4D Tags
 
プロ生Lt20130622
プロ生Lt20130622プロ生Lt20130622
プロ生Lt20130622
 

More from kmiyako

More from kmiyako (20)

Build an iOS app with Ionic and 4D
Build an iOS app with Ionic and 4DBuild an iOS app with Ionic and 4D
Build an iOS app with Ionic and 4D
 
4D WORLD TOUR 2017
4D WORLD TOUR 20174D WORLD TOUR 2017
4D WORLD TOUR 2017
 
Leaflet
LeafletLeaflet
Leaflet
 
Inside Multi-Threading
Inside Multi-ThreadingInside Multi-Threading
Inside Multi-Threading
 
4D Tags
4D Tags4D Tags
4D Tags
 
Mirroring
MirroringMirroring
Mirroring
 
Objects Fields
Objects FieldsObjects Fields
Objects Fields
 
Code Optimisation
Code OptimisationCode Optimisation
Code Optimisation
 
Auto Update
Auto UpdateAuto Update
Auto Update
 
Classic Query Editor
Classic Query EditorClassic Query Editor
Classic Query Editor
 
Web area-phone-home
Web area-phone-homeWeb area-phone-home
Web area-phone-home
 
MONET研究会 #14
MONET研究会 #14MONET研究会 #14
MONET研究会 #14
 
4d
4d4d
4d
 
初心者からプロフェッショナルまで~データベース開発ソフト4Dの魅力を徹底紹介~
初心者からプロフェッショナルまで~データベース開発ソフト4Dの魅力を徹底紹介~初心者からプロフェッショナルまで~データベース開発ソフト4Dの魅力を徹底紹介~
初心者からプロフェッショナルまで~データベース開発ソフト4Dの魅力を徹底紹介~
 
Xslt
XsltXslt
Xslt
 
Journaling slides
Journaling slidesJournaling slides
Journaling slides
 
Unicode-v11-5
Unicode-v11-5Unicode-v11-5
Unicode-v11-5
 
Unicode-v11-0
Unicode-v11-0Unicode-v11-0
Unicode-v11-0
 
アップグレードセミナー
アップグレードセミナーアップグレードセミナー
アップグレードセミナー
 
4D Write Pro
4D Write Pro4D Write Pro
4D Write Pro
 

Recently uploaded

Recently uploaded (10)

Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
 
Utilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native IntegrationsUtilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native Integrations
 
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
 
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアルLoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
 
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
 
新人研修 後半 2024/04/26の勉強会で発表されたものです。
新人研修 後半        2024/04/26の勉強会で発表されたものです。新人研修 後半        2024/04/26の勉強会で発表されたものです。
新人研修 後半 2024/04/26の勉強会で発表されたものです。
 
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
 
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
LoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイスLoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイス
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
 
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
 
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
 

Picture 2013-05-28