📄 libcolor_quant-26f17b3f2e893ab3.rmeta
/home/palash/git/iron_learn/target/debug/deps/libcolor_quant-26f17b3f2e893ab3.rmeta
Language: rmeta • Lines: 605
rust
�R#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�b8s޸�3���5/8/�
��
��	�,�#4��
��
��#30��

��� ��$10���|��& �6	��F�_'�k���-�����1������_�4�
�@Ԛ
��#1024.0�\�	��?�,�
�����#6
�_�d�$��,�
���$��$D�A
�_���
���������������0��T�2_��
�+�6=4�	 ��
��,4 ���&/ ���&/ �	��	&/(�
/���#b7o
�z���\�g�7�?�������������S�&������,�0\�0��0�1
�D�1

+	��0
�S"
%i�1
�D�1+	>�1
�D�1+	>�1
�D�1+	>��1(

�0
�0
��1
��1	
���1 |�1
.$�1�1�1�1	�1��1l�1"�?�?��?buf��:�?�	�:$x��Lk�//�1�2�3�4�b8s޸�3��B�B�BGlobal�����I���2
��� �"��2!+��1 !��1#
�D�1$%$&#%+	&%#	��1## �l�2)� �2�")'�2(
!��2'(��2*
�D�2+,+-*,+	-,*��2#*'�l�20� �2�"0'�2/!��2./��21
�D�2232413+	431
��2#1.�l�37� �3�"7'�36!��356��28
�D�29:9;8:+	;:8��2#85��3��0���0���1�<�0�	�	�	�	�	�	�	�	�c�<�V�,�0
�,�0���)�{������������<����)�
�����)�����H�l�)X�`g��+�)�&��1�W�!�� _�c�)O�W^���+�+$���)�����W�+��+��]�)I�QX���+�+���)�����pixel����������	�>�
�n�$	��� ��"��"(�"t�"�\�4��4�5
�D�5
	
�	�4�E	"�O	#[
�5
�D�5	2�5
�D�5	2�5
�D�5	2��5(	

�5	��5	��5	��5	���5 |�5� $�5�5�5�5�5��5�5 ��4���5k�,�4�(,�4�),�4��4���������)��������.�R�>E�������������+���������+�-��5� ��6
�"+�6=4�	

/���,�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();�<��:	

/��
���5���5��D�$��
",��
���e��WZGJ��D����T��Ԡ|����T����,��|�$����L����4���
�\�4�//�1�2�3�4�b8s޸�3�T�,��!��D��(�c�<�V���<��?�?��?��:�?�	�:$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�+���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�(�����������������;t������6
!$�6idx��6z
��7!<closure_kind>�#<closure_signature>�#<upvars>�##!#��+�P�(��8'��7:7 Returns the RGBA color map calculated from the sample.�t�8BB�(�?�?��?��:�?�	�:$x��Lk���!�8
$$�8��;&��::�Pl�;CC�(�R�;
%$�;��>@l�>DD�(���@�(�>
&$�>alpha�,�>��>quad�$�>��@L|�@EE�(����@�(�@
'$�A�S,�Arad��A��A�S$�A��K<<�KFF�(������K
($�K��K��K��K��KD�K�K��V",�VGHG�(H�)�(�V
*$�V�H4�VL�]*�O+�O+�P++*+��X�ft�fII�(�(�f
,$�f��it�iJJ�(�(�i
-$�i��u>|�uKK�(������u� $�u��u��v��v��vt�$��00�����b8s޸�31234 $��//�$��//�$��//�$��//��66�Z����7�7��LL��5�5
7�,� ��99�ZG��1�Z]2
�
.	�
�(�
��
�0�
��
�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"�_����I1�h��S
��\�A|��
2�e�um��
T4��r݊��U��\�-0j$�1G_�K_)��^�Zx�g��z�)O���l�t����9�xښBL�gp�-W��o��@�eqz�A�p����5�e3���E>�8.�O�a|�eŜ�m�V�\���5e)�xǺ8D�I���,�
K��Z���(�37~a�.=��8��K9�u�~0&V�7x���� �ѭ	<�R�K�����Оl~�#zj�N(n��!��y��(���P"b���t��Kb�₨�m|��j[��;�2�69�i���>i�Cj���o���z�� NX˿^�@q�=&qv6/���iD5�n!5�ϔY��.���@t1���e��ʍv�d��q!�xP{�s�d7��o*s�g�����r�Z
��8,�b�e��V��i���I�_�&Y}y�нc����X���PX�`0K鞃�}m�ә�Zz����ն�/��|'|��B�R�n]�O�
?�"�N�I}(�4o}�q��(�@����a"f���Ơ�Oе^q�CE�� f`�/�L~����f8-.��n��Lu����$B�!1��A5���
I�u��K<
�#��.����+?Sg{����4 H w � � 7!�!�!�!�!"D$9%�%�&�'N()q)�)]*�*=+�+�+<,�,--7-O-f-�-.t
�l �!�,�-1.







s��/CWk����8 N { � � ;!�!�!�!�#�$�%�&('�(:)�)�)r*�*�+,Q,�,-#-;-S-�-�����!';Ocw�����0 D s � � 3!�!�!�!�!�!?$4%�%�&�'�'I()l)�)X*�*�*9+�+�+7,�,�,--3-K-c-�-�-�-2.A.G.M.T.Z.a.g.n.t.z.�.�.�.�.�.�.�.�.�.���$+?Sg{����4 J w � � 7!�!�!�!�#�$�%m&'�(%)q)�)]*�*�*�+�+<,�,�,--7-O-�-�-5.D.J.Q.W.^.d.k.q.w.}.�.�.�.�.�.�.�.�.�.7K_s������@ U � � � E!�!�!�!�!$%�%�&�'�'.()])�)&*�*"+w+�+(,},�,----E-]-�-�-�-.>.�1EYm������: O } � � =!�!�!�!�!$%�%�&�'�'�'�(Q)�)*�*+N+�+,q,�,�,
-%-=-U-m-�-�-.8.9Mau������B W � � � I!�!�!�!�!$!%�%�&�'�'2(	)a)�)**�*&+{+�+,,�,�,-1-I-a-�-�-/.�O �#�$�%�&)'�(;)�)�)t*�*�+,S,�,�-��#�$�%�&)'�(;)�)�)t*�*�+,S,�-��#�$�%q&'�'�())u)�)a*�*=+�+�+@,�-�-�-@.#
�D1��+	k	�	M
�
=�;!
��*	j	�	L
�
C�<�"
~�"		^	�	E
�
<���&
	b	�	I
�
@�	$%%�%�&�'
)e)�).*�**+�+0,�,�-q�H �!�,k-.e �,Y �,����������.?KVfsw����������
%4AEI^r���������	 (04;BFMSY_ekqw}����������g �,�!�!�!�!�!�!�!�!�!�!�!�!�!�!�-�.��'�!�-1.%$.!�g���!����������!����������!���(�R�C�B&&RawVec�)inner�*_marker���3�{���!&&҃)��*���3�{���!&&҃)��*���3�{���!�>�>SetLenOnDrop��>�	�>�>	local_len��>���rZg���B� &&҃)��*���3�{��@�!&&҃)��*���3�{��!�!�E��o�!��o��h��P�X�?��?��?�@�?�!�@��!�@�!�!�@�@�!�@��!�@��!�@�@�!�@�!�!�@��!�?��!�?�!�!�@�!�!�@�@�!�@��!�@��!�@�I�@�!I�!�!I��!U�!�>��!�H�����������,M�[�}��A�!�!�A��!�A�@�!�A��!�@�!�!�f�!�f�@�f��f��f�!�f�@�f�!�f��f�Q�@�!Q��!Q�!�!Q��!�@���!�@�!��!�@���!�@�@��!�@���!�@�!��!�@���!�@�@��!�E����!�A�!�!�
�
~$�u���core_intrinsics�derive_clone_copy�������I1��)zJ_�t�}�J�̎ގ������I1� ������������Z������I1\{rl�Rv����4���Z̎panic_internals��generic_assert_internals�������I1�Z2<�n��
�
�����I1��m�i����0�̎�����������I1�꾍5j^B�HGGGG�F�FGZH�G�H�G�G7G'GqH�G�HJH�G~G�
ODHT M�������I1eqz�A�� f`�/E8.�O�a|� �ѭ	<���j[��;�%�\�A|��o��@���K<
�#�L��i���6����$B�I�9�xښB�I���,X���PX�9�h��S
�~0&V�e3���E>���Оl~`0K鞃�}:p����5�(n��!��y!�
?�"�N�?���a"f��B��(���P""��n��LuHI�_�&Y}y7b�₨�m|$q��(�@�A�Z
��84U��\�-0j��
2�e��(�37~I}(�4o}�@���ն�/�<R�K���t1���e�/)�xǺ8Da�.=��8^�@q*�|'|��B�=!1��A5�J^q�CE�D��iD5�n,�
K��Z���
I�uK�L~�Fz�� NX˿)�)O��
q!�xP{�s1�Ơ�OеC!5�ϔ-�eŜ�m�V7x����4��r݊��)��^�Zx$�1G_�K_�d7��o*s2�\���5e,�b�e��V52�69�i�&�g��z	���f8-.G��>i�Cj'R�n]�O>��K9�u�L�gp�-W
���o���(Y��.���@.�l�t���b���t��K#�=&qv6/�+�ʍv�d��0�g�����r3�um��
T�#zj�N �нc����8m�ә�Zz�;M����q�H>Cy�i`��!p�Z��e��{>s<tx<�>|������52?a�@�P"����b7��T���Q�_{9���J+��a���d</9�2��+W=5����'V+W �S%]Q��9*'[H�M����q�H>Cy�i^/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+..*

��hbOw�Q.����_/home/palash/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/color_quant-1.1.0/src/math.rs� �^�1�\��6��1���

%


ݰ��HCk� �Z��O$Rx86_64-unknown-linux-gnu�ׇ�^�9��7�W�color_quant�-26f17b3f2e893ab3�����I1���
�QM�?898�9M�8M5pM5M��::t9t8r8�8p9pr:8t#p8Fp8p8899##FF888�9r00`M`�08`p#9FrT*
��rust-end-file