📄 libcolor_quant-2be1e1de04f03f41.rmeta
/home/palash/git/iron_learn/target/release/deps/libcolor_quant-2be1e1de04f03f41.rmeta
Language: rmeta • Lines: 722
rust
�]#rustc 1.92.0 (ded5c06cf 2025-12-08)���	ⷄ�ۆ��p��-225863f279df55c4��١�	�T�6a��D�
-5080178c80bf7a93��uӰ]����d��!�-06039bcfba61f665��**�٭T��HО�9�-3e2e950d4bac10b5��	�t�#3Ҵη��Ǣ-d25e598578fbf080�rustc_std_workspace_core������Nm��gmY���-327ea4f353b4eb8c���y.:i���gy"1�r-94fdfaf0af91a65d�miniz_oxide�M�^�yTLm�L�d=B-5312b588e5cfab93�adler2��;~�7�ɴ,P?���-1e0b0d62df36c85c�	hashbrown�L�ϫ	2݆y��q-2ed6a8f06fc51a9d�rustc_std_workspace_alloc�a���p��H����6Z�-05b02707a5b2a256�
std_detect�	c�LN����=1�ʶӐ-5978f0713dd5442d�rustc_demangle�X�Fq��UՃ�>7z
��-43b2ff22c18e1125�cfg_if�֦<����ɐ¬�-6a40188dd7d989d2�	addr2line���,2�!xb�"6�!�	-11d54e777384a9e5�gimli��2��I.�ġ�����-35018e994bad7042�object��T �f��Y�
hQec-2dc10b344e05b569�memchr��xZT9�C��I�Mg�-09f2ab7e0d97e07a��~ݤ	����h���-932f22f820d1e5ec��math�clamp�CHANNELS�
RADIUS_DEC�ALPHA_BIASSHIFT�
INIT_ALPHA�GAMMA�BETA�	BETAGAMMA�PRIMES�Neuron�Color�NeuQuant�network�colormap�netindex�bias�freq�	samplefac�netsize��
init�	map_pixel�index_of�lookup�!!	color_map_rgba�
color_map_rgb�
salter_single�alter_neighbour�contest�(learn�*	build_colormap�build_netindex�search_netindex�Quad�/�/r�/g�/b�/a�5�5�8�88888 8 8!8$8%8&8'8(8*8*8,8-8.878�//�1�2�3�4��T���ž����5/8/�
��
��	�,�#4��
��
��#30��

��� ��$10���|��& �6	��F�_'�k���-�����1������_�4�
�@Ԛ
��#1024.0�\�	��?�,�
�����#6
�_�d�$��,�
���$��$D�A
�_���
���������������0��T�2_��
�+�6=4�	 �	�!
��2: �	�!�,5 �	�!�,5 �		�!�	,5(�
/��	�(8Hz7�
���������a�i�8�@���������y�F������\�0��0D�1�!	#���0
�SN"Y&oD�1�"	��DD�1
��"	
��D	D�1'�#	L�F��1 |�1
.$�1	�1�1�1�1
��1��1�2U�m��Eē	�?�?��?buf��:�?�	�:$x��Lk�//�1�2�3�4��T���ž���B�B�BGlobal�����I��&&RawVec�)inner�*_marker���3�{�� � ++RawVecInner�-�.cap�/��1�fC��s� ��Unique������ ��^���A��������_��M����"u��	� E������#)�

� 
��4]�hu�Nh
	
��1#�"�2�2��2�2�����!�!�"�"�	�#����*
�#��+�,
�,	

��2#�"�2�2��2�2r."o/ l3"��!�!�"�"�0 	"�#�/!���?#
�# !�/ �."�@$�A$
!�A	$!
��2#�"�2�2��3�3JC'GD%DH'��!�!�"�"�E%	'�#�D&���T(
�#%&�D%�C'�U)�V)
&�V	)&
��2#�"�3�3�3}�Nh
�E�D�1	�Q,
A+��D�2	l�	�A#
�@$o�D�2	
��
�V(
�U)��D�2	�W��0���0���1���W�@� �� ��Ð7�@� � 5�������?� � ������?� � E����TID� � -Ǎ���N[� � -�U���[]� � }ޒ��-��	��"� 5͓	����_
��"� 5�.�
��}�_��"E��_��#M�	�� �ԓ	4�� E���#���n� ���.��*���9f�$��e��[���e��4��_Ef�� u�'����Gf�� }�'����p��� ��)$���"����#� ������Ih�f� �嘢��Mih�f� v;�@� �� 17�@� � 30�?� � �+�?� � &#D� �  [� � ]� � ��"� ��"�  ��"� ��� �&�� ���n� ��$��$�%���%�$�� �$�$�� �$�$�� �$�)��#� �)��f� ���+�f� "+��@� �� �-�@� � �-�.�?� � �
.�/�?� � �/�0D� � �0�1[� � �1�2]� � �2�3��"� �3�4��"� �4�5��"�5�3�� �3�2�� �2�/�n� �/�9��9�:���:�9�� }9z9�� v9s9�� n9j>��#� e>a-�f� �^-[@�f� �	@��@� �� ��B�@� � �B�C�?� � MC�D�?� � ~D{ED� � xEuF[� � qFoG]� � kGhH��"� cH`I��"� [IXJ��"TJQH�� MH~G�� KGHD�n� CD?N�:N6O��1O,N�� )N&N�� "NN�� NS��#� S
B�f� �
BU�f� zU*�0�	�	�	�	�	�	�	�	�����z,�0
�",�0�W
�
�"w
w
�"�
�
�"JJ�"����1��� ���<�Y�<Y��
�<�
�#����"�	�#���#��
�"�=�$�,�#!/�:
/�"'3�=�9
A�#HD�a
D�"NH�=N-
VMpixel�S��0��0��1	��1�A
{	
�n�"W
��
���
��
���f�%���?�!�?�+�?#\�4��4D�5�
�#	�
��	�4��
"��
#oD�5�
�#	�
�FD�5
�
�#	
�
�F	D�5�
�#	�
�F��5 |�5�$�5	�5�5�5�5��5�5 ��4���5k
�,�4�;,�4�;,�4�+��"!�"���"cj�"#b�=c��5��5��5	��5��?��j�5��6#IS]��!�!�"�".	�#B��Z
�#`I��?h	"��? h	
	��?&h
���<	
�@h	
�@h
��l
��<%��lL�7�7


� 
�"�7
L�7�7
� �"�7L�7�7
� �"�7L�7�7
� �"�7��7,
�"�7U��l
���"�
��l��lz%��l
���J
��l�7�7!��6�0�@� � �(�?� � I#�?� � D� � [� � ]� � ��"� ��"� ����"���� ��� ���n� �����
���
��� ���� ���� ����#� �����g�o� �D�7��>�h�f� M��g����l�P�<�J#��<�J�;��75���l��70#��N�;�����������������;t����J|�6�;,�6��6����������������;t����<N�#S�B�"]�=,��<��<��J��"����"_�_�"9�9�"��idx��M�?
	
�n� ]�?h�N��6
�"+�6=4�\[b�{�"\[Za�z�"[ZY`�y�"ZY	X
_
�x	
�"Y
X
�"	V	]dk�7#��J�7�N�<�7�"����"v�v�"P�P�"*�*p�Mo	

/��
�,�max���min������r��  # Color quantization library�����xu This library provides a color quantizer based on the [NEUQUANT](http://members.ozemail.com.au/~dekker/NEUQUANT.HTML)�����JG Original literature: Dekker, A. H. (1994). Kohonen neural networks for���YV optimal colour quantization. *Network: Computation in Neural Systems*, 5(3), 351-367.���OL [doi: 10.1088/0954-898X_5_3_003](https://doi.org/10.1088/0954-898X_5_3_003)�����he See also <https://scientificgems.wordpress.com/stuff/neuquant-fast-high-quality-image-quantization/>���d�	 ## Usage���<� ```�ܮ let data = vec![0; 40];���85 let nq = color_quant::NeuQuant::new(10, 256, &data);���VS let indixes: Vec<u8> = data.chunks(4).map(|pix| nq.index_of(pix) as u8).collect();���(% let color_map = nq.color_map_rgba();�<��Z	

/��
���U���U��D�$��
",��
���e��WZGJ��D����T��Ԡ|����T����,��|�$����L����4���
�\�4�//�1�2�3�4��T���ž��T�,�� ��D��;�����z��<��?�?��?��:�?�	�:$x��Lk��`� ��D����D��?�?��?��:�?�	�:$x��Lk��� t�$��?�?��?��:�?�	�:$x��Lk��� t�$��ct�L��t�<��l��; !$%&'(*,-.��#@�� HE Creates a new neuronal network and trains it with the supplied data.�� ��� ,) Pixels are assumed to be in RGBA format.���!DA `colors` should be $>=64$. `samplefac` determines the faction of���!OL the sample that will be used to train the network. Its value must be in the���"MJ range $[1, 30]$. A value of $1$ thus produces the best result but is also���#A> slowest. $10$ is a good compromise between speed and quality.��#:��:�;�;�#
�	L�#colors�4�#pixels�4�#��(%��'JG Initializes the neuronal network and trains it with the supplied data.��'���(+( This method gets called by `Self::new`.�$�(;<;�;<�;�;�(
$�(�h4�(��0)��/MJ Maps the rgba-pixel in-place to the best-matching color in the color map.�L�0=>=�;>�;�;�0
$�0�=K��4-��330 Finds the best-matching index in the color map.��3���3,) `pixel` is assumed to be in RGBA format.�D�4?@?�;@�;��4
 $�4�=��63��5;8 Lookup pixel values for color at `idx` in the colormap.�4�6AA�;��O�6
!$�6�P����7!<closure_kind>�#<closure_signature>�#<upvars>�##!�N��8'��7:7 Returns the RGBA color map calculated from the sample.�t�8BB�;�?�?��?��:�?�	�:$x��Lk��"� �8
$$�8��;&��::�ol�;CC�;�q�;
%$�;��>@l�>DD�;���`�;�>
&$�>alpha�,�>��>quad�$�>��@L|�@EE�;����`�;�@
'$�A�r,�Arad��A��A�r$�A��K<<�KFF�;������K
($�K��K��K��K��KD�K�K��V",�VGHG�;H�;�;�V
*$�V�h4�VL�]*�n+�o+�o++*+��w�ft�fII�;�;�f
,$�f��it�iJJ�;�;�i
-$�i��u>|�uKK�;�"�"�"�"��u�$�u��u��v��v��vt�$��00������T���ž�1234 $��//�$��//�$��//�$��//�//�66�y���/�7�7��//LL��5�5
7�,� ��99�yG��1�Z]�	�
��
�(�
�
�0�
F�
�4�
��
s�
!�
��
d�
��
t�
�V�
��
��
2�
��
)https://doi.org/10.1088/0954-898X_5_3_003�NEUQUANT�3http://members.ozemail.com.au/~dekker/NEUQUANT.HTML�doi: 10.1088/0954-898X_5_3_003�1, 30��|�|�|�}�|�}�|�|�}�}"assertion failed: pixel.len() == 4"�~�@f����DS��� �ws�I∪/���6r��{
�O���Q�L�j�<��M����7B|���a��y�͟Ȱ����o�t���=Z̐O
�/RaiJ�E��ćF�����u�9,K�Õ`�ŋmӨ�������a�&��[Ԙ-��#7p���I�1�
�|%��u�|M�+��[�����:�h���_v]L
P��7��|	W��_��=wF�-U���3/F�3�_w�mdYQ���L�B����ذ&d�;��N�
�(V�i��X�)Z�\"�����Vk����vՏ$�u(�+��OCe��`vj0@���\U~WlH�/@}:R�#׆�{5g��Fus�G��	�m&��U�-�Q:��p@t�f����V6rf��FG��!h�>Ũ^M��L��G��}g<��hů+Y	G���	륃t��`�<{���cgق�u��%j1�Ǘ5�{�"+>���x,]�	�*����l��ꠙ(�`Ei[ca��q��f���qZ�6fs�ӹ��\���'��}\��WJ��gb�J�(�.i�%�ߣJN^��i�L�&l�i4]����M�: a̚�s:m�F?U��.��+����Nܒ�e�bKt�,1>g.�*�.�./%/9/M/a/u/�/�/�/0.0]0�0�01q1�1�1�1�1*45�5�6[7�7�8�8`9�9U:�:;j;�;)<�<�<�<�<�<,=|=Z
.�.R0�1m<=�=







Y.�.�./)/=/Q/e/y/�/�/�/040a0�0�0!1u1�1�1�3�4�5h67!8�89u9�9j:3;;�;/<�<�<�<�<@=�*�.�.�.�.�.�.//
/!/5/I/]/q/�/�/�/�/0*0Y0�0�01m1�1�1�1�1%45�5�6I7W7�7�8�8[9�9H:P:�:;f;�;%<q<~<�<�<�<�<=)=w=�=�=�=�=�=�=�=�=�=�=�=�=>>
>>> >&>,>�.�.�.�./
//%/9/M/a/u/�/�/�/000]0�0�01q1�1�1�3�4u5S6�68�8�8`9�9L:U:;j;�;+<s<�<�<�<�<=,=�=�=�=�=�=�=�=�=�=�=�=�=>
>>>>#>)>.>�./1/E/Y/m/�/�/�/�/�/&0;0k0�0�0+11�1�1�1�35�5�637R7�7�8�8+9�9:�:�:W;�;�;E<{<�<�<�<�<�<&=e=�=�=�./+/?/S/g/{/�/�/�/�/ 050c0�0�0#1w1�1�1�1�3�4�5�6'7L7l7t8�89�9
:�:�:K;�;�;2<u<�<�<�<�<�< =X=�=�=�./3/G/[/o/�/�/�/�/�/(0=0o0�0�0/1�1�1�1�1�35�5�677T7�7�8�8/9�9:�:�:[;�;�;W<�<�<�<�<=i=�=�.50�3�4�5i67"8�89w9�9l:5;�;�;1<A=�.�3�4�5i67"8�89w9�9l:5;�;�;B=�.�3�4y5W6�6[78�8�8d9�9Y:�:";n;�;/=�}<(=�=U
}a"�(D1��+	k	�	M
�
|({_"z(i*S
��*	j	�	L
�
C|`"{(�(j*T
~�"		^	�	E
�
<�(��&
	b	�	I
�
@�(�.45�5�6;7�8�839�9!:�:_;�;�;p=W.�..0�1)<�<�=K0e<?0Y<����������.?KVfsw����������
%4AEI^r���������	 (04;BFMSY_ekqw}����������M0h<�1�1�1�1�1�1�1�1�1�1�1�1�1�1=k*k*k*k*k*k*k*k*k*o*t*t*t*t*t*k*2>�/V7�1=�=%$.I�� I� � I�`� �	���
�
~$�u���core_intrinsics�derive_clone_copy����@f���ѝp#��h�tQ}�J��������@f���ђ	���_�������Z���@f����\{rl�Rv����4���Z��panic_internals��generic_assert_internals����@f�����Z2<�n��
�
��@f���ь�m�i����0������Ӥ���@f�����꾍5j^B�R;Q)Q?Q7Q Q-Q1Q$QCQ�R�Q�R%R�QgQWQ�RR�RzR�Q�Q�
ODHT M����;��N� ��u�|M���M����7�	륃t��5Ǘ5�{�9�1�
�|%e�bKt�,LF�3�_w��B��ꠙ(�`Ei=[ca��q�>�@f�����[Ԙ-��#׆�{5g*�x,]�	�*;�	�m&�,�gb�J�(CL�&l�i4F�y�͟Ȱ�mdYQ���L����Vk�#�.i�%�ߣD�a�&��>Ũ^M1Q�L�j�<��L��G�2B|���a�OCe��`v&|	W��_���ذ&d��%j1�8?U��.��+J�U�-�Q:-/���6r�
P��7����u�9,K�
/@}:R�)`�<{�6"+>��:�u(�+��%X�)Z�\"�"�}g<��h�3U���3/Õ`�ŋm���ćF����=wF�-�+Y	G��4ws�I∪��=Z̐O
#7p���I
�(V�i��!�{
�O����f���qZ�?�: a̚�H����Nܒ�K6fs�ӹ��@���V6rf/}\��WJ�B��cgق�u7���:�h���_v]L]����MG~WlH�(+��[���/RaiJ�EDS��� ��������j0@���\U's:m�FI���o�t�	��FG��!h0��Fus�G�+��p@t�f�.���vՏ$$\���'��AJN^��i�E����l��<D�Rux��������G�4Yh��a3`�M�&@��Q�&a��Y
?��QA�}U�
���xAbiVKU��$l~tbW��3�:��B����&���{�"�PG*#N4��D{�a���Oe���D�Rux��������^/home/palash/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/color_quant-1.1.0/src/lib.rs� �%孽����T��فV���D>F#=<)MNMJF9K4KILGNJ++"D>F#>GMJMTFE*!yKZPi
9W)
96C%@+1



9M1ITRFG"23$//"
O0,2#B7B''"!
R0#E2----814#E)@:C?.<&%%%%
?-<&%%%
?G/''''NS"4%2K7////7////
%9?O3C"(,#=&$%9))""(4**,16
-2RN)Y&4:083B1"4$66$!!?E.C@J'# +96
"#(JJJJ
C#!#*";N-&/"";)32&-3)B7)(
+C**'E02/3."*,1#(#&,'*0+..**,1#(#&,'*0+..*

~
�{���s#�VC_/home/palash/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/color_quant-1.1.0/src/math.rs� �^�1�\��6��1���

%

��q���@��W�p�Z]x86_64-unknown-linux-gnu�[&���p��`���� $kcolor_quant�-2be1e1de04f03f41��@f�������
�pM�?898�9M�8M5pM5M��::t9t8r8�8p9pr:8t#p8Fp8p8899##FF888�9r00`M`�08`p8�#9Fr#g���rust-end-file