Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6100059
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:20:35+00:00 2026-05-23T13:20:35+00:00

The problem I have is that I open an Image from a GUI using

  • 0

The problem I have is that I open an Image from a GUI using Qt (through the class I created ImageFrame, this class has defined the PixelType as follows:

typedef double PixelType;
typedef itk::Image<PixelType,2> ImageType;

and after the extraction of the image, I would lie to make a FFT which input is real data.
The error says: it cannot be converted the third parameter of ‘itk::SmartPointer’ to ‘double*’ with and object of the ImageFrame class (which has defined the pixeltype as double).

1>.\prueba_r01.cpp(126) : error C2664: ‘fftw_plan_dft_r2c_2d’ : no se puede convertir el parámetro 3 de ‘itk::SmartPointer’ a ‘double *’
1> with
1> [
1> TObjectType=itk::Image
1> ]
1> No hay disponible ningún operador de conversión definido por el usuario que pueda realizar esta conversión, o bien no se puede llamar al operador

Now I cannot understand why it cannot calculate the fft if the pixel are in double format.
Does anyone can give me an idea of how to fix this problem? Thank you all so much in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T13:20:36+00:00Added an answer on May 23, 2026 at 1:20 pm

    This is because image.Pointer() is a smart pointer object, a wrapper around the read pointer to your data. You must pass image.Pointer().GetPointer() to fftw.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is a very open question about a problem that we have. Basically, we
I have a problem with a oneway web method that open a moss site
I have the odd problem that I am not able to open the properties
I am wondering how you would approach this problem I have two Taxrates that
Problem: We have a web app that calls some web services asynchronously (from the
I have some strange problem with PIL not resizing the image. from PIL import
I have a view in my Django application that automatically creates an image using
Problem: I have two spreadsheets that each serve different purposes but contain one particular
I have a problem that confuses my users, being that although an item is
I have the problem that an specific step in Ant can only be executed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.