|
@@ -89,7 +89,7 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 16,
|
|
|
+ "execution_count": 5,
|
|
|
"metadata": {},
|
|
|
"outputs": [],
|
|
|
"source": [
|
|
@@ -124,7 +124,7 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 17,
|
|
|
+ "execution_count": 6,
|
|
|
"metadata": {},
|
|
|
"outputs": [],
|
|
|
"source": [
|
|
@@ -146,7 +146,7 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 6,
|
|
|
+ "execution_count": 7,
|
|
|
"metadata": {},
|
|
|
"outputs": [],
|
|
|
"source": [
|
|
@@ -177,26 +177,26 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 7,
|
|
|
+ "execution_count": 8,
|
|
|
"metadata": {},
|
|
|
"outputs": [],
|
|
|
"source": [
|
|
|
- "current_dict = dict_sdb_d\n",
|
|
|
+ "current_dict = dict_appart\n",
|
|
|
"interval = (30, 200)"
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 8,
|
|
|
+ "execution_count": 9,
|
|
|
"metadata": {},
|
|
|
"outputs": [
|
|
|
{
|
|
|
"name": "stdout",
|
|
|
"output_type": "stream",
|
|
|
"text": [
|
|
|
- "../fichiersSVD_light/SdbDroite/SdB2_D_00020.png\n",
|
|
|
- "../fichiersSVD_light/SdbDroite/SdB2_D_00400.png\n",
|
|
|
- "../fichiersSVD_light/SdbDroite/SdB2_D_00950.png\n"
|
|
|
+ "../fichiersSVD_light/Appart1opt02/appartAopt_00020.png\n",
|
|
|
+ "../fichiersSVD_light/Appart1opt02/appartAopt_00200.png\n",
|
|
|
+ "../fichiersSVD_light/Appart1opt02/appartAopt_00900.png\n"
|
|
|
]
|
|
|
}
|
|
|
],
|
|
@@ -207,14 +207,14 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 28,
|
|
|
+ "execution_count": 12,
|
|
|
"metadata": {},
|
|
|
"outputs": [],
|
|
|
"source": [
|
|
|
"first_image = zones_data[0][1]\n",
|
|
|
"entropy_contribution_data = []\n",
|
|
|
"\n",
|
|
|
- "sv = processing.get_LAB_L_SVD_s(zone)\n",
|
|
|
+ "sv = processing.get_LAB_L_SVD_s(first_image)\n",
|
|
|
"sv = utils.normalize_arr(sv)\n",
|
|
|
"entropy = utils.get_entropy(sv)\n",
|
|
|
"\n",
|
|
@@ -226,7 +226,7 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 29,
|
|
|
+ "execution_count": 13,
|
|
|
"metadata": {},
|
|
|
"outputs": [
|
|
|
{
|
|
@@ -242,7 +242,7 @@
|
|
|
" 92, 93, 94, 95, 96, 97, 98, 99, 100])"
|
|
|
]
|
|
|
},
|
|
|
- "execution_count": 29,
|
|
|
+ "execution_count": 13,
|
|
|
"metadata": {},
|
|
|
"output_type": "execute_result"
|
|
|
}
|
|
@@ -253,7 +253,7 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 30,
|
|
|
+ "execution_count": 14,
|
|
|
"metadata": {},
|
|
|
"outputs": [
|
|
|
{
|
|
@@ -269,7 +269,7 @@
|
|
|
" 109, 108, 107, 106, 105, 104, 103, 102, 101])"
|
|
|
]
|
|
|
},
|
|
|
- "execution_count": 30,
|
|
|
+ "execution_count": 14,
|
|
|
"metadata": {},
|
|
|
"output_type": "execute_result"
|
|
|
}
|