📄 libcolor_quant-a7170cf0bea17c8e.rmeta
/home/palash/git/iron_learn/target/debug/deps/libcolor_quant-a7170cf0bea17c8e.rmeta
Language: rmeta • Lines: 556
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����#��0���5/8/�
��
��	�,�#4��
��
��#30��

��� ��$10���|��& �6	��F�_'�k���-�����1������_�4�
�@Ԛ
��#1024.0�\�	��?�,�
�����#6
�_�d�$��,�
���$��$D�A
�_���
���������������0��T�2_��
�+�6=4��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();�<��	

/����������D�$��
",��
���e��WZGJ��D����T��Ԡ|����T����,��|�$����L����4����\�4�//�1�2�3�4����#��0�T�,�//�1�2�3�4����#��0���D��	�	�	�	�	�	�	�	4>	��X�4>	��X���<��?�?��?buf��:�?�	�:$x��Lk��"�B�B�BGlobal�����I����D��?�?��?�$�:�?�	�:$x��Lk��#�%��D��?�?��?�$�:�?�	�:$x��Lk���%t�$��?�?��?�$�:�?�	�:$x��Lk���%t�$��'t�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`.�$�(;<;�$<�-�(
$�(�,4�(��0)��/MJ Maps the rgba-pixel in-place to the best-matching color in the color map.�L�0=>=�$>�-�/�0
$�0pixel�,�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�/,�4��63��5;8 Lookup pixel values for color at `idx` in the colormap.�4�6AA�$�����������������;t����-��6
!$�6idx��6F��7!<closure_kind>�#<closure_signature>�#<upvars>�##!#��#�4�/��8'��7:7 Returns the RGBA color map calculated from the sample.�t�8BB�$�?�?��?�$�:�?�	�:$x��Lk��-�%�8
$$�8��;&��::�4l�;CC�$�6�;
%$�;��>@l�>DD�$���"�/�>
&$�>alpha�,�>��>quad�$�>��@L|�@EE�$����"�/�@
'$�A�7,�Arad��A��A�7$�A��K<<�KFF�$������K
($�K��K��K��K��KD�K�K��V",�VGHG�$H�-�/�V
*$�V�,4�VL�]*�3+�4+�4++*+��<�ft�fII�$�/�f
,$�f��it�iJJ�$�/�i
-$�i��u>|�uKK�$�-�-�-�-��u
.$�u��u��v��v��vt�$��00��������#��01234 $��//�$��//�$��//�$��//�(��66�>���0�7�7��KMLL��5�5
7�,� ��99�>E��1�X[<
�8	��(����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��A�B�B�B�A�B�B�B�B�B�O�p-.����=5�UE��
�F5�R1��B�;i_,�%���"8��T���FV�׼(���D)��Yo
lSݵ
������q��=��׎$|mKwdl��l	N:c�G���5IlG5�է����u�/�V��:j�������~�O}m���%V��͖tt
b�M�~x�;XN�p��hoo�k/.�\د��v2̅�Ե�1�ĩ�I�/��E/*lV:�$(���O	���n5A~7T�T��}��dp���N_��K��_fxV�J�M���GϷ��h�M��I<�M߃+���v��N��
���z��:�c%����J�G�ʤ`������UWd�q4,��fkz��>��hw2�}?J�����]ѐ�;W��R��5d��p�~�q3��q��zcl3$��k��i̚t@N��R������y�u���[��l�(�ȇ_�<4j�FPG��mӸ�0caJw�iO��Z]�6�1U��
P'o����Dz0�(�|��YD?Ob��C���w�:�z�w�&W���,���C:c����	��b
�Lq3C_��9���R���=@Y�'��XpG�1$uX�`��
�m�@!�=h�;TY�� ����0DXl�����9�%��L����ZO
��n9�}�]�\�)AYq��! y
���Q 







x��4H\p�����=�)��P�����E�Z���$q�-E]u������ &,@Th|�����5�!��H����UJ���i4�x��Y�W�%=Um��� R a g m t z � � � � � � � � � � � � � � ���#)0DXl�����9�%��L�������0�E�}���\�)AYq��U d j q w ~ � � � � � � � � � � � � � � <Pdx������E�3�Z����)3����K%}�F�B��H��"7Og��
 : ^ 6J^r������?�+��R����'�����q�:�6n�<��/G_w���' X 
>Rfz������G�7�
^����-7����O)��J�F�L��;Sk�� O ����F�[���&s�����F�[���&s������4��I�	��]�`��$�` 1��+	k	�	M
�
D��*	j	�	L
�
C�~�"		^	�	E
�
<���&
	b	�	I
�
@�1;���-��N�JP� v�����% ����������.?KVfsw����������
%4AEI^r���������	 (04;BFMSY_ekqw}����������	

�� ���Q ��~$�u���core_intrinsics�derive_clone_copy����O�p-.�w@�aV�������O�p-.�m�i�t}�J��c�c���O�p-.�~���6�������Z���O�p-.�\{rl�Rv�z2g1o1k1c1s1�1J22�1�12j2:2�1�
ODHT M���;i_,�%�p�~�q31�XpG�1$I��q��z2�����u���K��_!UE��
�FFPG��mӸ:cl3$�3P'o���>����q�
��]ѐ�;W/�9���R��G�
�m�@!�K��R��5d�0V��͖tt
�t@N��5�G���5�k��i�4�O�p-.���l�(�8�&W���,CD)��YoO}m���%=h�;TY�L�=��׎$:�c%��(ʤ`����*XN�p��h�M߃+��%oo�k/.�\��I�/���Dz0�(?T�T��}��y�u���[7���=5�
lSݵ
��	5�R1��B�IlG5���
���z��'���C:c��D�Lq3C_�Fȇ_�<4j�9��n5A~7Ob��C���A$(���O	���J�G�)�T���FV�|mKwdl��Ե�1��fxV�J�M�"��l	N:c
��GϷ��#2�}?J���.6�1U��
=��UWd�q+�|��YD?@�=@Y�'�H����~�uX�`�Jh�M��I<$�0caJw�;iO��Z]�</�V�����"8�4,��fkz�,:j���E/*lV:��dp���N_ �׼(����>��hw-��	��b
Eد��v2�w�:�z�wB�v��N��&b�M�~x�;R�����6�=���R/#\~�j�I+EQA�q����fyZ7nI�4��~���.j�Y-
eXjaOh@�����J���P
�q6bJ1g{�����8�e���x�c`��MQxg��H/�L	��������f;q�A�=���R/#\~�j�^/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+..*

��Y��Ѵ�*5�9\�V_/home/palash/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/color_quant-1.1.0/src/math.rs� �^�1�\��6��1���

%

%��e�0�
�l�+\9�;x86_64-unknown-linux-gnu��'+p����I1I�caO�color_quant�-a7170cf0bea17c8e��O�p-.��x�
�5M�?9�9M�8M5pM5M��::t9t8r8�8p9pr:t#F#F8899##FF888�9r00`M`�08`p#9F��rust-end-file