Skip to content

Commit 9e16694

Browse files
committed
📚 +sphinx demo file
1 parent 03f37bd commit 9e16694

17 files changed

Lines changed: 570 additions & 41 deletions

File tree

docs/images/OUT_demo1.jpg

63.2 KB
Loading

docs/images/OUT_demo2.jpg

52.7 KB
Loading

docs/images/OUT_demo3.jpg

71.6 KB
Loading

docs/sphinx/images/OUT_demo1.jpg

63.2 KB
Loading

docs/sphinx/images/OUT_demo2.jpg

52.7 KB
Loading

docs/sphinx/images/OUT_demo3.jpg

71.6 KB
Loading
424 Bytes
Binary file not shown.
Lines changed: 385 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,385 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2025, fcpp-innovation
3+
# This file is distributed under the same license as the fcpp package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
5+
#
6+
#, fuzzy
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: fcpp 1.0\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2025-09-12 16:21+0800\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language: zh_CN\n"
15+
"Language-Team: zh_CN <LL@li.org>\n"
16+
"Plural-Forms: nplurals=1; plural=0;\n"
17+
"MIME-Version: 1.0\n"
18+
"Content-Type: text/plain; charset=utf-8\n"
19+
"Content-Transfer-Encoding: 8bit\n"
20+
"Generated-By: Babel 2.17.0\n"
21+
22+
#: ../../source/export.rst:2 7f59554fd5ec478bacb9e9f437c47d6f
23+
msgid "_`Full demonstration of specific lib`"
24+
msgstr ""
25+
26+
#: ../../source/export.rst:4 140eb74e7b844940bd3b12df20f0cef3
27+
msgid ""
28+
"Brief overview: the library :code:`fcpp` integrates segmentation "
29+
"algorithms for natural images."
30+
msgstr ""
31+
32+
#: ../../source/export.rst:7 ffa624275355470eb015ce8eb87e9994
33+
msgid "_`Theories or introduction`"
34+
msgstr ""
35+
36+
#: ../../source/export.rst:9 b174438d217d416da9a78e059abaf589
37+
msgid ""
38+
"Segmentation in :code:`fcpp` is an iterative image segmentation algorithm"
39+
" that separates foreground from background using user input (e.g., a "
40+
"bounding box). It models color distributions of foreground and background"
41+
" with Gaussian Mixture Models (GMMs), and formulates segmentation as an "
42+
"energy minimization problem on a graph. The algorithm alternates between "
43+
"estimating pixel labels via graph cuts and refining the GMM parameters, "
44+
"converging to an optimal segmentation."
45+
msgstr ""
46+
47+
#: ../../source/export.rst:15 20afe45e43a344eca5087a08277cdf98
48+
msgid ""
49+
"E(\\mathbf{L}) = \\sum_p D_p(l_p) + \\lambda \\sum_{p,q \\in "
50+
"\\mathcal{N}} w_{p,q} \\cdot \\delta(l_p \\neq l_q)"
51+
msgstr ""
52+
53+
#: ../../source/export.rst:20 5571ed43fa7e412798631719263814f3
54+
#, python-brace-format
55+
msgid ""
56+
"The total energy is composed of the data term (pixel assignment cost) and"
57+
" the smoothness term (penalty for the difference in labels of adjacent "
58+
"pixels). The unary term :math:`D_p(l_p) = -\\log P(I_p | \\Theta_{l_p})` "
59+
"describes The negative log-likelihood of the color :math:`I_p` of pixel "
60+
":math:`p` under the foreground or background GMM model "
61+
":math:`\\Theta_{l_p}`, while :math:`w_{p, q}` is the edge weight between "
62+
"pixel :math:`p` and :math:`q`."
63+
msgstr ""
64+
65+
#: ../../source/export.rst:25 8873b3182db54e8b90ff885380c29a04
66+
msgid "This part is optional."
67+
msgstr ""
68+
69+
#: ../../source/export.rst:28 788513487ec847edac7a3fc5c1b721e5
70+
msgid "_`Usage demonstration`"
71+
msgstr ""
72+
73+
#: ../../source/export.rst:30 8e758363ee064e6d8d2c8779395d8c2f
74+
msgid ""
75+
"The segmentation function segments the input image x by automatically "
76+
"defining a bounding box with margins proportional to image size. It "
77+
"initializes foreground and background models, then runs inner grabCut "
78+
"with the rectangle mode for 5 iterations. The output mask is refined to "
79+
"distinguish foreground (True) from background (False), effectively "
80+
"extracting the main object while suppressing borders. Ideal for automated"
81+
" foreground extraction without user input."
82+
msgstr ""
83+
84+
#: ../../source/export.rst:36 101f797d606d441c8ea8cab05a569436
85+
msgid "segmentation demo"
86+
msgstr ""
87+
88+
#: ../../source/export.rst:51 e31fa26488eb4023b1706bea2d5eafa8
89+
msgid "Further explanation for your code block."
90+
msgstr ""
91+
92+
#: ../../source/export.rst:54 ac5eae1d13884ee6a4a9fdc3f7169736
93+
msgid "_`Applying results`"
94+
msgstr ""
95+
96+
#: ../../source/export.rst:56 a08b3145cb0b43b3a5a27394cde8a3ec
97+
#, python-format
98+
msgid ""
99+
"The following illustration takes pictures of doll, person, and chicken "
100+
"wing as input. The algorithm can automatically calculate the their "
101+
"contours and areas (as shown in :numref:`Figure %s <images "
102+
"segmentation>`)."
103+
msgstr ""
104+
105+
#: ../../source/export.rst:64 f55a44814d044cee891dd1674b138e5c
106+
msgid "Image segmentation illustration"
107+
msgstr ""
108+
109+
#: ../../source/export.rst:66 09771615bf6e4a40807bcea5309fef19
110+
#, python-format
111+
msgid ""
112+
"With this segmentation algorithm, you can extract the main object with "
113+
"binding box in pictures. Like the :numref:`Figure %s <food "
114+
"segmentations>` illustrated, the proper binding boxes can extract the "
115+
"main food objects, which step is helpful for downstream analysis."
116+
msgstr ""
117+
118+
#: ../../source/export.rst:75 d29fca40da8a4cee93a63d7f8c68b227
119+
msgid "Get foods from original figure"
120+
msgstr ""
121+
122+
#: ../../source/export.rst:77 0a5f08e739c047e5889de130bbe86f78
123+
#, python-format
124+
msgid ""
125+
"Or further combined with other image processing pipelines to obtain more "
126+
"complicated application such as background blur (fill the real "
127+
"implementation of :code:`// downstream tasks` in :numref:`background "
128+
"blur`), showed in :numref:`Figure %s <background blur>`."
129+
msgstr ""
130+
131+
#: ../../source/export.rst:86 a7e0dff4e3d74a4caf41a8be3e99c894
132+
msgid "Background blur via segmentation algorithm"
133+
msgstr ""
134+
135+
#: ../../source/export.rst:89 5ab0f5b8e30346a89edc81e71a572f3b
136+
msgid "_`Algorithm benchmark from test frame`"
137+
msgstr ""
138+
139+
#: ../../source/export.rst:91 3c8f83f784c244c88a5fd4c617928758
140+
msgid ""
141+
"The following table displays our testing matrix. As-checked platforms "
142+
"both in fields of **unit** and **stress**, are ideal choices if "
143+
"necessary."
144+
msgstr ""
145+
146+
#: ../../source/export.rst:94 21334c8fcfbe408cbfc98669e2d398f4
147+
msgid "test result among platforms"
148+
msgstr ""
149+
150+
#: ../../source/export.rst:99 90e3f226f9214262b9920838b5f268b1
151+
msgid "architecture"
152+
msgstr ""
153+
154+
#: ../../source/export.rst:99 f9f854471d69466394f710697350bb65
155+
msgid "OS"
156+
msgstr ""
157+
158+
#: ../../source/export.rst:99 bdb64974b8314057955d0d27123d2332
159+
msgid "CPU"
160+
msgstr ""
161+
162+
#: ../../source/export.rst:99 b74ffaf956e744168e5fc93fe97e39f9
163+
msgid "unit total"
164+
msgstr ""
165+
166+
#: ../../source/export.rst:99 c0c3a318ee204bfcb63a50658082080e
167+
msgid "stress total"
168+
msgstr ""
169+
170+
#: ../../source/export.rst:99 0d76dce75f5b423f84be364f173cf492
171+
msgid "score"
172+
msgstr ""
173+
174+
#: ../../source/export.rst:101 ../../source/export.rst:102
175+
#: ef05c3f7800842afb46354b136a73f27 fa4a7e1d770343bf8bb9e3d7b57cb43c
176+
msgid "x86_64"
177+
msgstr ""
178+
179+
#: ../../source/export.rst:101 d449e4e91f9146ccb97df4ddf5eb980f
180+
msgid "Windows"
181+
msgstr ""
182+
183+
#: ../../source/export.rst:101 57bea9e314f942a587152036b297712b
184+
msgid "Core-i7 13gen"
185+
msgstr ""
186+
187+
#: ../../source/export.rst:101 bd954428b66c4a8ebe372a42b82417a3
188+
msgid "14822ms"
189+
msgstr ""
190+
191+
#: ../../source/export.rst:101 5617711caa4740a9a647b4a8e85560f4
192+
msgid "173297ms"
193+
msgstr ""
194+
195+
#: ../../source/export.rst:101 ../../source/export.rst:106
196+
#: 1d40721031de43eab73a053d912b4d3e 7f503a090b304d8f9724202d43ab7105
197+
msgid "A"
198+
msgstr ""
199+
200+
#: ../../source/export.rst:102 ../../source/export.rst:103
201+
#: ../../source/export.rst:104 ../../source/export.rst:105
202+
#: ../../source/export.rst:106 ../../source/export.rst:108
203+
#: ../../source/export.rst:109 0731176a585f4083b7845660a2ec1df1
204+
#: 4929da2f3ce54326abea526a6fe1dd69 4dfe78c5635747d3adf080188a931516
205+
#: 6147a68f789c4244986dc31b271bf27d 6af106ed0ed346e88dbb52119b81d24a
206+
#: e5db5deca7884d339882429d0f6b4318 f97e2c30ef414c9fae1e41d1ed2e93b3
207+
msgid "Linux"
208+
msgstr ""
209+
210+
#: ../../source/export.rst:102 15f85ffd56dc4066b914a07076e34b82
211+
msgid "AMD Ryzen 7"
212+
msgstr ""
213+
214+
#: ../../source/export.rst:102 696736dada1d49faa7f980fc43bad799
215+
msgid "13823ms"
216+
msgstr ""
217+
218+
#: ../../source/export.rst:102 da62b3d795554f948f9b585abb374d63
219+
msgid "154512ms"
220+
msgstr ""
221+
222+
#: ../../source/export.rst:102 6be8d1abd5d84fa0a0474b4437e44ff6
223+
msgid "A+"
224+
msgstr ""
225+
226+
#: ../../source/export.rst:103 ../../source/export.rst:104
227+
#: ../../source/export.rst:105 ../../source/export.rst:106
228+
#: 025d3e508b9746218f19ea8b865b6003 25b4b323418e45728824a020bbedcb31
229+
#: 54c93eb5b750493ca9729bc7a64041ee fc2a6924b3c44b07a552ec863282e4c0
230+
msgid "arm"
231+
msgstr ""
232+
233+
#: ../../source/export.rst:103 da8bda5287854123ba58cbecf5432447
234+
msgid "cortex-m3"
235+
msgstr ""
236+
237+
#: ../../source/export.rst:103 0c7372b11adb488a85c1877aa63fa0c6
238+
#: 415ef035a1d8442ba9cb6c9e165f7c54
239+
msgid "failed"
240+
msgstr ""
241+
242+
#: ../../source/export.rst:103 5f1f617f2b8c4d46a3c60cc1798cf163
243+
msgid "D"
244+
msgstr ""
245+
246+
#: ../../source/export.rst:104 eca183ba9c6d4791984ee0925a77d80b
247+
msgid "cortex-a53"
248+
msgstr ""
249+
250+
#: ../../source/export.rst:104 8689f9be57d441c3b0ae4b04c3efd048
251+
msgid "25392ms"
252+
msgstr ""
253+
254+
#: ../../source/export.rst:104 9aad079b852d412b96dde0ce82fb7631
255+
msgid "254129ms"
256+
msgstr ""
257+
258+
#: ../../source/export.rst:104 16ae585a181446c2bffc0d91f614c904
259+
msgid "B"
260+
msgstr ""
261+
262+
#: ../../source/export.rst:105 3c132f7f1ab1415f991663c8a2ceb312
263+
msgid "cortex-a53(4)"
264+
msgstr ""
265+
266+
#: ../../source/export.rst:105 b1fbcfe83aab4cc38db45cc712a454af
267+
msgid "20365ms"
268+
msgstr ""
269+
270+
#: ../../source/export.rst:105 e69a1a4e433e4b1da39b71a3eb17785f
271+
msgid "233820ms"
272+
msgstr ""
273+
274+
#: ../../source/export.rst:105 1940220b2be6445f9f7011c61c332b66
275+
msgid "B+"
276+
msgstr ""
277+
278+
#: ../../source/export.rst:106 02eea885bd204d9c9930e20860cd8bfd
279+
msgid "cortex-a76(4)"
280+
msgstr ""
281+
282+
#: ../../source/export.rst:106 ba112595cc7f4b7c869b6ac33d69094f
283+
msgid "16928ms"
284+
msgstr ""
285+
286+
#: ../../source/export.rst:106 505605e1e00b422faff8d06832863df3
287+
msgid "198923ms"
288+
msgstr ""
289+
290+
#: ../../source/export.rst:107 18b7dd9221c149dcab692395354f379a
291+
#: 26a4c62c6bfc4a28a8838a29e11409f6 542a366360af4d11866a47213997eb81
292+
#: 5fb762ca35664654a1b4264a253de001 98eaca957987433890bbc68d014af709
293+
#: a03a5a21e02a40d7b1c30c29a3505a47
294+
msgid "..."
295+
msgstr ""
296+
297+
#: ../../source/export.rst:108 ../../source/export.rst:109
298+
#: bc3f48a254c54ce0b92b20737d3e7770 d6a6e8ec28c245ceb119d7bb7646ed66
299+
msgid "risc-v"
300+
msgstr ""
301+
302+
#: ../../source/export.rst:108 0ba557d5567e484c880b18ff58c324e6
303+
msgid "SiFive U74"
304+
msgstr ""
305+
306+
#: ../../source/export.rst:108 727231687af84e069318a23671ca48ff
307+
msgid "35329ms"
308+
msgstr ""
309+
310+
#: ../../source/export.rst:108 79363e309be74d5e8628240bb5bfdc12
311+
msgid "735723ms"
312+
msgstr ""
313+
314+
#: ../../source/export.rst:108 1f942dda0343479f8f1f68dc1cf0976f
315+
msgid "C"
316+
msgstr ""
317+
318+
#: ../../source/export.rst:109 de577380a4e643418eec47ce6c586277
319+
msgid "Allwinner D1"
320+
msgstr ""
321+
322+
#: ../../source/export.rst:109 6c022fa8a3a24fa787d2908f2a064701
323+
msgid "38234ms"
324+
msgstr ""
325+
326+
#: ../../source/export.rst:109 a714e014580643d88fa9694e6a4b8f9f
327+
msgid "825231ms"
328+
msgstr ""
329+
330+
#: ../../source/export.rst:109 4a1d62cdc9194464bcc3eff02bcb3022
331+
msgid "C-"
332+
msgstr ""
333+
334+
#: ../../source/export.rst:112 ef86e1ff850b43b396b4fa57a29f361d
335+
#, python-format
336+
msgid ""
337+
"The platforms with B+ or greater scores in :numref:`Table %s <test "
338+
"results>` are suggested to run this algorithms."
339+
msgstr ""
340+
341+
#~ msgid "heatmap for design matrix"
342+
#~ msgstr ""
343+
344+
#~ msgid "The following."
345+
#~ msgstr ""
346+
347+
#~ msgid "No good."
348+
#~ msgstr ""
349+
350+
#~ msgid ""
351+
#~ "Or further combined with other image "
352+
#~ "processing pipelines to obtain more "
353+
#~ "complicated application such as background "
354+
#~ "blur, showed in :numref:`Figure %s "
355+
#~ "<background blur>`."
356+
#~ msgstr ""
357+
358+
#~ msgid ""
359+
#~ "Or further combined with other image "
360+
#~ "processing pipelines to obtain more "
361+
#~ "complicated application such as background "
362+
#~ "blur (fill the real implementation of"
363+
#~ " :code`// downstream tasks` in "
364+
#~ ":numref:`background blur`), showed in "
365+
#~ ":numref:`Figure %s <background blur>`."
366+
#~ msgstr ""
367+
368+
#~ msgid "_`Applying effect`"
369+
#~ msgstr ""
370+
371+
#~ msgid "heee."
372+
#~ msgstr ""
373+
374+
#~ msgid "cortex-a53(*4)"
375+
#~ msgstr ""
376+
377+
#~ msgid "cortex-a76(*4)"
378+
#~ msgstr ""
379+
380+
#~ msgid ""
381+
#~ "The platforms with B+ or greater "
382+
#~ "scores are suggested to run this "
383+
#~ "algorithms."
384+
#~ msgstr ""
385+
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)