Krzysztof Turek 4M1

Adam Naguszewski 4M1

TECHNIKI INTERNETU

ĆWICZENIE 5

Usługa Multimedialna

nr komputera 10

liczba obrazów w bazie: 500

nr indeksu: 220183

Modulo 500: 183

ZADANIE 1

SCALABLE COLOR

Wzorzec:

http://tiger.ire.pw.edu.pl/pbz/images/167008.jpg (nr 183 z listy)

http://tiger.ire.pw.edu.pl/pbz/images/167003.jpg distance: 368

http://tiger.ire.pw.edu.pl/pbz/images/167019.jpg distance: 316

http://tiger.ire.pw.edu.pl/pbz/images/144095.jpg distance: 317

Wzorzec:

http://tiger.ire.pw.edu.pl/pbz/images/167009.jpg (nr 184 z listy)

http://tiger.ire.pw.edu.pl/pbz/images/1167019.jpg distance: 539

http://tiger.ire.pw.edu.pl/pbz/images/167012.jpg distance: 505

http://tiger.ire.pw.edu.pl/pbz/images/167000.jpg distance: 484

COLOR LAYOUT

Wzorzec:

http://tiger.ire.pw.edu.pl/pbz/images/167008.jpg

http://tiger.ire.pw.edu.pl/pbz/images/167032.jpg distance: 18

http://tiger.ire.pw.edu.pl/pbz/images/144018.jpg distance: 23

http://tiger.ire.pw.edu.pl/pbz/images/1144065.jpg distance: 22

Wzorzec:

http://tiger.ire.pw.edu.pl/pbz/images/167009.jpg

http://tiger.ire.pw.edu.pl/pbz/images/167053.jpg distance: 36

http://tiger.ire.pw.edu.pl/pbz/images/18088.jpg distance: 33

http://tiger.ire.pw.edu.pl/pbz/images/144020.jpg distance: 35

COLOR STRUCTURE

Wzorzec:

http://tiger.ire.pw.edu.pl/pbz/images/167008.jpg

http://tiger.ire.pw.edu.pl/pbz/images/167003.jpg distance: 6,65

http://tiger.ire.pw.edu.pl/pbz/images/167029.jpg distance: 5.41

http://tiger.ire.pw.edu.pl/pbz/images/144095.jpg distance: 6,56

http://tiger.ire.pw.edu.pl/pbz/images/144062.jpg distance: 6,59

Wzorzec:

http://tiger.ire.pw.edu.pl/pbz/images/167009.jpg

http://tiger.ire.pw.edu.pl/pbz/images/144095.jpg distance: 9,18

http://tiger.ire.pw.edu.pl/pbz/images/18065.jpg distance: 7,89

http://tiger.ire.pw.edu.pl/pbz/images/167018.jpg distance: 8,67

http://tiger.ire.pw.edu.pl/pbz/images/144062.jpg distance: 9.07

CTBrowsing

Wzorzec:

http://tiger.ire.pw.edu.pl/pbz/images/167008.jpg

http://tiger.ire.pw.edu.pl/pbz/images/144003.jpg distance: 1

http://tiger.ire.pw.edu.pl/pbz/images/18011.jpg distance: 0

http://tiger.ire.pw.edu.pl/pbz/images/18089.jpg distance: 0

Wzorzec:

http://tiger.ire.pw.edu.pl/pbz/images/167009.jpg

http://tiger.ire.pw.edu.pl/pbz/images/144069.jpg distance: 1

http://tiger.ire.pw.edu.pl/pbz/images/144022.jpg distance: 1

http://tiger.ire.pw.edu.pl/pbz/images/144067.jpg distance: 0

ZADANIE 2

Wzorzec:

http://w189.wrzuta.pl/sr/d/53rvZN9INXH/sexy_kobieta_poprawione_na_www.edytorek.pl SCALABLE COLOR

http://tiger.ire.pw.edu.pl/pbz/images/190092.jpg distance: 600

http://tiger.ire.pw.edu.pl/pbz/images/190065.jpg distance: 519

http://tiger.ire.pw.edu.pl/pbz/images/190076.jpg distance: 542

http://tiger.ire.pw.edu.pl/pbz/images/190088.jpg distance: 512

COLOR LAYOUT

http://tiger.ire.pw.edu.pl/pbz/images/144057.jpg distance: 66

http://tiger.ire.pw.edu.pl/pbz/images/151054.jpg distance: 58

http://tiger.ire.pw.edu.pl/pbz/images/144074.jpg distance: 65

http://tiger.ire.pw.edu.pl/pbz/images/151069.jpg distance: 56

COLOR STRUCTURE

http://tiger.ire.pw.edu.pl/pbz/images/190076.jpg distance: 12,76

http://tiger.ire.pw.edu.pl/pbz/images/190092.jpg distance: 12.10

http://tiger.ire.pw.edu.pl/pbz/images/190096.jpg distance: 12.31

http://tiger.ire.pw.edu.pl/pbz/images/190089.jpg distance: 12,69

CTBrowsing

http://tiger.ire.pw.edu.pl/pbz/images/144071.jpg distance: 1

http://tiger.ire.pw.edu.pl/pbz/images/190045.jpg distance: 0

http://tiger.ire.pw.edu.pl/pbz/images/144018.jpg distance: 1

http://tiger.ire.pw.edu.pl/pbz/images/190023.jpg distance: 0

ZADANIE 3

http://tiger.ire.pw.edu.pl/pbz/images/167008.jpg

Image URL: http://tiger.ire.pw.edu.pl/pbz/images/167008.jpg

Descriptor type: 1

Descriptor : <?xml version='1.0' encoding='ISO-8859-1' ?> <Mpeg7 xmlns =

"urn:mpeg:mpeg7:schema:2001" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"

xmlns:mpeg7 = "urn:mpeg:mpeg7:schema:2001" xsi:schemaLocation =

"urn:mpeg:mpeg7:schema:2001 Mpeg7-2001.xsd"><DescriptionUnit xsi:type =

"DescriptorCollectionType"><Descriptor xsi:type =

"DominantColorType"><SpatialCoherency>0</SpatialCoherency>

<Value><Percentage>8</Percentage> <Index>0 1 1 </Index> </Value>

<Value><Percentage>4</Percentage> <Index>2 5 6 </Index> </Value>

<Value><Percentage>2</Percentage> <Index>10 11 12 </Index> </Value>

<Value><Percentage>3</Percentage> <Index>10 13 8 </Index> </Value>

<Value><Percentage>4</Percentage> <Index>2 4 2 </Index> </Value>

<Value><Percentage>1</Percentage> <Index>24 25 23 </Index> </Value>

<Value><Percentage>4</Percentage> <Index>6 8 4 </Index> </Value>

<Value><Percentage>2</Percentage> <Index>15 16 14 </Index> </Value> </Descriptor>

</DescriptionUnit> </Mpeg7>

mage URL: http://tiger.ire.pw.edu.pl/pbz/images/167008.jpg

Descriptor type: 2

Descriptor : <?xml version='1.0' encoding='ISO-8859-1' ?> <Mpeg7 xmlns =

"http://www.mpeg7.org/2001/MPEG-7_Schema" xmlns:xsi =

"http://www.w3.org/2000/10/XMLSchema-instance"><DescriptionUnit xsi:type =

"DescriptorCollectionType"><Descriptor xsi:type = "ScalableColorType" NumberOfCoefficients =

"4" NumberOfBitplanesDiscarded = "0"><Coefficients>79 111 -85 -18 -5 -8 29 32 -26 -63 -31 14

-16 -4 6 21 7 -4 -3 3 15 -4 -15 2 5 -4 -5 -1 -3 5 1 -4 -3 3 2 -2 3 -3 0 0 -2 -4 -15 -13 -15 -9 2 1 -2 -3

-2 0 -2 4 4 0 0 0 0 -2 1 0 -3 -3 -1 1 3 4 1 1 1 1 2 1 5 1 4 3 2 3 -2 1 0 -2 1 0 1 1 2 -2 0 1 -2 3 2 0 -2 -3

-3 -3 -3 -1 2 2 2 2 2 1 3 3 1 0 -4 -3 -4 -1 -3 -2 0 0 1 1 1 0 1 0 -1 1 -1 0 0 0 0 -1 0 -1 1 1 0 0 -1 -1 -1

-1 1 1 -1 -1 -1 -1 0 -2 0 2 2 0 0 -2 0 1 1 1 -1 0 -1 0 0 0 1 1 -3 0 -1 0 0 -1 0 1 -3 -1 -1 0 1 -2 0 2 -1 0 0

0 1 -1 2 1 -1 0 1 -1 0 0 2 1 -1 -1 2 0 1 -1 0 0 1 -1 0 1 1 -2 0 0 0 0 0 1 0 -1 0 1 1 0 1 0 -1 -1 0 0 1 0 0

0 0 -1 0 0 0 0 0 1 0 -1 0 0 0 0 0 1 0 1 </Coefficients> </Descriptor> </DescriptionUnit> </Mpeg7> Image URL: http://tiger.ire.pw.edu.pl/pbz/images/167008.jpg

Descriptor type: 3

Descriptor : <?xml version='1.0' encoding='ISO-8859-1' ?> <Mpeg7 xmlns =

"http://www.mpeg7.org/2001/MPEG-7_Schema" xmlns:xsi =

"http://www.w3.org/2000/10/XMLSchema-instance"><DescriptionUnit xsi:type =

"DescriptorCollectionType"><Descriptor xsi:type =

"ColorLayoutType"><YDCCoeff>7</YDCCoeff> <CbDCCoeff>28</CbDCCoeff>

<CrDCCoeff>26</CrDCCoeff> <YACCoeff5>22 14 14 17 14 </YACCoeff5> <CbACCoeff2>13

17 </CbACCoeff2> <CrACCoeff2>15 15 </CrACCoeff2> </Descriptor> </DescriptionUnit>

</Mpeg7>

mage URL: http://tiger.ire.pw.edu.pl/pbz/images/167008.jpg

Descriptor type: 4

Descriptor : <?xml version='1.0' encoding='ISO-8859-1' ?> <Mpeg7 xmlns =

"urn:mpeg:mpeg7:schema:2001" xmlns:xsi = "http://www.w3.org/2000/10/XMLSchema-instance"

xsi:schemaLocation = "urn:mpeg:mpeg7:schema:2001 .\Mpeg7-2001.xsd"><ContentDescription xsi:type = "ContentEntityType"><MultimediaContent xsi:type =

"ImageType"><Image><VisualDescriptor xsi:type = "ColorStructureType" colorQuant =

"4"><Values>0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 20 15 1 0 7 4 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 3 3 5 14 13 10 20 25 15 7 102 103 73

41 132 120 71 32 88 51 8 1 61 37 4 0 56 30 4 0 93 47 8 1 62 36 22 7 5 1 4 2 0 0 0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 59 54 53 54 53 50 46 44 163 148 137 118 90 64 51 44 102 67 54 47 34 23 18 9 8 0 1

2 2 2 3 3 130 86 63 50 36 30 28 22 18 23 17 17 17 14 15 15 18 15 16 14 13 18 12 14 16 14 13 17

15 16 10 5 </Values> </VisualDescriptor> </Image> </MultimediaContent>

</ContentDescription> </Mpeg7>

Image URL: http://tiger.ire.pw.edu.pl/pbz/images/167008.jpg

Descriptor type: 5

Descriptor : <?xml version='1.0' encoding='ISO-8859-1' ?> <Mpeg7 xmlns =

"http://www.mpeg7.org/2001/MPEG-7_Schema" xmlns:xsi =

"http://www.w3.org/2000/10/XMLSchema-instance"><DescriptionUnit xsi:type =

"DescriptorCollectionType"><Descriptor xsi:type =

"ColorTemperatureBrowsingType"><BrowsingCategory>moderate</BrowsingCategory>

<SubRangeIndex>41</SubRangeIndex> </Descriptor> </DescriptionUnit> </Mpeg7>

http://tiger.ire.pw.edu.pl/pbz/images/167009.jpg

Image URL: http://tiger.ire.pw.edu.pl/pbz/images/167009.jpg

Descriptor type: 1

Descriptor : <?xml version='1.0' encoding='ISO-8859-1' ?> <Mpeg7 xmlns =

"urn:mpeg:mpeg7:schema:2001" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"

xmlns:mpeg7 = "urn:mpeg:mpeg7:schema:2001" xsi:schemaLocation =

"urn:mpeg:mpeg7:schema:2001 Mpeg7-2001.xsd"><DescriptionUnit xsi:type =

"DescriptorCollectionType"><Descriptor xsi:type =

"DominantColorType"><SpatialCoherency>0</SpatialCoherency>

<Value><Percentage>2</Percentage> <Index>1 8 16 </Index> </Value>

<Value><Percentage>5</Percentage> <Index>15 16 17 </Index> </Value>

<Value><Percentage>4</Percentage> <Index>0 0 1 </Index> </Value>

<Value><Percentage>3</Percentage> <Index>5 10 4 </Index> </Value>

<Value><Percentage>7</Percentage> <Index>24 24 24 </Index> </Value>

<Value><Percentage>2</Percentage> <Index>4 8 10 </Index> </Value>

<Value><Percentage>2</Percentage> <Index>5 14 22 </Index> </Value>

<Value><Percentage>2</Percentage> <Index>1 4 1 </Index> </Value> </Descriptor>

</DescriptionUnit> </Mpeg7>

Image URL: http://tiger.ire.pw.edu.pl/pbz/images/167009.jpg

Descriptor type: 2

Descriptor : <?xml version='1.0' encoding='ISO-8859-1' ?> <Mpeg7 xmlns =

"http://www.mpeg7.org/2001/MPEG-7_Schema" xmlns:xsi =

"http://www.w3.org/2000/10/XMLSchema-instance"><DescriptionUnit xsi:type =

"DescriptorCollectionType"><Descriptor xsi:type = "ScalableColorType" NumberOfCoefficients =

"4" NumberOfBitplanesDiscarded = "0"><Coefficients>74 129 14 -57 2 26 41 33 9 -30 -2 12 -16

-17 11 20 2 -6 -3 4 3 -14 -12 2 9 5 -15 0 -3 5 -23 -4 -3 0 3 3 3 -3 0 -1 -1 -3 -4 -1 5 -6 1 0 4 2 -2 1 -8

5 4 1 0 0 0 -2 -11 0 -3 -3 -1 0 3 1 1 1 1 2 1 2 6 3 4 4 3 2 0 -1 3 0 1 1 1 1 2 0 -1 -1 5 3 2 0 -2 -3 -3 -6

-3 -1 2 2 2 2 2 1 9 3 1 0 -6 -3 -5 -7 -3 -3 0 -1 1 1 1 0 -3 0 -1 1 -1 0 0 0 0 -1 0 -1 1 0 1 -1 1 -1 -1 0 1 0

1 -2 1 -1 0 -1 1 1 3 -1 1 -3 1 1 0 1 0 0 -1 0 0 0 0 1 0 -2 0 -1 0 -1 0 1 0 -2 -1 -2 1 -2 0 0 1 1 1 -2 1 -1 0

0 0 2 0 -1 0 0 0 0 -1 -2 1 0 1 -1 0 0 1 -1 3 1 1 -2 0 0 0 0 3 1 0 -1 0 0 0 2 -1 -1 -1 -2 0 0 1 0 0 0 0 -1 0

0 0 0 3 1 0 -1 0 0 0 0 1 1 0 1 </Coefficients> </Descriptor> </DescriptionUnit> </Mpeg7> Image URL: http://tiger.ire.pw.edu.pl/pbz/images/167009.jpg

Descriptor type: 3

Descriptor : <?xml version='1.0' encoding='ISO-8859-1' ?> <Mpeg7 xmlns =

"http://www.mpeg7.org/2001/MPEG-7_Schema" xmlns:xsi =

"http://www.w3.org/2000/10/XMLSchema-instance"><DescriptionUnit xsi:type =

"DescriptorCollectionType"><Descriptor xsi:type =

"ColorLayoutType"><YDCCoeff>17</YDCCoeff> <CbDCCoeff>38</CbDCCoeff>

<CrDCCoeff>19</CrDCCoeff> <YACCoeff5>8 20 3 11 8 </YACCoeff5> <CbACCoeff2>20 25

</CbACCoeff2> <CrACCoeff2>13 13 </CrACCoeff2> </Descriptor> </DescriptionUnit>

</Mpeg7>

Image URL: http://tiger.ire.pw.edu.pl/pbz/images/167009.jpg

Descriptor type: 4

Descriptor : <?xml version='1.0' encoding='ISO-8859-1' ?> <Mpeg7 xmlns =

"urn:mpeg:mpeg7:schema:2001" xmlns:xsi = "http://www.w3.org/2000/10/XMLSchema-instance"

xsi:schemaLocation = "urn:mpeg:mpeg7:schema:2001 .\Mpeg7-2001.xsd"><ContentDescription xsi:type = "ContentEntityType"><MultimediaContent xsi:type =

"ImageType"><Image><VisualDescriptor xsi:type = "ColorStructureType" colorQuant =

"4"><Values>0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 23 15 0 0 66 50 28 0 0 0

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 2 1 0 2 2 0 0 24 17 5 1 28 9 1 0 2 2 0 0 4

2 2 0 38 20 4 0 59 54 20 2 31 6 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 2 3 4 5 4 16

16 11 6 74 63 32 13 87 69 25 7 41 30 15 4 21 12 9 2 65 75 68 29 75 80 74 43 56 13 1 0 17 1 0 0 1 0

0 0 0 0 0 0 0 0 0 0 0 0 0 0 30 10 8 9 17 40 50 35 78 48 41 46 57 68 61 35 56 34 40 62 86 93 79 50

22 3 0 0 0 0 2 2 65 44 25 15 10 9 7 4 3 3 4 4 4 7 6 10 14 21 28 33 40 51 56 63 66 69 66 63 54 39 12

1 </Values> </VisualDescriptor> </Image> </MultimediaContent> </ContentDescription>

</Mpeg7>

Image URL: http://tiger.ire.pw.edu.pl/pbz/images/167009.jpg

Descriptor type: 5

Descriptor : <?xml version='1.0' encoding='ISO-8859-1' ?> <Mpeg7 xmlns =

"http://www.mpeg7.org/2001/MPEG-7_Schema" xmlns:xsi =

"http://www.w3.org/2000/10/XMLSchema-instance"><DescriptionUnit xsi:type =

"DescriptorCollectionType"><Descriptor xsi:type =

"ColorTemperatureBrowsingType"><BrowsingCategory>cool</BrowsingCategory>

<SubRangeIndex>1</SubRangeIndex> </Descriptor> </DescriptionUnit> </Mpeg7> http://w189.wrzuta.pl/sr/d/53rvZN9INXH/sexy_kobieta_poprawione_na_www.edytorek.pl mage URL:

http://w189.wrzuta.pl/sr/d/53rvZN9INXH/sexy_kobieta_poprawione_na_www.edytorek.pl Descriptor type: 1

Descriptor : <?xml version='1.0' encoding='ISO-8859-1' ?> <Mpeg7 xmlns =

"urn:mpeg:mpeg7:schema:2001" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"

xmlns:mpeg7 = "urn:mpeg:mpeg7:schema:2001" xsi:schemaLocation =

"urn:mpeg:mpeg7:schema:2001 Mpeg7-2001.xsd"><DescriptionUnit xsi:type =

"DescriptorCollectionType"><Descriptor xsi:type =

"DominantColorType"><SpatialCoherency>0</SpatialCoherency>

<Value><Percentage>16</Percentage> <Index>29 30 29 </Index> </Value>

<Value><Percentage>1</Percentage> <Index>16 15 15 </Index> </Value>

<Value><Percentage>1</Percentage> <Index>23 14 13 </Index> </Value>

<Value><Percentage>6</Percentage> <Index>27 24 22 </Index> </Value>

<Value><Percentage>3</Percentage> <Index>26 16 9 </Index> </Value>

<Value><Percentage>0</Percentage> <Index>23 7 6 </Index> </Value>

<Value><Percentage>2</Percentage> <Index>18 16 10 </Index> </Value> </Descriptor>

</DescriptionUnit> </Mpeg7>

Image URL:

http://w189.wrzuta.pl/sr/d/53rvZN9INXH/sexy_kobieta_poprawione_na_www.edytorek.pl Descriptor type: 2

Descriptor : <?xml version='1.0' encoding='ISO-8859-1' ?> <Mpeg7 xmlns =

"http://www.mpeg7.org/2001/MPEG-7_Schema" xmlns:xsi =

"http://www.w3.org/2000/10/XMLSchema-instance"><DescriptionUnit xsi:type =

"DescriptorCollectionType"><Descriptor xsi:type = "ScalableColorType" NumberOfCoefficients =

"4" NumberOfBitplanesDiscarded = "0"><Coefficients>-4 -23 -64 57 6 14 18 24 31 42 31 44 -26

-15 -6 7 -1 1 3 1 2 5 0 0 -15 9 -9 9 -15 5 1 2 3 3 0 1 0 3 4 4 4 7 1 3 1 2 4 5 12 3 9 15 14 4 5 3 1 -3 0

-2 1 0 -3 -5 0 0 0 0 0 0 0 1 1 1 2 1 2 2 2 1 2 1 0 1 0 -3 -2 -1 -1 -3 2 1 3 3 2 0 3 2 -2 -1 -1 -3 0 2 -2 -2

2 1 3 3 1 -2 -7 -3 -7 -7 -3 -4 -3 -3 -6 0 1 0 1 0 -1 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1 0 0 1 -1 0

0 0 0 0 0 1 0 0 0 0 0 0 0 -1 0 0 -1 0 -1 0 0 0 -1 1 -1 0 -1 0 0 1 -2 0 -1 0 0 0 0 1 -1 0 0 0 0 0 1 0 1 2 -1

0 -1 -1 0 1 2 -1 -1 1 -1 0 1 1 1 -1 0 0 0 0 1 0 0 3 1 2 -2 -1 0 0 1 2 -1 1 0 0 0 0 2 3 -1 0 0 0 1 0 1 0 0 0

0 0 1 0 1 </Coefficients> </Descriptor> </DescriptionUnit> </Mpeg7> Image URL:

http://w189.wrzuta.pl/sr/d/53rvZN9INXH/sexy_kobieta_poprawione_na_www.edytorek.pl Descriptor type: 3

Descriptor : <?xml version='1.0' encoding='ISO-8859-1' ?> <Mpeg7 xmlns =

"http://www.mpeg7.org/2001/MPEG-7_Schema" xmlns:xsi =

"http://www.w3.org/2000/10/XMLSchema-instance"><DescriptionUnit xsi:type =

"DescriptorCollectionType"><Descriptor xsi:type =

"ColorLayoutType"><YDCCoeff>54</YDCCoeff> <CbDCCoeff>21</CbDCCoeff>

<CrDCCoeff>40</CrDCCoeff> <YACCoeff5>9 13 17 12 20 </YACCoeff5> <CbACCoeff2>12 15

</CbACCoeff2> <CrACCoeff2>20 14 </CrACCoeff2> </Descriptor> </DescriptionUnit>

</Mpeg7>

Image URL:

http://w189.wrzuta.pl/sr/d/53rvZN9INXH/sexy_kobieta_poprawione_na_www.edytorek.pl Descriptor type: 4

Descriptor : <?xml version='1.0' encoding='ISO-8859-1' ?> <Mpeg7 xmlns =

"urn:mpeg:mpeg7:schema:2001" xmlns:xsi = "http://www.w3.org/2000/10/XMLSchema-instance"

xsi:schemaLocation = "urn:mpeg:mpeg7:schema:2001 .\Mpeg7-2001.xsd"><ContentDescription xsi:type = "ContentEntityType"><MultimediaContent xsi:type =

"ImageType"><Image><VisualDescriptor xsi:type = "ColorStructureType" colorQuant =

"4"><Values>10 68 74 31 0 55 73 47 4 6 9 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 29 21 2 11 74 91 63 14 67 84 57 33 55 49 26 7 26 13 5 0 2 0 0

0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 5 0 0 2 7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 45 53 46 7 46 92 98 6

62 95 140 26 57 61 92 7 35 44 70 0 8 11 42 0 5 8 23 0 6 10 69 0 6 10 49 0 4 13 67 0 5 7 61 0 9 4 5

0 8 3 3 0 4 3 3 0 0 3 6 0 6 12 21 0 26 52 54 1 2 2 16 27 33 57 134 0 0 1 2 9 11 31 122 0 0 8 20 18 6

51 83 0 0 15 22 16 14 34 35 0 0 0 0 0 0 0 0 0 0 0 0 3 3 4 8 3 4 2 3 0 2 2 6 4 4 8 24 32 32 34 42

</Values> </VisualDescriptor> </Image> </MultimediaContent> </ContentDescription>

</Mpeg7>

Image URL:

http://w189.wrzuta.pl/sr/d/53rvZN9INXH/sexy_kobieta_poprawione_na_www.edytorek.pl Descriptor type: 5

Descriptor : <?xml version='1.0' encoding='ISO-8859-1' ?> <Mpeg7 xmlns =

"http://www.mpeg7.org/2001/MPEG-7_Schema" xmlns:xsi =

"http://www.w3.org/2000/10/XMLSchema-instance"><DescriptionUnit xsi:type =

"DescriptorCollectionType"><Descriptor xsi:type =

"ColorTemperatureBrowsingType"><BrowsingCategory>moderate</BrowsingCategory>

<SubRangeIndex>33</SubRangeIndex> </Descriptor> </DescriptionUnit> </Mpeg7> ZADANIE 4

N = 2

COLOR STRUCTURE

ZADANIE 5

Kod:

package tine_turek;

import java.rmi.*;

import pbz.mpeg7.ejb.*;

import javax.xml.rpc.*;

public class KlientTestowy {

public static void main(String[] args) {

MPEG7XM xm = new MPEG7XMLocator();

try {

XmDao xmDao = xm.getMPEG7XM_Port();

String n =

xmDao.calculateDescriptor("http://tiger.ire.pw.edu.pl/pbz/images/167008.jpg", 3);

int numImages = xmDao.getNumImages();

System. out.println("num images=" + numImages); System. out.println("deskryptor=" + n);

}catch(ServiceException se) {

se.printStackTrace();

}catch(RemoteException re) {

re.printStackTrace();

}

}

}

Wynik:

2010-12-07 12:51:06 org.apache.axis.utils.JavaUtils isAttachmentSupported

WARNING: Unable to find required classes (javax.activation.DataHandler and

javax.mail.internet.MimeMultipart). Attachment support is disabled.

num images=500

deskryptor=<?xml version='1.0' encoding='ISO-8859-1' ?>

<Mpeg7 xmlns = "http://www.mpeg7.org/2001/MPEG-7_Schema" xmlns:xsi =

"http://www.w3.org/2000/10/XMLSchema-instance"><DescriptionUnit xsi:type =

"DescriptorCollectionType"><Descriptor xsi:type =

"ColorLayoutType"><YDCCoeff>7</YDCCoeff>

<CbDCCoeff>28</CbDCCoeff>

<CrDCCoeff>26</CrDCCoeff>

<YACCoeff5>22 14 14 17 14 </YACCoeff5>

<CbACCoeff2>13 17 </CbACCoeff2>

<CrACCoeff2>15 15 </CrACCoeff2>

</Descriptor>

</DescriptionUnit>

</Mpeg7>