<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: Dynamic range histogram combing issue</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Dynamic-range-histogram-combing-issue/m-p/572634#M87693</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Victor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am in need for the same information, and I am too getting "Unauthorized" error. Can you please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sunil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Dec 2016 04:59:46 GMT</pubDate>
    <dc:creator>sunilchomal</dc:creator>
    <dc:date>2016-12-30T04:59:46Z</dc:date>
    <item>
      <title>Dynamic range histogram combing issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Dynamic-range-histogram-combing-issue/m-p/572630#M87689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using a 10 bit greyscale camera with 10-bit parallell data connected to an imx6dl for image capturing. Running a late yocto release with the IPU_PIX_FMT_GREY implemented. We're only meaning to use the lower 8-bits of the data for each pixel.&lt;/P&gt;&lt;P&gt;Seeing combing effects on the dynamic range histogram we're suspecting there's some mapping of data between 16 bit or 10-bit and 8-bit or vice verse taking place somewhere in the IPU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you advice in how to trace this issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's some output:&lt;/P&gt;&lt;P&gt;[ 0.104350] imx-ipuv3 2400000.ipu: &amp;lt;ipu_probe&amp;gt;&lt;BR /&gt;[ 0.104369] imx-ipuv3 2400000.ipu: revision is IPUv3H&lt;BR /&gt;[ 0.104550] IPU CM Regs = 88826000&lt;BR /&gt;[ 0.104560] IPU IC Regs = 8882e000&lt;BR /&gt;[ 0.104567] IPU IDMAC Regs = 88836000&lt;BR /&gt;[ 0.104574] IPU DP Regs = 8883e000&lt;BR /&gt;[ 0.104580] IPU DC Regs = 88846000&lt;BR /&gt;[ 0.104586] IPU DMFC Regs = 8884e000&lt;BR /&gt;[ 0.104593] IPU DI0 Regs = 88854000&lt;BR /&gt;[ 0.104599] IPU DI1 Regs = 88856000&lt;BR /&gt;[ 0.104605] IPU SMFC Regs = 8885e000&lt;BR /&gt;[ 0.104612] IPU CSI0 Regs = 8887c000&lt;BR /&gt;[ 0.104618] IPU CSI1 Regs = 8887e000&lt;BR /&gt;[ 0.104624] IPU CPMem = 88880000&lt;BR /&gt;[ 0.104631] IPU TPMem = 888c0000&lt;BR /&gt;[ 0.104637] IPU DC Template Mem = 88900000&lt;BR /&gt;[ 0.104643] IPU VDI Regs = 888a2000&lt;BR /&gt;[ 0.119748] imx-ipuv3 2400000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)&lt;BR /&gt;[ 0.119763] ipu_clk = 270000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[ 63.025534] imx-ipuv3 2400000.ipu: CSI_SENS_CONF = 0x00008B00&lt;BR /&gt;[ 63.031288] imx-ipuv3 2400000.ipu: CSI_ACT_FRM_SIZE = 0x01DF02EF&lt;/P&gt;&lt;P&gt;[ 35.080404] init channel = 15&lt;BR /&gt;[ 35.080415] Setting destination of csi&lt;BR /&gt;[ 35.080435] imx-ipuv3 2400000.ipu: initializing idma ch 0 @ 88880000&lt;BR /&gt;[ 35.080460] imx-ipuv3 2400000.ipu: ch 0 word 0 - 00000000 00000000 00000000 E0002800 00077C5D&lt;BR /&gt;[ 35.080476] imx-ipuv3 2400000.ipu: ch 0 word 1 - 03850000 0070A000 00CFC000 0000BBC0 00000000&lt;BR /&gt;[ 35.080486] imx-ipuv3 2400000.ipu: PFS 0x6, &lt;BR /&gt;[ 35.080496] imx-ipuv3 2400000.ipu: BPP 0x5, &lt;BR /&gt;[ 35.080506] imx-ipuv3 2400000.ipu: NPB 0x3f&lt;BR /&gt;[ 35.080516] imx-ipuv3 2400000.ipu: FW 751, &lt;BR /&gt;[ 35.080526] imx-ipuv3 2400000.ipu: FH 479, &lt;BR /&gt;[ 35.080536] imx-ipuv3 2400000.ipu: EBA0 0x1c280000&lt;BR /&gt;[ 35.080546] imx-ipuv3 2400000.ipu: EBA1 0x1c280000&lt;BR /&gt;[ 35.080556] imx-ipuv3 2400000.ipu: Stride 751&lt;BR /&gt;[ 35.080566] imx-ipuv3 2400000.ipu: scan_order 0&lt;BR /&gt;[ 35.080576] imx-ipuv3 2400000.ipu: uv_stride 0&lt;BR /&gt;[ 35.080585] imx-ipuv3 2400000.ipu: u_offset 0x0&lt;BR /&gt;[ 35.080595] imx-ipuv3 2400000.ipu: v_offset 0x0&lt;BR /&gt;[ 35.080604] imx-ipuv3 2400000.ipu: Width0 0+1, &lt;BR /&gt;[ 35.080614] imx-ipuv3 2400000.ipu: Width1 0+1, &lt;BR /&gt;[ 35.080623] imx-ipuv3 2400000.ipu: Width2 0+1, &lt;BR /&gt;[ 35.080632] imx-ipuv3 2400000.ipu: Width3 0+1, &lt;BR /&gt;[ 35.080642] imx-ipuv3 2400000.ipu: Offset0 0, &lt;BR /&gt;[ 35.080651] imx-ipuv3 2400000.ipu: Offset1 0, &lt;BR /&gt;[ 35.080661] imx-ipuv3 2400000.ipu: Offset2 0, &lt;BR /&gt;[ 35.080671] imx-ipuv3 2400000.ipu: Offset3 0&lt;BR /&gt;[ 35.080683] csi: eba 1c080000&lt;BR /&gt;[ 35.080692] csi: eba 1c100000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 11:20:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Dynamic-range-histogram-combing-issue/m-p/572630#M87689</guid>
      <dc:creator>mcarlen</dc:creator>
      <dc:date>2016-08-30T11:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic range histogram combing issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Dynamic-range-histogram-combing-issue/m-p/572631#M87690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mattias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;With 10-bit greyscale cameras, like with bayer cameras, you have to use IPU_PIX_FMT_GENERIC_16, it means the IPU does not know anything about the format.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;The histogram combing effect comes from this 10 to 16-bit conversion happening when using GENERIC_16, because 16 bits of data are being used when you input only 10. The remaining 6 are therefore set to 0.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;If you use GENERIC (8-bits) then it will work but again chopping off 2 bits and therefore leading to clipping effects.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;To avoid this issue, you need to fill the remaining 6 bits with some random data, so that you emulate the missing color tone of your original picture. Maybe there are some better algorithm on how to fill the data, but I do not know them.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;best regards,&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Rodrigue&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 10:10:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Dynamic-range-histogram-combing-issue/m-p/572631#M87690</guid>
      <dc:creator>Rodrigue</dc:creator>
      <dc:date>2016-08-31T10:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic range histogram combing issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Dynamic-range-histogram-combing-issue/m-p/572632#M87691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can refer this discussion regarding to configuring IPU for 10-bit camera input:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/336930"&gt;https://community.nxp.com/thread/336930&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Victor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 05:08:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Dynamic-range-histogram-combing-issue/m-p/572632#M87691</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2016-09-01T05:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic range histogram combing issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Dynamic-range-histogram-combing-issue/m-p/572633#M87692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the link Victor but I get an un-authorized message when trying to access it. Can you authorize me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 07:04:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Dynamic-range-histogram-combing-issue/m-p/572633#M87692</guid>
      <dc:creator>mcarlen</dc:creator>
      <dc:date>2016-09-01T07:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic range histogram combing issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Dynamic-range-histogram-combing-issue/m-p/572634#M87693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Victor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am in need for the same information, and I am too getting "Unauthorized" error. Can you please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sunil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2016 04:59:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Dynamic-range-histogram-combing-issue/m-p/572634#M87693</guid>
      <dc:creator>sunilchomal</dc:creator>
      <dc:date>2016-12-30T04:59:46Z</dc:date>
    </item>
  </channel>
</rss>

