Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Question about DCT

Question about DCT

Scheduled Pinned Locked Moved C#
questioncsharptutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Flying_Doc
    wrote on last edited by
    #1

    i have a question about DCT..actually it's sound like silly question but it's important for me.. The question is: 1. Why on DCT the function use a cosine function, if we see on the image and the function there is no connection with angle. 2. Why the function using cosine, why not using sine or tangen? what is the influence for the compression ratio?. 3. Is it true that we using the pixel depth for making 8x8 matix as the input for DCT, if it's true how to get a pixel depth on image in C# so we could make the 8x8 matrix. thanks.. God bless you

    L 1 Reply Last reply
    0
    • F Flying_Doc

      i have a question about DCT..actually it's sound like silly question but it's important for me.. The question is: 1. Why on DCT the function use a cosine function, if we see on the image and the function there is no connection with angle. 2. Why the function using cosine, why not using sine or tangen? what is the influence for the compression ratio?. 3. Is it true that we using the pixel depth for making 8x8 matix as the input for DCT, if it's true how to get a pixel depth on image in C# so we could make the 8x8 matrix. thanks.. God bless you

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      Hi, with a general question like that, you should do some research first. Here[^] is something worth reading. 1. because it works well 2. sine could be used equally well, tangent would be harder to use due to it frequently becoming infinite 3. No :)

      Luc Pattyn [Forum Guidelines] [My Articles]


      - before you ask a question here, search CodeProject, then Google - the quality and detail of your question reflects on the effectiveness of the help you are likely to get - use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets


      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups