<?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>topic Re: How can I set the SHARPNESS and other settings of SR300 during runtime ? in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/How-can-I-set-the-SHARPNESS-and-other-settings-of-SR300-during/m-p/293395#M632</link>
    <description>&lt;P&gt;Cengiz_SENSIVAS Can you post how you did this please? Sounds like it'd be useful for others (myself included!)&lt;/P&gt;</description>
    <pubDate>Mon, 10 Apr 2017 08:30:35 GMT</pubDate>
    <dc:creator>jb455</dc:creator>
    <dc:date>2017-04-10T08:30:35Z</dc:date>
    <item>
      <title>How can I set the SHARPNESS and other settings of SR300 during runtime ?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-can-I-set-the-SHARPNESS-and-other-settings-of-SR300-during/m-p/293391#M628</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to knw how I can reach the Camera Settings of SR300 ? When I use DirectShow.lib to achieve and modify the settings of SR300, it does imply on the camera but after I close and reconnect via SDK SR300 always starts with default values...so..my question is HOW CAN I set the values of SR300 ( such ass brightness..focus..sharpness..etc.. ) during runtime..???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your kind helps and comments in advance...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;C.</description>
      <pubDate>Sun, 09 Apr 2017 14:03:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-can-I-set-the-SHARPNESS-and-other-settings-of-SR300-during/m-p/293391#M628</guid>
      <dc:creator>CSENS</dc:creator>
      <dc:date>2017-04-09T14:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: How can I set the SHARPNESS and other settings of SR300 during runtime ?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-can-I-set-the-SHARPNESS-and-other-settings-of-SR300-during/m-p/293392#M629</link>
      <description>&lt;P&gt;I'm guessing that you're using the open-source Librealsense SDK rather than the official Intel RealSense SDK?  If so, there is a plugin called  rqt_reconfigure that can be used to dynamically change parameters on the fly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the website for info about it, though unfortunately it seems to be down right now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.ros.org/rqt_reconfigure"&gt;http://wiki.ros.org/rqt_reconfigure&lt;/A&gt; &lt;A href="http://wiki.ros.org/rqt_reconfigure"&gt;http://wiki.ros.org/rqt_reconfigure&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Apr 2017 15:17:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-can-I-set-the-SHARPNESS-and-other-settings-of-SR300-during/m-p/293392#M629</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-04-09T15:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: How can I set the SHARPNESS and other settings of SR300 during runtime ?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-can-I-set-the-SHARPNESS-and-other-settings-of-SR300-during/m-p/293393#M630</link>
      <description>&lt;P&gt;Dear Marty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your prompt answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Infact, I am using the official Intel realSense SDK...By way, inthe meantime I managed to succeed to set the camera CameraControlProperties and also the VideoProcAmpProperties using DirectShowLib....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However  I will also check the website you suggested as well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish you a nice day/night ahead,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;C.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Apr 2017 15:44:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-can-I-set-the-SHARPNESS-and-other-settings-of-SR300-during/m-p/293393#M630</guid>
      <dc:creator>CSENS</dc:creator>
      <dc:date>2017-04-09T15:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can I set the SHARPNESS and other settings of SR300 during runtime ?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-can-I-set-the-SHARPNESS-and-other-settings-of-SR300-during/m-p/293394#M631</link>
      <description>&lt;P&gt;I'm glad you found a solution with DirectShow.  Have a great week ahead too!  &lt;/P&gt;</description>
      <pubDate>Sun, 09 Apr 2017 16:02:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-can-I-set-the-SHARPNESS-and-other-settings-of-SR300-during/m-p/293394#M631</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-04-09T16:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: How can I set the SHARPNESS and other settings of SR300 during runtime ?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-can-I-set-the-SHARPNESS-and-other-settings-of-SR300-during/m-p/293395#M632</link>
      <description>&lt;P&gt;Cengiz_SENSIVAS Can you post how you did this please? Sounds like it'd be useful for others (myself included!)&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 08:30:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-can-I-set-the-SHARPNESS-and-other-settings-of-SR300-during/m-p/293395#M632</guid>
      <dc:creator>jb455</dc:creator>
      <dc:date>2017-04-10T08:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: How can I set the SHARPNESS and other settings of SR300 during runtime ?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-can-I-set-the-SHARPNESS-and-other-settings-of-SR300-during/m-p/293396#M633</link>
      <description>&lt;P&gt;Hi JB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, first of all I have to mention that it was not easy at all... As I have a bit of a coding background on DirectShow from my previous works, I used DirectShowLib-2005.dll to create this workaround...Second, I am a &lt;A href="http://VB.NET"&gt;VB.NET&lt;/A&gt; guy and therefore had to convert all the SDK C#  sample into VB.NET... ...was not easy either...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you must do is to create a WEBCAM class  implementing DirectShowLib-2005.dll and then use the &lt;B&gt;IAMVideoProcAmp&lt;/B&gt; ( in my code snippet below the &lt;B&gt;m_icp &lt;/B&gt;is the reference created when the WEBCLASS is created ) interface to retrieve the Brightness,Gain etc..properties of the camera using VideoProcAmpProperty... my code snippet for this is as follows :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Public Function GET_CAMERA_VideoProcAmpProperty_Values(prop As VideoProcAmpProperty) As Integer()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;        On Error GoTo errh&lt;P&gt;        Dim p_Min, p_Max, p_STD, p_DEF, propVALUES(1) As Integer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;        Dim p_CAPS As DirectShowLib.VideoProcAmpFlags&lt;P&gt;&amp;nbsp;&lt;/P&gt;        Dim retval As Integer&lt;P&gt;        If m_icp IsNot Nothing Then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;            Dim reto As Integer = &lt;B&gt;m_icp.GetRange&lt;/B&gt;(prop, propVALUES(0), propVALUES(1), p_STD, p_DEF, p_CAPS)&lt;P&gt;            Return propVALUES&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;        Else&lt;P&gt;&amp;nbsp;&lt;/P&gt;            propVALUES(0) = -1&lt;P&gt;&amp;nbsp;&lt;/P&gt;            propVALUES(1) = -1&lt;P&gt;&amp;nbsp;&lt;/P&gt;            Return propVALUES&lt;P&gt;&amp;nbsp;&lt;/P&gt;        End If&lt;P&gt;&amp;nbsp;&lt;/P&gt;        Exit Function&lt;P&gt;&amp;nbsp;&lt;/P&gt;errh:&lt;P&gt;&amp;nbsp;&lt;/P&gt;        Err.Clear()&lt;P&gt;&amp;nbsp;&lt;/P&gt;        propVALUES(0) = -2&lt;P&gt;&amp;nbsp;&lt;/P&gt;        propVALUES(1) = -2&lt;P&gt;&amp;nbsp;&lt;/P&gt;        Return propVALUES&lt;P&gt;&amp;nbsp;&lt;/P&gt;    End Function&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Public Function SET_CAMERA_VideoProcAmpProperty(prop As VideoProcAmpProperty, value As Integer) As Integer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;        On Error GoTo errh&lt;P&gt;        Dim p_Min, p_Max, p_STD, p_DEF, afterSET As Integer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;        Dim p_CAPS As DirectShowLib.VideoProcAmpFlags&lt;P&gt;&amp;nbsp;&lt;/P&gt;        Dim retval As Integer&lt;P&gt;&amp;nbsp;&lt;/P&gt;        Dim reto As Integer = m_icp.GetRange(prop, p_Min, p_Max, p_STD, p_DEF, p_CAPS)&lt;P&gt;&amp;nbsp;&lt;/P&gt;        If m_icp IsNot Nothing Then&lt;P&gt;&amp;nbsp;&lt;/P&gt;            If p_Max &amp;gt;= value And value &amp;gt;= p_Min Then&lt;P&gt;&amp;nbsp;&lt;/P&gt;                retval = &lt;B&gt;m_icp.Set&lt;/B&gt;(prop, value, VideoProcAmpFlags.None)&lt;P&gt;&amp;nbsp;&lt;/P&gt;            End If&lt;P&gt;&amp;nbsp;&lt;/P&gt;            retval = m_icp.Get(prop, afterSET, DirectShowLib.VideoProcAmpFlags.Manual)&lt;P&gt;&amp;nbsp;&lt;/P&gt;            Return afterSET&lt;P&gt;&amp;nbsp;&lt;/P&gt;        Else&lt;P&gt;&amp;nbsp;&lt;/P&gt;            Return -1&lt;P&gt;&amp;nbsp;&lt;/P&gt;        End If&lt;P&gt;&amp;nbsp;&lt;/P&gt;        Exit Function&lt;P&gt;&amp;nbsp;&lt;/P&gt;errh:&lt;P&gt;&amp;nbsp;&lt;/P&gt;        Err.Clear()&lt;P&gt;&amp;nbsp;&lt;/P&gt;        Return -2&lt;P&gt;&amp;nbsp;&lt;/P&gt;    End Function&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I start the TRACKING loop of SR300 I at the same time start my WEBCAM Class and set the values of the properties of the camera to the desired values....:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            myCAM = New clsWEBCAM(pictureBox1.Handle)&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;I&gt;            here the integer value 2 below is the index of the SR300 RGB camera  in my device list....&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;            myCAM.CONNECT(2, 30, 1920, 1080, "")&lt;/P&gt;&lt;P&gt;            myCAM.set_camera_Properties()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then just place a Button, 2 Horizontal ScrollBars  and put this code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            Dim reto(1) As Integer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;            reto = myCAM.GET_CAMERA_VideoProcAmpProperty_Values(DirectShowLib.VideoProcAmpProperty.Brightness)&lt;P&gt;&amp;nbsp;&lt;/P&gt;            HScrollBar1.Minimum = reto(0)&lt;P&gt;&amp;nbsp;&lt;/P&gt;            HScrollBar1.Maximum = reto(1)&lt;P&gt;            reto = myCAM.GET_CAMERA_VideoProcAmpProperty_Values(DirectShowLib.VideoProcAmpProperty.Sharpness)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;            HScrollBar2.Minimum = reto(0)&lt;P&gt;&amp;nbsp;&lt;/P&gt;            HScrollBar2.Maximum = reto(1)&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course, to the SCROLLL events of the HBars :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           Private Sub HScrollBar1_Scroll(sender As Object, e As ScrollEventArgs) Handles HScrollBar1.Scroll&lt;/P&gt;&lt;P&gt;            myCAM.SET_CAMERA_VideoProcAmpProperty(DirectShowLib.VideoProcAmpProperty.Brightness, HScrollBar1.Value)&lt;/P&gt;&lt;P&gt;        End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Private Sub HScrollBar2_Scroll(sender As Object, e As ScrollEventArgs) Handles HScrollBar2.Scroll&lt;/P&gt;&lt;P&gt;            myCAM.SET_CAMERA_VideoProcAmpProperty(DirectShowLib.VideoProcAmpProperty.Sharpness, HScrollBar2.Value)&lt;/P&gt;&lt;P&gt;        End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And BINGO...!... Now I am sure you may think what the heck is that  myCAM = New clsWEBCAM is... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can mail the source code of the &lt;B&gt;clsWEBCAM&lt;/B&gt; class I created to you if you want...as it is too long to copy &amp;amp; paste here...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be helpful to any1 who needs ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 09:08:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-can-I-set-the-SHARPNESS-and-other-settings-of-SR300-during/m-p/293396#M633</guid>
      <dc:creator>CSENS</dc:creator>
      <dc:date>2017-04-10T09:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: How can I set the SHARPNESS and other settings of SR300 during runtime ?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-can-I-set-the-SHARPNESS-and-other-settings-of-SR300-during/m-p/293397#M634</link>
      <description>&lt;P&gt;That's great, thanks! So, you're calling the colour stream as a generic webcam using DirectShow, while at the same time using the depth stream in the SDK for tracking? Or are you able to use the colour stream in both DirectShow and the SDK simultaneously?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 09:29:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-can-I-set-the-SHARPNESS-and-other-settings-of-SR300-during/m-p/293397#M634</guid>
      <dc:creator>jb455</dc:creator>
      <dc:date>2017-04-10T09:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: How can I set the SHARPNESS and other settings of SR300 during runtime ?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-can-I-set-the-SHARPNESS-and-other-settings-of-SR300-during/m-p/293398#M635</link>
      <description>&lt;P&gt;Colour Stream in both SDK and DirectShow...weird right? But it works &lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 09:37:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-can-I-set-the-SHARPNESS-and-other-settings-of-SR300-during/m-p/293398#M635</guid>
      <dc:creator>CSENS</dc:creator>
      <dc:date>2017-04-10T09:37:21Z</dc:date>
    </item>
  </channel>
</rss>

